Bug 17618 - weird net_applet and mgaapplet icons in LXDE
Summary: weird net_applet and mgaapplet icons in LXDE
Status: RESOLVED DUPLICATE of bug 18107
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: High normal
Target Milestone: ---
Assignee: Mageia tools maintainers
QA Contact:
URL:
Whiteboard:
Keywords: 6sta1
: 18176 19383 (view as bug list)
Depends on:
Blocks:
 
Reported: 2016-01-25 11:42 CET by Nicolas Salguero
Modified: 2017-03-05 15:14 CET (History)
7 users (show)

See Also:
Source RPM:
CVE:
Status comment:


Attachments
net_applet and mgaapplet icons + 1/2 (5.37 KB, image/png)
2016-02-01 05:39 CET, Ben McMonagle
Details
creenshot of the icon under (2.46 KB, image/png)
2016-02-26 18:12 CET, Shlomi Fish
Details

Description Nicolas Salguero 2016-01-25 11:42:15 CET
Hi,

In LXDE, the size of the icons in the system tray if set to 34px by default.  If I configure it to 28px, the icon for net_applet looks normal but with bigger values, the image duplicates itself into the same icon.

Best regards,

Nico.
Comment 1 Marja Van Waes 2016-01-26 08:59:38 CET
Is this some more gtk+3.0 fun?
(Asking because I don't even see the icon in Plasma5)

Assigning to drakx-net and its maintainer

CC: (none) => marja11, thierry.vignaud
Assignee: bugsquad => mageia
Source RPM: (none) => drakx-net

Comment 2 Nicolas Salguero 2016-01-28 09:57:51 CET
Hi,

I also have the same problem with mgaapplet icon.

Best regards,

Nico.
Comment 3 Ben McMonagle 2016-02-01 05:39:58 CET
Created attachment 7397 [details]
net_applet and mgaapplet icons + 1/2

CC: (none) => westel

Comment 4 Ben McMonagle 2016-02-01 05:40:54 CET
LXDE i586 standard desktop - no tweaks
Comment 5 Marja Van Waes 2016-02-01 20:57:25 CET
re-assigning to Thierry, because mgaapplet in LXDE has the same behaviour, and also because blino told me at Fosdem that he no longer maintains drakx-net (he intends to remove himself as drakx-net maintainer)

CC'ing Olav, because this seems gtk+3.0 related to me

Assignee: mageia => thierry.vignaud
Summary: [mga6-dev1] weird net_applet icon in LXDE => [mga6-dev1] weird net_applet and mgaapplet icons in LXDE
Source RPM: drakx-net => (none)

Comment 6 Marja Van Waes 2016-02-01 20:58:25 CET
(In reply to Marja van Waes from comment #5)

> 
> CC'ing Olav, because this seems gtk+3.0 related to me

now really CC'ing him

CC: (none) => olav

Comment 7 Ben McMonagle 2016-02-04 10:40:45 CET
also valid for Mate i586
Comment 8 Shlomi Fish 2016-02-15 14:51:02 CET
I have a similar problem on Xfce. I'll attach a screenshot soon.

CC: (none) => shlomif

Comment 9 Shlomi Fish 2016-02-26 18:12:22 CET
Created attachment 7495 [details]
creenshot of the icon under
Comment 10 Shlomi Fish 2016-02-26 18:14:00 CET
(In reply to Shlomi Fish from comment #9)
> Created attachment 7495 [details]
> creenshot of the icon under

sorry, hit the wrong key by accident. I meant it is a screenshot of the icon under Xfce on mageia v6 cauldron x86-64 Core i3 driver.
Comment 11 Ben McMonagle 2016-03-08 09:00:59 CET
still valid for

Mageia-6-dev1-x86_64-DVD.iso
DATE.txt: Mon Mar  7 23:20:36 CET 2016
Comment 12 Ben McMonagle 2016-03-11 23:47:46 CET
still valid for 

Mageia-6-dev1-i586-DVD.iso
DATE.txt: Thu Mar 10 21:45:52 CET 2016
Comment 13 psyca 2016-04-11 18:49:00 CEST
*** Bug 18176 has been marked as a duplicate of this bug. ***

CC: (none) => linux

Comment 14 Nicolas Salguero 2016-05-25 17:55:44 CEST
Hi,

The problem really seems to be that perl-Gtk3, using gtk 3.20.x, is not able to resize the icons when the chosen icons are smaller than they should be to fit the size of the system tray (at least, in LXDE, XFCE and MATE).

That problem does not occur with perl-Gtk3, using gtk 3.14.x (Mga5) and it does not occur with perl-Gtk2.

But, if the chosen icons are larger than they should be to fit the size of the system tray, they are resized.  So, I found a workaround: use the 128x128 version of the icons.  I tested that solution for net_applet by doing:
"""
mv /usr/share/libDrakX/pixmaps/connected.png /usr/share/libDrakX/pixmaps/connected.png.orig
ln -s /usr/share/libDrakX/pixmaps/connected_big.png /usr/share/libDrakX/pixmaps/connected.png
"""
After that, when logged into LXDE, the net_applet icon looks good.

Best regards,

Nico.
Comment 15 Nicolas Salguero 2016-05-27 13:55:17 CEST
Hi,

Cinnamon is also affected.

Best regards,

Nico.
Comment 16 Rémi Verschelde 2016-05-29 11:14:02 CEST
Hi there,

TL;DR: Thierry, we need your help on this one :)

I've looked a bit into this and bug 18107. I replaced the mgaonline icons with 128px ones, which partly works around the issue for LXDE as Nicolas mentioned. It does not fix the bug in Plasma (more precisely described in bug 18107) however, and the fix is also only partial for LXDE, as my attached video shows.

Basically our systray applets are not able to be resized on the fly, so LXDE will somewhat accept the icon as 32x32, 64x64, and some funky cropping in between, but no smooth resize like for the other icons.

Comment 14 hints that it would be a regression with GTK 3.20.x, which might be worth looking into.

The best solution, however, would be to rework our systray applets to use more modern ways of setting their icon, so that they can use SVG on all desktops, and also be usable on Plasma (bug 17592).
Rémi Verschelde 2016-05-29 11:14:20 CEST

See Also: (none) => https://bugs.mageia.org/show_bug.cgi?id=17592, https://bugs.mageia.org/show_bug.cgi?id=18107

Comment 17 Rémi Verschelde 2016-05-29 11:18:18 CEST
Can't attach the video, so linking it here: https://up1.ca/#cf-MJ9s7DclwJxwIpf4hCg

As mentioned, this video was made with a mgaapplet icon of 128x128px, while the net_applet icon was kept as is (I think it's 20x20px).

@Nicolas: worth noting, the Mageia logo for the menu also seems low-res, I don't know if it's shipped directly in LXDE packages? Could you have a look?
Comment 18 Nicolas Salguero 2016-05-29 14:41:37 CEST
(In reply to Rémi Verschelde from comment #17)
> @Nicolas: worth noting, the Mageia logo for the menu also seems low-res, I
> don't know if it's shipped directly in LXDE packages? Could you have a look?

In LXDE, the Mageia logo for the menu is directly /usr/share/icons/mageia.png, from desktop-common-data package (the configuration is in lxde-common package).

Currently, if I modify the default configuration, the best I can have is the icon from /usr/share/icons/large/mageia.png, which is only 48x48, so not very high-res either.

If the new icon from Timothée (bug 18579) replaced /usr/share/icons/mageia.png (or, at least, was added to desktop-common-data package), I could change the default configuration to use that SVG icon (which resizes well in lxpanel, I have tested, so the menu icon would not be low-res anymore).
Comment 19 Rémi Verschelde 2016-09-16 09:53:49 CEST
*** Bug 19383 has been marked as a duplicate of this bug. ***

CC: (none) => ghibomgx

Rémi Verschelde 2016-09-16 09:54:43 CEST

Keywords: (none) => 6sta1
Assignee: thierry.vignaud => mageiatools
Summary: [mga6-dev1] weird net_applet and mgaapplet icons in LXDE => weird net_applet and mgaapplet icons in LXDE

Rémi Verschelde 2016-09-16 09:54:54 CEST

Priority: Normal => High

Comment 20 Frédéric "LpSolit" Buclin 2017-03-05 15:14:47 CET
This is the same issue as bug 18107. Marking this one as a duplicate as 18107 has a bit more detailed information.

*** This bug has been marked as a duplicate of bug 18107 ***

Status: NEW => RESOLVED
See Also: https://bugs.mageia.org/show_bug.cgi?id=18107 => (none)
Resolution: (none) => DUPLICATE


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