Need to press history shortcut key very fast to get the menu

Bug #1174342 reported by Damien Cassou
This bug affects 11 people
Affects Status Importance Assigned to Milestone
Fix Released

Bug Description

I've just installed diodon on my new Ubuntu 13.04 installation. Diodon seems to work fine when I press the Ctrl+Alt+V shortcut very fast. If I stay more than half a second with my fingers on the shortcut, then I don't see the diodon history menu.

This report probably has nothing to do with Diodon itself but more with the programming framework below.

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

I have just updated to 13.04 today and now have the same issue. I will have to do some research what could cause this.

Changed in diodon:
status: New → Confirmed
Revision history for this message
Oliver Sauder (sao) wrote :

It seems that when the key release event follows after the menu popup event that this prevents the menu from being opened.

This is certainly a regression but not sure which library causes this issue. I have for now filed a bug on libgtk and wait for feedback.

Changed in diodon:
importance: Undecided → High
Revision history for this message
Genadi Saltikov (carmageddon-2) wrote :

Seems no one is even bothering to confirm your issue report there :(

I was lucky to find this at all so at least now I know what to do as workaround.
Keywords for others to Google this issue:
Diodon shortcut not working.
Diodon shortcut not opening history.

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

This has been a really annoying bug - main issue is that GTK has issues with interleaving of XEvent and Gdk.Events.

In general is the grabbing of keys quite a bit of a problem as different processes are trying to get their shortcuts registered which causes all sorts of issues and race conditions.

After doing some research I have found out that GNOME has seen this problem and solved it by providing a Dbus Service org.gnome.Shell where it is possible to grab accelerators. Unity followed suit and implemented the same Dbus service in their Compiz Unity plugin providing same functionality.

This service has the advantage to handle all grabbing of keys in a single process so no race conditions can happen - and it is also a external service so there won't be an issues with conflicting events within application itself such as Diodon.

I have implemented this service for grabbing keys which is available for testing in the current daily ppa. This fix will at this point only work for Unity and GNOME desktop environments - the code falls back to a legacy mode for all other DEs as there such a service is not available - so this problem will remain there.

Changed in diodon:
status: Confirmed → 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

Related questions

Remote bug watches

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