← Back to team overview

widelands-dev team mailing list archive

Re: [Merge] lp:~widelands-dev/widelands/bug-1616661_messagebox_hotkeys into lp:widelands

 

These are the events I get for key down:

Ctrl alone:
===========
sym = 1073742048, mod = 0


Alt alone:
==========
sym = 1073742050, mod = 0
sym = 1073742050, mod = 256 (LALT)


Ctrl-1:
=======
sym = 1073742048, mod = 0
sym = 49,         mod = 64 (LCTRL)
pressed 1


Alt-1:
======
sym = 1073742050, mod = 0
sym = 1073742050, mod = 256 (LALT)
sym = 49,         mod = 256 (LALT)
pressed 1

sym = 1073742050, mod = 256 (LALT)
sym = 49,         mod = 256 (LALT)
pressed 1


My best guess is that the window manager is interfering and messing things up. The only other place where we use the Alt key is in the tool selection in the editor, where it doesn't matter if the key is triggered multiple times.
-- 
https://code.launchpad.net/~widelands-dev/widelands/bug-1616661_messagebox_hotkeys/+merge/305381
Your team Widelands Developers is subscribed to branch lp:~widelands-dev/widelands/bug-1616661_messagebox_hotkeys.


References