[pkg-cinnamon] Bug#762368: cinnamon: keyboard shortcuts ignore alt modifier

Margarita Manterola marga at debian.org
Sat Oct 25 19:11:46 UTC 2014


Control: reassign -1 muffin 2.2.6-4
Control: retitle -1 muffin: when using Modifier+Key for the menu, the modifier is ignored

Hi,

I spent a bunch of hours trying to get this to work today, I even thought that I had found a fix, but in the end my fix was flawed, so I gave up.

Some extra explanations: the problem is related to the Menu key (called overlay-key in the code), which defaults to Super_L.  Because Super is normally a modifier and not a key, the code (which is part of muffin, not cinnamon, hence the reassignment) that handles this key is very messy.

The problem is that the code that checks if the key for the menu matches the one stored doesn't check for modifiers (because it assumes that there will be none, due to Super being a modifier that can only be a "key" if there are no other modifiers).

I'm attaching my failed patch for posterity. This patch works for Alt-F3 until F3 is pressed once, after that Alt-F3 doesn't trigger the menu anymore.  I'm not sure exactly why, but the function does keep some state, so I guess that it enters a state from which it cannot leave.

This code has been completely reworked upstream, and they claim that they can't reproduce anymore, which makes it even harder to get a fix :-/

The workaround is to use Super for the menu.

-- 
Regards,
Marga
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix-overlay-key
Type: application/octet-stream
Size: 1237 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-cinnamon-team/attachments/20141025/8c013056/attachment-0001.obj>


More information about the pkg-cinnamon-team mailing list