Details
-
Bug
-
Resolution: Done
-
P2: Important
-
4.8.4, 5.0.2
-
None
-
5055183bc5a8288976f58c65b52276ad17491cad 98b49f88fa1dfe593bf8e4291bd12419d47c26aa
Description
In German keyboard layout the Qt::Key_Plus is located in the same key as Qt::Key_RightBracket in English keyboard. When pressing Ctrl and Key_Plus in German layout the result of QKeyEvent::key() is Qt::Key_RightBracket when it should be Qt::Key_Plus. Similar behavior can be seen in other special characters and in other non-English keyboard layouts.
Tested with German and Finnish keyboard layouts. This is reproducible only in Windows.
There is a fix proposal for static function toKeyOrUnicode() in qwindowskeymapper.cpp in the attached file in lines 486-487.