Bug 24522 - Some icons of mageia tools are ugly under gnome.
Summary: Some icons of mageia tools are ugly under gnome.
Status: NEW
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal enhancement
Target Milestone: ---
Assignee: All Packagers
QA Contact:
URL: https://www.mageialinux-online.org/fo...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-03-16 08:59 CET by Jean Michel Varvou
Modified: 2019-03-28 08:36 CET (History)
4 users (show)

See Also:
Source RPM: rpmdrake drakx-net-applet drakx-net
CVE:
Status comment:


Attachments
Screenshot 1 under gnome (542.50 KB, image/png)
2019-03-16 09:00 CET, Jean Michel Varvou
Details
Screenshot under gnome (545.35 KB, image/png)
2019-03-16 09:00 CET, Jean Michel Varvou
Details

Description Jean Michel Varvou 2019-03-16 08:59:25 CET
Description of problem:
Under gnome, there are three mageia applications for which icons are ugly.  Gnome seems to prefer icons in 128x128 or SVG. For rpmdrake, netapplet, draknetcenter, we can see that the configuration files under /usr/share/applications/ describing them are based on one of the hard image files, unlike the usual ones.

For example, for mcc for which the display is correct, we have ;
- Extraction of the file content: /usr/share/applications/mageia-drakconf.desktop
"..
Exec=/usr/bin/drakconf
Icon=drakconf
Terminal=false
.."

The different images related to drakconf:
"/usr/share/icons/drakconf.png
/usr/share/icons/hicolor/128x128/apps/drakconf.png
/usr/share/icons/hicolor/48x48/apps/drakconf.png
/usr/share/icons/hicolor/scalable/apps/drakconf.svg"

For netapplet for which the display is not adappted, on :
-Extraction of the contents of the file: /usr/share/applications/net_applet.desktop

"[Desktop Entry]
Name=NetApplet
Comment=Network monitoring applet
Exec=/usr/bin/bin/net_applet --force
Icon=/usr/share/libDrakX/pixmaps/connected.png
Type=Application
Categories=GTK;System;Monitor;X-MandrivaLinux-CrossDesktop;
X-KDE-autostart-after=panel
StartupNotify=false
"
The image 
/usr/share/libDrakX/pixmaps/connected.png

In the latter case, we see that the different formats for the icon are missing. It is the same type of problem for other applications.


Version-Release number of selected component (if applicable):
rpmdrake drakx-net-applet drakx-net

How reproducible: Always


Steps to Reproduce:
1. Use gnome
Comment 1 Jean Michel Varvou 2019-03-16 09:00:26 CET
Created attachment 10874 [details]
Screenshot 1 under gnome

See some applications for that icons are ugly
Comment 2 Jean Michel Varvou 2019-03-16 09:00:53 CET
Created attachment 10875 [details]
Screenshot  under gnome
Sébastien Morin 2019-03-16 18:13:00 CET

CC: (none) => sebsweb

Comment 3 Marja Van Waes 2019-03-19 14:22:14 CET
Assigning to atelier team for their opinion on those icons.

@ Atelier

Please reassign if needed.

Assignee: bugsquad => atelier-bugs
CC: (none) => marja11

Comment 4 Sébastien Morin 2019-03-27 18:48:56 CET
Forwarding Timothée's answer, from atelier-discuss ML:

All the icons I did have svg sources available in their respective git
repositories https://gitweb.mageia.org/

First problem is they are split in all the different repos so it's not
always easy to find them (and refactor all to centralize all icons was
out of the scope of my work).

Second problem is, if I remember correctly, some icons are hardcoded to
a specific file, which brings this kind of adaptability issues.

As for the icon mentioned in the bug report (connected.png), its svg
version is there:
https://gitweb.mageia.org/software/drakx-net/tree/data/pixmaps/svg/connected.svg

Please forward my answer in the bugreport and in the forum thread :)

If you need help to locate other icons, you can ask me here.

Cheers,

Timothée
Comment 5 papoteur 2019-03-28 08:36:49 CET
Hello,
SVG icons are present in the repository:

rpmdrake/pixmaps/svg/rpmdrake.svg
drakx-net/data/pixmaps/svg/connected.svg
drakx-net/data/pixmaps/svg/disconnected.svgl
control-center/pixmaps/svg/netcenter.svg

However, there are not present after the installation :
locate rpmdrake.svg
/home/.../rpmdrake/pixmaps/svg/rpmdrake.svg (local repository)

Thus, this is a packaging issue.
I don't know where they have to go.

However, some are OK:
locate drakconf.svg
/usr/share/icons/hicolor/scalable/apps/drakconf.svg

CC: (none) => thierry.vignaud, yves.brungard_mageia
Assignee: atelier-bugs => pkg-bugs


Note You need to log in before you can comment on or make changes to this bug.