Bug 476870 - Enter key not released after toggling WCG in a terminal
Summary: Enter key not released after toggling WCG in a terminal
Status: RESOLVED WORKSFORME
Alias: None
Product: kwin
Classification: Plasma
Component: wayland-generic (show other bugs)
Version: git master
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: qt6
Depends on:
Blocks:
 
Reported: 2023-11-12 05:27 UTC by hexchain
Modified: 2024-01-17 13:39 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description hexchain 2023-11-12 05:27:35 UTC
SUMMARY
When toggling WCG in a terminal with kscreen-doctor, after pressing Enter to execute the command, the screen flashes (as expected), but the terminal does not seem to receive a release event for the Enter key.

STEPS TO REPRODUCE
1. Open a terminal (Konsole Wayland or WezTerm XWayland) and type "kscreen-doctor output.<output-name>.wcg.enable" (or "disable" depending on its current state)
2. Press enter

OBSERVED RESULT
The screen flashes, and after returning to normal the terminal prints the command prompt continuously as if the Enter key is held down.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 5.81.0
KDE Frameworks Version: 5.245.0
Qt Version: 6.6.0
Kernel Version: 6.6.0-arch1-1 (64-bit)
Graphics Platform: Wayland

kwin is at 835d6f4bc68a7e88b486daeec6712570a3a237a4.
Comment 1 hexchain 2024-01-17 13:39:00 UTC
I cannot reproduce this anymore with KWin fd2e77317f99b159bb023420051be17383520bae.

Toggling WCG does not make the screen flash anymore, but toggling HDR does. Either way, the Enter key no longer appears to be held down in both cases.