Bug 483183

Summary: Using push-to-talk key while using other keys does not work properly on Discord
Product: [Plasma] kwin Reporter: teslastormgamer
Component: inputAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: fanzhuyifan, nate
Priority: NOR Keywords: qt6
Version: 6.0.1   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In: 6.1
Sentry Crash Report:

Description teslastormgamer 2024-03-10 22:52:20 UTC
SUMMARY
Using any version of discord (flatpak or rpm package) the push-to-talk key works well without hitting any other key. Using any other keys and letting go the push-to-talk key keeps the microphone active until the bind is used again (not after the bind is released). This tends to happen while ingame since I'm always using any other key. This problem also only happens when discord is not in focus, when discord is being focused the keys work fine.
I'm on Nobara 39 using KDE wayland with the legacy toggles active (Only non-character keys) and my push-to-talk key is left alt

STEPS TO REPRODUCE
1. Install and use discord (flatpak or rpm).
2. Set a bind for push-to-talk .
3.  Join a voice channel.
4.  Minimize discord or focus onto another application.
5. Use the push-to-talk key and press any other button.
6. Release the push-to-talk key.
7. Check on discord to show that the microphone is still active.

OBSERVED RESULT
The microphone is still active when the push-to-talk key is released.

EXPECTED RESULT
The microphone should stop when the push-to-talk key is not being used.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Nobara 39
(available in About System)
KDE Plasma Version: 6.0.1
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2

ADDITIONAL INFORMATION
The only temporary solution on fixing this is to allow all keystrokes to be read from any x11 apps, but the system security is at risk with this.
Comment 2 Nate Graham 2024-03-11 20:31:34 UTC
Yup.
Comment 3 teslastormgamer 2024-03-14 05:55:56 UTC
Updating to version 6.0.2 fixed it, Thank you.