Bug 502088 - System Freeze When Holding a Key in Legacy X11 Apps' any text box on KDE Wayland session
Summary: System Freeze When Holding a Key in Legacy X11 Apps' any text box on KDE Wayl...
Status: RESOLVED DUPLICATE of bug 500916
Alias: None
Product: kwin
Classification: Plasma
Component: input (show other bugs)
Version: 6.3.3
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-03-27 19:34 UTC by testingobject33
Modified: 2025-03-28 14:51 UTC (History)
2 users (show)

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


Attachments
logs regarding system freeze in legacy x11 apps in KDE Wayland session. (110.32 KB, text/x-log)
2025-03-27 19:34 UTC, testingobject33
Details

Note You need to log in before you can comment on or make changes to this bug.
Description testingobject33 2025-03-27 19:34:13 UTC
Created attachment 179794 [details]
logs regarding system freeze in legacy x11 apps in KDE Wayland session.

Observed Result:
- On a KDE Wayland session, opening an X11-based legacy application (e.g., GParted) and holding a key (such as Backspace) inside any text box that app for a few seconds leads to a complete system freeze.
- In this resulted condition, session restart from TTY1 doesn't help as everything start from fresh login state same like which we get after reboot so every app progress, opened apps all gets lost.

Expected Result:
- System should not freeze or stutter if there is repeat key events are emitted from Wayland session(Kwin compositor) to legacy app. 


Additional Observation:
- System freeze issue does not occur in the KDE X11 session except system slowdown for few seconds.
- Affects legacy X11 applications running on KDE Wayland session.

Steps to Reproduce:
- Start a KDE Wayland session.
- Open GParted.
- Click on any function that brings up a text box (e.g., select Unallocated space → Click New).
- Inside any text box, press and hold Backspace for approximately 10 seconds or so.
- Observe: The system completely freezes, requiring a restart.

Logs:
Mar 26 18:37:07 localhost.localdomain kwin_wayland_wrapper[5970]: Key repeat discarded, Wayland compositor doesn't seem to be processing events fast enough!
This "kwin_wayland_wrapper...." line repeated thousand of time.

Also attached longer log file.

SOFTWARE/OS VERSIONS:
libEGL warning: egl: failed to create dri2 screen
libEGL warning: egl: failed to create dri2 screen
Operating System: openSUSE Tumbleweed 20250321
KDE Plasma Version: 6.3.3
KDE Frameworks Version: 6.12.0
Qt Version: 6.8.2
Kernel Version: 6.13.7-1-default (64-bit)
Graphics Platform: Wayland
Processors: 4 × Intel® Core™ i5-5200U CPU @ 2.20GHz
Memory: 7.7 GiB of RAM
Graphics Processor 1: Mesa Intel® HD Graphics 5500
Graphics Processor 2: llvmpipe
Comment 1 Nicolas Fella 2025-03-28 12:13:34 UTC
*** This bug has been marked as a duplicate of bug 500916 ***
Comment 2 testingobject33 2025-03-28 14:51:37 UTC
#For future reference:
https://bugs.kde.org/show_bug.cgi?id=500916#c12
Fixed has been added in repo
https://invent.kde.org/plasma/kwin/-/commit/3350bbabd70970d542672d40945aa4a0eac4be2f
https://invent.kde.org/plasma/kwin/-/commit/2e33bd0d2a9bca18b3b2f65a2aa0c61baa728081

and
>From Nate Graham:
>The fix will be released in five days.
>In the meantime, you can turn off the system bell sound in System Settings > Accessibility
After System Settings > Accessibility > System Bell > turn off Audible bell , there is no system freeze during key press and hold repeat events inside legacy x11 apps.