Details
-
Bug
-
Resolution: Cannot Reproduce
-
P2: Important
-
None
-
5.9.1
-
None
-
Plasma Wayland session with Qt 5.9.1
Description
When a window gets closed by a key press event, the key continues to be repeated on that window although it is no longer visible. Even after reopening the window the key still repeats and thus closes directly.
This behavior is specific to the Wayland platform, on X11 this works correctly.
Attached is a simple test case to demonstrate the issue.
Steps to reproduce:
1. qmlscene --platform wayland key-repeat.qml
2. wait for window opened
3. press escape
Expected behavior:
window closes and message "Escape pressed handler" is printed once
Actual behavior:
window closes and message "Escape pressed handler" starts to repeat
For comparison do the same with --platform xcb