Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.12, 5.15, 6.2
-
None
-
-
baa7ef511bf40280448e5f0e721ddd6da3301f3b (qt/qtwayland/dev) 190646bcf0ae20174f32a240a81c9830dedd3c9b (qt/qtwayland/5.12) 60f908ba70cd52fd980887244b9a9fc9f9c34b4b (qt/qtwayland/6.2) 1887f6b4b6e689dcb1c60f1e78fffac31e5ce4a6 (qt/tqtc-qtwayland/5.15)
Description
Logic for decoding the modifiers map for the text input Wayland protocol is flawed, and results in incorrect values being used. This is due to the attempt at using bit shifting as the conditional of the for loop, which modifies the variable in question before evaluating the truthiness. Attached patch fixes this to check the flags correctly.