Bug 510045

Summary: kwin_wayland freezes when open / save file dialogue closes either by selecting file or canceling
Product: [Plasma] kwin Reporter: Kyle Devir <kyle.devir>
Component: platform-drmAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED FIXED    
Severity: major CC: kde, kyle.devir, xaver.hugl
Priority: NOR    
Version First Reported In: git master   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Kyle Devir 2025-09-29 11:06:11 UTC
SUMMARY
Noticed an issue after updating on Saturday ~ kwin_wayland freezes whenever an open / save file dialogue closes, either by selecting or canceling it. There's no logs for it, which made this hard to figure out.

The freeze is such that I cannot switch vt's. But I can still recover with alt + REI

Noticed first in Firefox, then now Code. Krita has the same issue.

STEPS TO REPRODUCE
1. Latest KDE Git master per kde-builder
2. Try opening / saving a file with any application that uses a KDE open / save dialogue box
3. Experience freeze.

OBSERVED RESULT
Compositor locks up machine entirely ~ can only recover with alt + REI.

EXPECTED RESULT
Compositor does not freeze.

SOFTWARE/OS VERSIONS
Operating System: CachyOS Linux 
KDE Plasma Version: 6.5.80
KDE Frameworks Version: 6.19.0
Qt Version: 6.9.2
Kernel Version: 6.17.0-rc7-1-cachyos-rc (64-bit)
Graphics Platform: Wayland
Processors: 16 ร— AMD Ryzen 7 7800X3D 8-Core Processor
Memory: 32 GiB of RAM (30.2 GiB usable)
Graphics Processor 1: AMD Radeon RX 7900 XTX
Graphics Processor 2: AMD Radeon Graphics
Manufacturer: ASRock
Product Name: X670E Pro RS
Comment 1 David Edmundson 2025-09-29 11:17:25 UTC
That's very severe. I can't reproduce and we have no other reports, and there's not a lot to go on.

If it's possible can you ssh into your machine whilst frozen and run:

sudo gdb --pid `pidof kwin_wayland`
thread apply all bt
Comment 2 Kyle Devir 2025-09-29 12:02:31 UTC
(In reply to David Edmundson from comment #1)
> That's very severe. I can't reproduce and we have no other reports, and
> there's not a lot to go on.
> 
> If it's possible can you ssh into your machine whilst frozen and run:
> 
> sudo gdb --pid `pidof kwin_wayland`
> thread apply all bt

Will(In reply to David Edmundson from comment #1)
> That's very severe. I can't reproduce and we have no other reports, and
> there's not a lot to go on.
> 
> If it's possible can you ssh into your machine whilst frozen and run:
> 
> sudo gdb --pid `pidof kwin_wayland`
> thread apply all bt

Don't know how to dump the info gdb spits out, but looked at the file in kwin it was referring to, and I think
https://invent.kde.org/plasma/kwin/-/commit/9aa902536ed82fd187bda920cadf4a1410d394b9
might solve my issues. I just happened to make a build between the bad commit and the fix, haha.
Comment 3 Kyle Devir 2025-09-29 12:04:10 UTC
Yep, that fixed it! Thanks nonetheless. :)
Comment 4 Bug Janitor Service 2025-10-14 03:47:11 UTC
๐Ÿ›๐Ÿงน โš ๏ธ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!