Priority: P2: Important
Resolution: Cannot Reproduce
Affects Version/s: 5.9.1
Fix Version/s: None
Component/s: QPA: Wayland
Environment:Plasma Wayland session with Qt 5.9.1
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
window closes and message "Escape pressed handler" is printed once
window closes and message "Escape pressed handler" starts to repeat
For comparison do the same with --platform xcb