Bug 17592 - Un-clickable mgaapplet + net_applet systray icons in Plasma
Summary: Un-clickable mgaapplet + net_applet systray icons in Plasma
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: x86_64 Linux
Priority: release_blocker major
Target Milestone: Mageia 6
Assignee: Frédéric "LpSolit" Buclin
QA Contact: Samuel Verschelde
URL:
Whiteboard:
Keywords: 6sta1, 6sta2
: 17777 17875 18174 18354 18731 18787 19006 19083 19084 19630 20015 (view as bug list)
Depends on:
Blocks: 17523
  Show dependency treegraph
 
Reported: 2016-01-24 00:14 CET by Ben McMonagle
Modified: 2017-03-05 14:43 CET (History)
25 users (show)

See Also:
Source RPM: plasma-workspace, drakxtools
CVE:
Status comment: Bug in xembed-sni-proxy vs GTK3. Ugly workaround available (with possible side-effects). Long term solution is to port the applications to follow the StatusNotifierItem specification.


Attachments
IRC logs, chat with GTK+ developers (6.83 KB, text/plain)
2017-01-16 18:57 CET, Samuel Verschelde
Details

Description Ben McMonagle 2016-01-24 00:14:50 CET
Description of problem:attempting to invoke instances either mgaapplet or net_applet from system tray icon has no response. If mgaaplet still has notification caption , clicking the caption will launch the updater window

running net_applet from terminal:
@localhost ~]$ net_applet 
Ignore the following Glib::Object::Introspection & Gtk3 warnings
Subroutine Gtk3::main redefined at /usr/lib/perl5/vendor_perl/5.22.0/Gtk3.pm line 525.
net_applet already running



Version-Release number of selected component (if applicable):
Mageia-6-dev1-x86_64-DVD.iso
DATE.txt: Tue Jan 19 22:17:34 CET 2016

How reproducible:every time


Steps to Reproduce:
1.install Plasma5 only DE from above.iso, do not update before reboot
2.at login choose Plasma5 and login.
3.set up repos and check for updates.logout
4. login again and wait for mgaapplet to popup, wait for caption to close. 
5 attempt to invoke net_applet or mgaapplet from system tray icons


Reproducible: 

Steps to Reproduce:
Comment 1 Rémi Verschelde 2016-01-24 00:18:14 CET
I can confirm this, it's not per se a Plasma5 issue but it shows that we need to port the drakxtools systray applets to libappindicator or something similar that modern desktops understand.

Blocks: (none) => 17523
Source RPM: Mageia-6-dev1-x86_64-DVD.iso DATE.txt: Tue Jan 19 22:17:34 CET 2016 => drakxtools

Ben McMonagle 2016-01-24 01:45:01 CET

Summary: [mga6-dev1] Un-clickable icons in system stray; mgaaplet + net_applet => [mga6-dev1] Un-clickable icons in system tray; mgaapplet + net_applet

Nicolas Lécureuil 2016-01-27 09:01:34 CET

CC: (none) => mageia
See Also: (none) => https://bugs.kde.org/show_bug.cgi?id=358328

Comment 2 Marja Van Waes 2016-02-14 11:36:43 CET
(In reply to Rémi Verschelde from comment #1)
> I can confirm this, it's not per se a Plasma5 issue but it shows that we
> need to port the drakxtools systray applets to libappindicator or something
> similar that modern desktops understand.

If it hadn't been for your comment, I would have assigned to neoclust ;-)

Assignee: bugsquad => thierry.vignaud
CC: (none) => marja11

Comment 3 Marja Van Waes 2016-02-14 11:37:24 CET
Still valid in today's Plasma5, btw.
Comment 4 Nicolas Lécureuil 2016-02-14 13:37:13 CET
as long as https://bugs.kde.org/show_bug.cgi?id=358328 is not fixed yes ;)
Comment 5 Marja Van Waes 2016-02-15 21:15:44 CET
*** Bug 17777 has been marked as a duplicate of this bug. ***

CC: (none) => shlomif

Comment 6 Ben McMonagle 2016-02-29 10:07:00 CET
valid for 

Mageia-6-dev1-LiveDVD-PLASMA5-i586-DVD.iso
DATE.txt: Sun Feb 28 07:30:00 CET 2016
Comment 7 Ben McMonagle 2016-03-12 07:39:06 CET
valid for 

Mageia-6-dev1-i586-DVD.iso
DATE.txt: Thu Mar 10 21:45:52 CET 2016
Comment 8 Nicolas Lécureuil 2016-03-12 23:10:25 CET
as long as this is not fixed upstream this will always be valid ;)
Comment 9 Ben McMonagle 2016-03-13 00:28:38 CET
(In reply to Nicolas Lécureuil from comment #8)
> as long as this is not fixed upstream this will always be valid ;)

thats disappointing ;), 
that said, it is not apparent in all DE.
its "ok" for a dev1 snapshot.

Hopefully upstream will fix it before RC(or its new name).
Comment 10 Ben McMonagle 2016-03-13 01:28:12 CET
best list in "release notes" or "errata" for now?
Comment 11 Marja Van Waes 2016-03-13 20:27:50 CET
(In reply to ben mcmonagle from comment #10)
> best list in "release notes" or "errata" for now?

we don't have Mga6 errata yet, we'll probably start writing them when releasing the first stabilization snapshot.
Vince45 2016-04-05 11:14:09 CEST

CC: (none) => vince.7145

Comment 12 Marja Van Waes 2016-04-11 19:27:24 CEST
*** Bug 18174 has been marked as a duplicate of this bug. ***

CC: (none) => wilcal.int

Marja Van Waes 2016-05-02 08:39:30 CEST

Keywords: (none) => 6dev1

Marja Van Waes 2016-05-02 08:58:08 CEST

CC: (none) => pkg-bugs
Summary: [mga6-dev1] Un-clickable icons in system tray; mgaapplet + net_applet => Un-clickable mgaapplet + net_applet need to be ported to eg libappindicator

Comment 13 Shlomi Fish 2016-05-02 09:01:09 CEST
Well, I see https://metacpan.org/pod/Gtk2::AppIndicator but i don't see an equivalent for perl-Gtk3 anywhere on metacpan.org. Can we port Gtk2::AppIndicator to something called Gtk3::AppIndicator?
Comment 14 Thierry Vignaud 2016-05-02 09:51:13 CEST
libappindicator is not the right way to go for gtk+ apps.
GNotification is.
Marja Van Waes 2016-05-02 10:24:21 CEST

Summary: Un-clickable mgaapplet + net_applet need to be ported to eg libappindicator => Un-clickable mgaapplet + net_applet need to be ported to GNotification

Comment 15 Marja Van Waes 2016-05-02 13:11:00 CEST
Don't know whether that would be useful for us, but I saw a blog post of someone using 
> the GNotification API with Perl application with the help of our best foreign
> library interaction perl module - FFI::Platypus
http://npointsolutions.blogspot.nl/2015/03/notify-to-your-user-in-linux.html
https://metacpan.org/pod/FFI::Platypus

(We don't seem to have perl-FFI-Platypus yet, though)
Comment 16 Marja Van Waes 2016-05-04 19:34:56 CEST
*** Bug 18354 has been marked as a duplicate of this bug. ***

CC: (none) => lebarhon

Marja Van Waes 2016-05-04 19:35:42 CEST

Keywords: 6dev1 => 6sta1

Comment 17 Rémi Verschelde 2016-05-29 11:13:20 CEST
Not sure why we hadn't made this one a release blocker yet; having fully borken Mageia applets in one of our flagship DEs would not be the best for Mageia 6.

Priority: Normal => release_blocker
Severity: normal => major

Rémi Verschelde 2016-05-29 11:14:20 CEST

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

Comment 18 Marja Van Waes 2016-06-18 12:23:53 CEST
*** Bug 18731 has been marked as a duplicate of this bug. ***

CC: (none) => saptech

Comment 19 Marja Van Waes 2016-06-26 20:16:41 CEST
*** Bug 18787 has been marked as a duplicate of this bug. ***

CC: (none) => herman.viaene

Comment 20 Rémi Verschelde 2016-07-21 12:35:44 CEST
*** Bug 19006 has been marked as a duplicate of this bug. ***

CC: (none) => bacauanu_mihail

Comment 21 Manuel Hiebel 2016-07-21 12:39:48 CEST
(btw, I tested quickly, but the networkmanager applet show as default on plasma was working fine here..)
Comment 22 Wim Coulier 2016-07-22 15:31:08 CEST
I have the same issue with Cauldron updated this morning. New updates tiggered Mgaapplet and right- or left-clicking the applet does not lead to any reaction. The Netapplet has the same issue here as well.

CC: (none) => wim

Comment 23 Italo Ramirez 2016-07-24 07:04:42 CEST
I have the same issue with Mageia-6-sta1-x86_64-DVD.iso, there is no interaction with mouse to open the context menu from applets network & update.

CC: (none) => gualadrake

Rémi Verschelde 2016-07-26 12:06:19 CEST

Blocks: (none) => 15527

Comment 24 Nicolas Lécureuil 2016-07-26 17:37:40 CEST
*** Bug 17875 has been marked as a duplicate of this bug. ***

CC: (none) => zen25000

Comment 25 Rémi Verschelde 2016-07-29 10:52:51 CEST
*** Bug 19083 has been marked as a duplicate of this bug. ***

CC: (none) => roger.mis972

Comment 26 Rémi Verschelde 2016-07-29 10:53:02 CEST
*** Bug 19084 has been marked as a duplicate of this bug. ***
Comment 27 Morgan Leijström 2016-08-07 22:48:29 CEST
To above I can only add that those icons are blurry.
(looks like some low resolution icon blown up in size, instead of using larger resolution original)

CC: (none) => fri

Comment 28 Otto Leipälä 2016-08-15 16:06:24 CEST
More ideal is to port it to system native icon support like kstatusnotifier it works in both lxqt and plasma 5 and gtk own native system.

CC: (none) => ozkyster

Comment 29 Samuel Verschelde 2016-09-12 16:34:33 CEST
Is someone from the Mageia Tools group currently working on this blocker issue?

Status comment: (none) => Waiting for developer feedback
CC: (none) => thierry.vignaud
Assignee: thierry.vignaud => mageiatools

Samuel Verschelde 2016-09-12 16:34:46 CEST

QA Contact: (none) => stormi

Comment 30 Thierry Vignaud 2016-09-20 10:37:59 CEST
For now my GNotifications kept being silently hidden w/o any error
Comment 31 Nicolas Lécureuil 2016-09-20 11:20:38 CEST
can you commit in a branch ? so we can test and other can help on this hard task ?
Comment 32 Thierry Vignaud 2016-09-20 11:55:04 CEST
Actually it works if we use the ID of a Gnome app as application ID.

So when calling Gtk3::Application->new,
we've four choice:
1) usurping a real Gnome application ID:
=> This works but this is wrong!

2) providing an application ID
=> We got no notifications despite having no errors!

3) passing undef as application ID
=> we got the following error:
GLib-CRITICAL **: g_variant_new_string: assertion 'string != NULL'
failed at /usr/lib64/perl5/vendor_perl/Glib/Object/Introspection.pm
line 67.

4) passing "" as application ID
=> we got:
(process:16552): Gtk-CRITICAL **: gtk_application_new: assertion
'application_id == NULL || g_application_id_is_valid (application_id)'
failed

However the doc does say a NULL value is OK:
https://developer.gnome.org/gtk3/stable/GtkApplication.html#gtk-application-new

And the annotation looks OK to me:
$ grep -A4 'parameter name="application_id"'
/usr/share/gir-1.0/Gio-2.0.gir |grep -B4 "the identifier for @applicatio"
          <parameter name="application_id"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">the identifier for @application</doc>

======================================================
Using:
$ rpm -qf /usr/share/gir-1.0/{Gtk-3.0.gir,Gio-2.0.gir,GLib-2.0.gir} /lib64/libglib-2.0.so --qf '%{sourcerpm}\n'|sort -u
glib2.0-2.49.7-1.mga6.src.rpm
gobject-introspection-1.49.1-1.mga6.src.rpm
gtk+3.0-3.22.0-1.mga6.src.rpm

BTW, Olav push the new gobject-introspection which is in SVN
Comment 33 Thierry Vignaud 2016-09-20 12:16:59 CEST
We can go for #2 with an application entry in /usr/share/applications, to be shared with all apps.
The thing is it cannot be hidden, else notification won't work.

We could maybe stuff it into /usr/share/applications/localedrake-user.desktop
Samuel Verschelde 2016-09-20 22:40:07 CEST

See Also: https://bugs.kde.org/show_bug.cgi?id=358328 => https://bugs.kde.org/show_bug.cgi?id=362941

Comment 34 Rémi Verschelde 2016-10-17 14:15:37 CEST
(In reply to Thierry Vignaud from comment #33)
> We can go for #2 with an application entry in /usr/share/applications, to be
> shared with all apps.
> The thing is it cannot be hidden, else notification won't work.
> 
> We could maybe stuff it into /usr/share/applications/localedrake-user.desktop

That sounds like a good workaround for the time being. Do you want to proceed with this solution, or try to get some feedback from GTK+3 devs about the "right" way to solve this?

Status comment: Waiting for developer feedback => Progress done on GNotification integration, but it requires an application ID to be defined somewhere

Comment 35 Marja Van Waes 2016-10-21 09:20:18 CEST
*** Bug 19630 has been marked as a duplicate of this bug. ***

CC: (none) => hamnisdude

Comment 36 Neal Gompa 2016-11-08 12:08:05 CET
If this cannot be fixed, we can use plasma-pk-updates for Plasma Desktop and the integrated updates management support of GNOME Software for GNOME for updates management. Both of those work just fine in their respective environments.

As for net-applet, I have no answers that don't involve NetworkManager...

CC: (none) => ngompa13

Comment 37 Thomas Andrews 2016-12-19 21:40:22 CET
Still valid in the pretest sta2 isos. It explains why it was suddenly necessary to use MCC to establish my wifi connection, rather than just clicking on the net applet as I could with the 5.1 isos.

I realize this will be valid until fixed upstream, but I see there have been several duplicate bug reports, too. Adding the "6sta2" keyword, hopng this will make this bug easier to find and help reduce the duplicates.

Keywords: (none) => 6sta2
CC: (none) => andrewsfarm

Comment 38 Samuel Verschelde 2016-12-20 12:51:40 CET
(In reply to Thomas Andrews from comment #37)
> Adding the "6sta2" keyword, hopng this
> will make this bug easier to find and help reduce the duplicates.

Well, of all bug reports, those listed at http://madb.mageia.org/tools/blockers should be known of everyone doing QA tests, and this bug report is listed there.
Comment 39 William Kenney 2016-12-20 15:06:40 CET
Brand new M6 x86_64 Plasma from a blank drive install on real hardware this bug still persists.
Comment 40 William Kenney 2016-12-20 15:08:52 CET
(In reply to William Kenney from comment #39)

> Brand new M6 x86_64 Plasma from a blank drive install on real hardware this
> bug still persists.

Also installed from an up-to-date repo using boot.iso
Comment 41 James Kerr 2016-12-23 18:44:51 CET
*** Bug 20015 has been marked as a duplicate of this bug. ***

CC: (none) => unruh

Comment 42 w unruh 2016-12-23 18:56:03 CET
The net+applet was working for a while on my system after I installed sta1 and updated it on Dec 17. I believe the update I did on Dec 21 did something to trigger this bug. So something is inconsistant.
(I have just put a new icon which runs draknetcenter onto the desktop so I can open the Network Center without going through MCC-- so that is one workaround, especially since MCC demands root priviledge One might just do that as a workaround).
Comment 43 Thierry Vignaud 2017-01-16 11:07:31 CET
This is not a drakxtools issue, this is a Plasma regression that breaks all gtk3 applications (whereas it works for gtk2 applications).
Those apps works with all other desktops...
So that's a Plasma issue...

Source RPM: drakxtools => plasma-workspace, drakxtools

Comment 44 Samuel Verschelde 2017-01-16 11:08:20 CET
I'll try to reach KDE and GTK people to debug this.
Comment 45 w unruh 2017-01-16 11:53:52 CET
In case it helps, I get the following "error" messages in /var/log/messages

Jan 16 09:36:26 planet kernel: [ 2030.178630] traps: mgaapplet[6174] trap int3 ip:7f3ae813c0c1 sp:7fff60cd8be0 error:0
Jan 16 09:36:26 planet kernel: [ 2030.178635]  in libglib-2.0.so.0.5000.2[7f3ae80ed000+111000]
Jan 16 09:36:26 planet kernel: [ 2030.178657] audit: type=1701 audit(1484555786.474:122): auid=1000 uid=1000 gid=1000 ses=3 pid=6174 comm="mgaapplet" exe="/usr/bin/perl5.22.2" sig=5
Jan 16 09:36:26 planet kernel: [ 2030.180360] traps: net_applet[6175] trap int3 ip:7f633f7170c1 sp:7ffd9347e730 error:0
Jan 16 09:36:26 planet kernel: [ 2030.180368]  in libglib-2.0.so.0.5000.2[7f633f6c8000+111000]
Jan 16 09:36:26 planet kernel: [ 2030.180390] audit: type=1701 audit(1484555786.476:123): auid=1000 uid=1000 gid=1000 ses=3 pid=6175 comm="net_applet" exe="/usr/bin/perl5.22.2" sig=5
....

Jan 16 09:36:26 planet ksmserver[4901]: ksmserver: autostart service "/usr/bin/mgaapplet" finished with exit code  5
Jan 16 09:36:26 planet ksmserver[4901]: ksmserver: autostart service "/usr/bin/net_applet" finished with exit code  5

These are the only such messages from any of the applets, and are these are the applets that are having the problem with their clicks not registering. 

No idea what the significance is.
Comment 46 Samuel Verschelde 2017-01-16 15:22:07 CET
Let's summarize the situation. Correct me if one of my statements is wrong.

Plasma supports only the new StatusNotifierItem specification, but our tools and various other GTK+2 or GTK+3 applications still use the old XEmbed.

Fortunately, there is a compatibility layer for applications that still use the legacy system tray protocol (XEmbed). It's xembed-sni-proxy [1] and we do ship it. It does work for GTK+2 applications such as hexchat, but for some reason it does not work for GTK+3 applications nor Java applications, and KDE's author of xembed-sni-proxy visibly didn't try to debug this situation although several distros have been hit (I'm grateful that he did develop the compatibility layer in the first place, though). Some GTK+3 applications do work well though because they have been ported to use canonical's libappindicator.

[1] http://blog.davidedmundson.co.uk/blog/xembed_back

The solutions we have are:

1) Find out why the compatibility layer doesn't work with GTK+3. Either a bug in xembed-sni-proxy, in GTK+3 or in-between (our packaging). This is my preferred solution because it allows to fix not only our applications but also several others. Then properly port our applications to SNI for Mageia 7.

2) Port our applications so that they support SNI.

2a) The usual way seems to be libappindicator but I heard it's not something official from GTK. To be confirmed though since it's the solution that several projects adopted if I understood correctly (redshift-gtk, dropbox...).

2b) Port our applications to GNotification. Thierry did work on this and IIRC it was almost working but not entirely. Thierry, can you elaborate on that?

2c) Any other way to properly support SNI that would have GTK people's favor.

Summary: Un-clickable mgaapplet + net_applet need to be ported to GNotification => Un-clickable mgaapplet + net_applet + various other GTK apps' systray icons in Plasma

Comment 47 Barry Jackson 2017-01-16 17:26:57 CET
You may find something of use in this bug of mine for onboard that was successfully fixed for plasma5 - maybe worth reading the whole thing, however comment #5 para 3 is interesting.
https://bugs.launchpad.net/onboard/+bug/1553269
Comment 48 Samuel Verschelde 2017-01-16 18:57:24 CET
Created attachment 8864 [details]
IRC logs, chat with GTK+ developers

I got an interesting chat with helpful GTK+ developers on their IRC channel. Logs attached.

It *is* a bug in xembed-sni-proxy in that it sends forged events that GTK+3 don't listen to by default. 

A possible fix would be to have xembed-sni-proxy send both old-style events and newer-style events and let the event mask pick the appropriate one. This way it should work both in GTK2 and GTK3.

An ugly workaround is to start the applications that have a systray icon with GDK_CORE_DEVICE_EVENTS=1 and then it works because it forces the GTK3 application to go back 10 or 15 years back into time and listen to raw X events (if I understood correctly).
Samuel Verschelde 2017-01-16 18:58:57 CET

Status comment: Progress done on GNotification integration, but it requires an application ID to be defined somewhere => Bug in xembed-sni-proxy vs GTK3. Ugly workaround available (with possible side-effects). Long term solution is to port the applications to follow the StatusNotifierItem specification.

Samuel Verschelde 2017-01-17 10:29:39 CET

Blocks: 15527 => (none)

Comment 49 Maurice Batey 2017-01-26 14:31:46 CET
19/1/17 classical 64-bit MAgeia-6-sta2 still shows a Netapplet in systray that does not respond to selection. Have to us MCC/Network to start it.
  Also, once WiFi is connected, the netapplet icon disappears from systray!

CC: (none) => maurice

Comment 50 w unruh 2017-01-26 15:11:58 CET
The second problem has been there since at least MGA4-- the icon for the netapplet can become invisible. It is still there-- placeing the mouse cursor on the blank space gives the "net_applet" sign above the blank space. And in MGA5, clicking on the blank space would bring up network-center. Also, this behaviour is not consistant. Sometimes the icon would be invisible, and sometimes visible. 
This is however a distinct bug (I think) from the non-response of the icon to clicks.
Comment 51 w unruh 2017-01-26 15:15:07 CET
This bug has just celbrated its first bithday. Is it really so obscure a bug, especially one considered a blocker? Sincee many other icons on the taskbar do respond to clicks, is it not possible to kludge their response to netapplet?
Comment 52 Samuel Verschelde 2017-01-26 16:00:19 CET
(In reply to w unruh from comment #51)
> This bug has just celbrated its first bithday. Is it really so obscure a
> bug, especially one considered a blocker? Sincee many other icons on the
> taskbar do respond to clicks, is it not possible to kludge their response to
> netapplet?

If you read comment #46 and comment #48 you can see that we've made progress in identifying the underlying causes. Now either KDE folks will fix it and we'll be happy, or we'll try to patch xembed-sni-proxy ourselves, or we'll have to port Mageia applets to comply with SNI (but that would not fix other applets).
Luděk Janča 2017-02-11 10:53:23 CET

CC: (none) => joelp

Comment 53 Frédéric "LpSolit" Buclin 2017-02-26 16:18:11 CET
Would statusnotifier help us here?

https://github.com/jjk-jacky/statusnotifier
https://jjacky.com/statusnotifier/
Comment 54 Frédéric "LpSolit" Buclin 2017-02-26 16:51:53 CET
And an example of an application (kalu) using it:

https://github.com/jjk-jacky/kalu/commit/24e45233c57ccbf9c5cf70cc2408ab745ccdc675
Frédéric "LpSolit" Buclin 2017-02-26 17:35:27 CET

CC: (none) => LpSolit

Comment 55 Muhammad Tailounie 2017-03-03 08:45:20 CET
Just read that PCLinuxOS has fixed the issue with net_applet. I haven't tested it thought since it didn't boot in Virtualbox.

http://www.pclinuxos.com/distribution-release-kde-plasma-5-2017-03/#respond

Just in case it helps.. :)

CC: (none) => mageia

Comment 56 Muhammad Tailounie 2017-03-03 10:05:53 CET
(In reply to Muhammad Tailounie from comment #55)
> Just read that PCLinuxOS has fixed the issue with net_applet. I haven't
> tested it thought since it didn't boot in Virtualbox.
> 
> http://www.pclinuxos.com/distribution-release-kde-plasma-5-2017-03/#respond
> 
> Just in case it helps.. :)

Tested it on real HW and it works on Plasma 5. Could this be of any help to Mageia?
Comment 57 Samuel Verschelde 2017-03-03 10:10:28 CET
(In reply to Muhammad Tailounie from comment #56)
> (In reply to Muhammad Tailounie from comment #55)
> > Just read that PCLinuxOS has fixed the issue with net_applet. I haven't
> > tested it thought since it didn't boot in Virtualbox.
> > 
> > http://www.pclinuxos.com/distribution-release-kde-plasma-5-2017-03/#respond
> > 
> > Just in case it helps.. :)
> 
> Tested it on real HW and it works on Plasma 5. Could this be of any help to
> Mageia?

Yes, if their net_applet is the same as our net_applet. We'll have a look, thanks!
Comment 58 Nicolas Lécureuil 2017-03-03 10:42:48 CET
Hi,

they have fixed nothing but forced an workaround

export GDK_CORE_DEVICE_EVENTS=1



this is not what i call a fix :)
Comment 59 Thierry Vignaud 2017-03-03 12:34:07 CET
As if pclinuxos ever did some real work or contribute back...
Comment 60 Frédéric "LpSolit" Buclin 2017-03-03 13:29:07 CET
I spent some time this week testing libappindicator and statusnotifier. I have a preference for the latter (statusnotifier) for several reasons:

- Status icons created with statusnotifier accept left clicks to trigger the actions you want. libappindicator ignores left clicks and you cannot do anything against it, AFAICS.

- libappindicator last release is 5 years old (July 2012) and seems to not get traction anymore while the author of statusnotifier is still active and spent some time to help me to make it work nicely with Perl. Such a help was very appreciated. He even already fixed a small bug I reported yesterday. And he expects to do another release soon.

- I tried to compile libappindicator myself (I know it's already packaged, but this was for comparison purposes). The *huge* list of dependencies was a nightmare, and I never managed to compile it without errors. On the other hand, statusnotifier has so special dependencies besides the obvious ones (gio, glib, etc...) and compiled correctly in the first shoot.

- They are both easy to use from Perl, so this criteria doesn't matter. :)


I expect to have some free time this afternoon to work on this, so if everything goes well, I should have something to show later this evening.

Status: NEW => ASSIGNED
Assignee: mageiatools => LpSolit

Comment 61 Mageia Robot 2017-03-03 21:08:27 CET
commit 7e230ad67b6cbe99939026ea48ee6aa2728eb316
Author: Frédéric Buclin <LpSolit@...>
Date:   Fri Mar 3 21:05:55 2017 +0100

    Fix the mgaaplet status icon (mga#17592)
---
 Commit Link:
   http://gitweb.mageia.org/software/mgaonline/commit/?id=7e230ad67b6cbe99939026ea48ee6aa2728eb316
Comment 62 Mageia Robot 2017-03-04 02:26:09 CET
commit d15d7d0211b9e4e52a53aa4a349641c02b6a8474
Author: Frédéric Buclin <LpSolit@...>
Date:   Sat Mar 4 02:04:38 2017 +0100

    Fix the net_applet status icon (mga#17592)
    
    This also restores the tooltip with IP information.
---
 Commit Link:
   http://gitweb.mageia.org/software/drakx-net/commit/?id=d15d7d0211b9e4e52a53aa4a349641c02b6a8474
Comment 63 Rémi Verschelde 2017-03-05 13:10:37 CET
I'm happy to say that thanks to Frédéric Buclin (LpSolit)'s work, we now have working applets in Plasma in mgaonline-3.18-1.mga6 and drakx-net-2.28-1.mga6! ð

On plasma, mgaapplet and net_applet use the statusnotifier library to generate a SNI compliant systray applet. On other DEs, as most of them don't support SNI out of the box, we keep using the previous code using GtkStatusIcon. Some DEs can get SNI support if they are configured properly (e.g. LXQt with a config, or Xfce with a plugin), so that might be something we'll want to look into if there were issues with the legacy applet on those DEs.

@ Bugsquad: The above should fix the issues with mgaapplet and net_applet, but not thirdparty GTK+3 apps that are no longer working with Plasma's xembedsniproxy. Still, for clarity, I would propose that we close this bug as FIXED, and clone it to a new bug specific to xembedsniproxy / plasma-workspace. WDYT?
Comment 64 Rémi Verschelde 2017-03-05 13:14:00 CET
(In reply to Rémi Verschelde from comment #63)
> @ Bugsquad: The above should fix the issues with mgaapplet and net_applet,
> but not thirdparty GTK+3 apps that are no longer working with Plasma's
> xembedsniproxy. Still, for clarity, I would propose that we close this bug
> as FIXED, and clone it to a new bug specific to xembedsniproxy /
> plasma-workspace. WDYT?

That cloned report would not be a release blocker for Mageia 6, though I would still keep it high priority for our kde@ group. If we can find a fix a contributing upstream, it would be a great downstream contribution from Mageia.
Comment 65 Frédéric "LpSolit" Buclin 2017-03-05 14:26:23 CET
Please don't clone this bug but file a new one. Cloning a bug also clones the whole CC list, which generates a lot of spam, especially for those who are not interested in the subsequent bugs.

Target Milestone: --- => Mageia 6

Comment 66 Frédéric "LpSolit" Buclin 2017-03-05 14:33:20 CET
Marking this bug as FIXED as both mgaapplet and net_applet have been fixed. Please someone file a separate bug about xembed-sni-proxy being broken with Gtk3.

Status: ASSIGNED => RESOLVED
Resolution: (none) => FIXED
Summary: Un-clickable mgaapplet + net_applet + various other GTK apps' systray icons in Plasma => Un-clickable mgaapplet + net_applet systray icons in Plasma

Frédéric "LpSolit" Buclin 2017-03-05 14:43:47 CET

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


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