Gnome session not correctly recognized for keybinding

Bug #1439804 reported by Oliver Sauder on 2015-04-02
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Diodon
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) on 2015-04-02
Changed in diodon:
milestone: none → 1.4.0
Thierry (thdox) wrote :

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

Oliver Sauder (sao) on 2015-04-04
Changed in diodon:
assignee: nobody → Oliver Sauder (sao)
status: Confirmed → In Progress
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
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
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

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) on 2015-10-13
Changed in diodon:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers