Gnome session not correctly recognized for keybinding

Bug #1439804 reported by Oliver Sauder
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Diodon
Fix Released
Medium
Oliver Sauder

Bug Description

GNOME desktop is not correctly recognized on Debian 8 with GNOME 3.14. This means a fallback on keybinding to legacy mode which causes issues with hotkey.

Related branches

Oliver Sauder (sao)
Changed in diodon:
milestone: none → 1.4.0
Revision history for this message
Thierry (thdox) wrote :

For traceability issues, see comment #5 to comment #11 of Bug 1377490

Oliver Sauder (sao)
Changed in diodon:
assignee: nobody → Oliver Sauder (sao)
status: Confirmed → In Progress
Revision history for this message
Oliver Sauder (sao) wrote :

I have rewritten method to determine what desktop is running now using XDG_CURRENT_DESKTOP. This way when GNOME or Unity is running ShellKeyGrabber dbus service is used instead of legacy X implementation.

Committed to trunk.

Changed in diodon:
status: In Progress → Fix Committed
Revision history for this message
Oliver Sauder (sao) wrote :

Doesn't seem to properly fix the issue... GNOME session is now correctly registered and keys correctly grabbed with org.gnome.Shell KeyGrabber but when shortcut is pressed Diodon still doesn't get activated.

There is an issue with the shell service not properly communicating to Diodon as it does on Unity....

Changed in diodon:
status: Fix Committed → Triaged
Revision history for this message
Oliver Sauder (sao) wrote :

the org.gnome.Shell KeyGrabber api has changed in GNOME 3.10 and broke the keybinding.

But when continuing to test seems there is a change in libgtk which breaks showing of the clipboard popup as well... still trying to find out the bottom of this issue.

Just wanted to say as a workaround can a custom shortcut configured and simply start /usr/bin/diodon - once Diodon is started the second time it will show the menu.

See here https://help.gnome.org/users/gnome-help/stable/keyboard-shortcuts-set.html.en

Revision history for this message
Oliver Sauder (sao) wrote :

Decision has been made to drop the internal Diodon hotkey feature and leave the responsibility of register a custom shortcut up to the desktop environment.

You can find more details here how you can do this:
https://esite.ch/2015/07/using-custom-shortcuts-of-de-as-diodon-hotkey/

I have tested this on GNOME and the shortcut works as expected.

Changed in diodon:
status: Triaged → Fix Committed
Oliver Sauder (sao)
Changed in diodon:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.