qutebrowser/tests/unit
Florian Bruhin d1854eddaf Handle invalid keys coming from Qt
When pressing a key which doesn't exist as Qt.Key, we don't get Qt.Key_unknown
like we'd expect, but we get 0x0 instead...

Let's add that as a new "nil" key (to not conflict with None/unknown/zero/...)
and handle it appropriately.

This can be reproduced by doing:
setxkbmap -layout us,gr -option grp:alt_shift_toggle
and pressing Alt-Shift/Shift-Alt.
2018-03-05 15:42:52 +01:00
..
browser Make sure the backend is set in test_webenginesettings.py 2018-03-02 07:00:09 +01:00
commands Update copyright years 2018-02-05 12:19:50 +01:00
completion Merge branch 'keys' 2018-03-04 22:50:41 +01:00
config Disallow numbers in keybindings 2018-03-04 23:17:51 +01:00
javascript Update copyright years 2018-02-05 12:19:50 +01:00
keyinput Handle invalid keys coming from Qt 2018-03-05 15:42:52 +01:00
mainwindow Use a different directory for file prompt tests 2018-02-19 22:08:42 +01:00
misc Merge branch 'keys' 2018-03-04 22:50:41 +01:00
scripts Update copyright years 2018-02-05 12:19:50 +01:00
utils Fix test_version without cssutils 2018-03-05 11:36:50 +01:00
test_app.py Update copyright years 2018-02-05 12:19:50 +01:00