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.
Attachments
For Gerrit Dashboard: QTBUG-97094 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
375090,4 | Fix the logic for decoding modifiers map in Wayland text input protocol | dev | qt/qtwayland | Status: MERGED | +2 | 0 |
376905,2 | Fix the logic for decoding modifiers map in Wayland text input protocol | 6.2 | qt/qtwayland | Status: MERGED | +2 | 0 |
376906,2 | Fix the logic for decoding modifiers map in Wayland text input protocol | 5.12 | qt/qtwayland | Status: MERGED | +2 | 0 |
376949,2 | Fix the logic for decoding modifiers map in Wayland text input protocol | tqtc/lts-5.15 | qt/tqtc-qtwayland | Status: MERGED | +2 | 0 |