Bug 494942

Summary: systemsettings occasionally freezes after performing display configuration changes
Product: [Applications] systemsettings Reporter: thederpyworld
Component: kcm_kscreenAssignee: kscreen-bugs-null <kscreen-bugs-null>
Status: CLOSED FIXED    
Severity: normal CC: nate, plasma-bugs-null
Priority: NOR    
Version First Reported In: 6.2.3   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: Frameworks 6.8
Sentry Crash Report:
Attachments: Output of systemrequirements and the gdb backtrace at that moment.

Description thederpyworld 2024-10-17 16:41:11 UTC
Created attachment 174951 [details]
Output of systemrequirements and the gdb backtrace at that moment.

SUMMARY

After performing display configuration changes (eg. moving the displays around) can often cause the systemsettings to freeze up. Before it freezes up, the "Keep display configuration?" modal is shown, with the timer stuck at 15 seconds.

During the freeze up, the stdout is being spammed with the same 4 lines. In the attachments I am appending the log output and a gdb backtrace.

STEPS TO REPRODUCE

1. Change the display configuration (eg. their positions)
2. Apply the changes
3. The systemsettings window is frozen

OBSERVED RESULT

The systemsettings window being frozen, and the screen settings reverted after 15 second timeout.

EXPECTED RESULT

The systemsettings window to work and for the screen configuration to revert after the timeout.

SOFTWARE/OS VERSIONS

Operating System: Arch Linux 
KDE Plasma Version: 6.2.1
KDE Frameworks Version: 6.7.0
Qt Version: 6.8.0
Kernel Version: 6.9.10-arch1-1 (64-bit)
Graphics Platform: X11
Processors: 16 × AMD Ryzen 7 6800HS with Radeon Graphics
Memory: 14.9 GiB of RAM
Graphics Processor: AMD Radeon 680M

ADDITIONAL INFORMATION

Happens on both Wayland and X11.
Comment 1 thederpyworld 2024-11-08 00:38:41 UTC
Still reproducible on X11 with

Operating System: Arch Linux 
KDE Plasma Version: 6.2.3
KDE Frameworks Version: 6.7.0
Qt Version: 6.8.0
Kernel Version: 6.11.6-arch1-1 (64-bit)
Graphics Platform: X11
Processors: 16 × AMD Ryzen 7 6800HS with Radeon Graphics
Memory: 14.9 GiB of RAM
Graphics Processor: AMD Radeon 680M
Comment 2 Nate Graham 2024-11-08 21:48:12 UTC
I'm 99% sure this will be fixed with Frameworks 6.8, which was released today. Can you upgrade and check? Thanks!
Comment 3 thederpyworld 2024-11-09 11:09:21 UTC
From a short testing on X11, it didn't freeze once. Thank you for your work!

Tested on:
Operating System: Arch Linux 
KDE Plasma Version: 6.2.3
KDE Frameworks Version: 6.8.0
Qt Version: 6.8.0
Kernel Version: 6.11.6-arch1-1 (64-bit)
Graphics Platform: X11
Processors: 16 × AMD Ryzen 7 6800HS with Radeon Graphics
Memory: 14.9 GiB of RAM
Graphics Processor: AMD Radeon 680M