Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.13
-
None
-
-
00c0bad3184e32ff0b1dd799b7ef121eaa737c0d (qt/qtwayland/5.12)
Description
To reproduce:
1. Start sway
2. Open a Qt application
3. Move the mouse over it
4. Switch to a tty
5. Switch back to sway
6. Click the mouse
Causes a crash
This happens because sway doesn't send enter event when switching back from a tty, leading to a nullptr dereference of the pointer focus surface. This is arguably sway misbehaving, but our clients should not crash. An stderr warning about broken compositor behavior would probably be best.
Attachments
For Gerrit Dashboard: QTBUG-72235 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
247114,2 | Client: Fix various input related crashes for events without focus | 5.12 | qt/qtwayland | Status: MERGED | +2 | 0 |