After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 704095 - Legacy tray icons not clickable in 3.9.4
Legacy tray icons not clickable in 3.9.4
Status: RESOLVED FIXED
Product: gnome-shell
Classification: Core
Component: message-tray
3.9.x
Other Linux
: Normal major
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
Depends on:
Blocks:
 
 
Reported: 2013-07-12 14:16 UTC by Alexey
Modified: 2013-07-24 13:22 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
notificationDaemon: Fix clicks on legacy icons (1.14 KB, patch)
2013-07-12 14:52 UTC, Florian Müllner
committed Details | Review

Description Alexey 2013-07-12 14:16:13 UTC
Click on such icon just closing the tray without any actions

Steps to reproduce:
1. Open some app with legacy tray icon like skype or liferea
2. Open message tray and try to click on icon(any mouse button)
3. Tray is closing but no actions are triggered

Expected result:
Open app's context menu or show it focused(depending on application tray icon click handler)
Comment 1 Florian Müllner 2013-07-12 14:52:23 UTC
Created attachment 249016 [details] [review]
notificationDaemon: Fix clicks on legacy icons

Jasper removed the ShellGlobal:stage-input-mode property after its
"last" use was removed. Adapt the (hopefully) really last use of the
property to the recent input changes.
Comment 2 Alexey 2013-07-12 15:04:46 UTC
patch works fine, thanks for fast feedback
Comment 3 Jasper St. Pierre (not reading bugmail) 2013-07-12 16:47:18 UTC
Review of attachment 249016 [details] [review]:

Whoops, I spotted this but forgot to fix it I guess.

This will fix it after the stage window is unfocused, but that won't work in all cases. If you hit Ctrl+Alt+Tab to switch to the panel, then open the message tray and click on an item, then we'll drop the grab but not unfocus the stage window.

I think the only proper fix is to have a callback or signal when we drop all our grabs.
Comment 4 Florian Müllner 2013-07-12 17:43:44 UTC
(In reply to comment #3)
> If you hit Ctrl+Alt+Tab to switch to the panel, then open the
> message tray and click on an item, then we'll drop the grab but not unfocus the
> stage window.

If that's how it's supposed to work, we have another bug here ...


> I think the only proper fix is to have a callback or signal when we drop all
> our grabs.

OK.
Comment 5 Jasper St. Pierre (not reading bugmail) 2013-07-12 17:54:23 UTC
(In reply to comment #4)
> (In reply to comment #3)
> > If you hit Ctrl+Alt+Tab to switch to the panel, then open the
> > message tray and click on an item, then we'll drop the grab but not unfocus the
> > stage window.
> 
> If that's how it's supposed to work, we have another bug here ...

Hm, well Clutter doesn't seem to ignore NotifyGrabbed events, so the UngrabKeyboard would generate a FocusOut on the stage window with NotifyGrabbed, so what would happen is that when we lose the grab in that case, we'd see FocusOut then a FocusIn on the stage window. Clutter could change its mind in the future, so I'd prefer to see something more explicit.
Comment 6 Jasper St. Pierre (not reading bugmail) 2013-07-19 02:55:50 UTC
Review of attachment 249016 [details] [review]:

Managed to talk to ebassi about this. There's no reason to ignore NotifyGrabbed, so this is fine.
Comment 7 Florian Müllner 2013-07-24 13:22:33 UTC
Attachment 249016 [details] pushed as 13170fb - notificationDaemon: Fix clicks on legacy icons