Bug 514593

Summary: Certain "paths" changing the display configuration always crashes KWin
Product: [Plasma] kwin Reporter: Iyán M. V. <me>
Component: platform-drmAssignee: KWin default assignee <kwin-bugs-null>
Status: NEEDSINFO BACKTRACE    
Severity: crash CC: xaver.hugl
Priority: NOR    
Version First Reported In: 6.5.90   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Iyán M. V. 2026-01-14 13:24:48 UTC
SUMMARY

Certain changes in the display configuration mode always results in KWin crashing. I will provide later a backtrace if no one else can reproduce the issue.


STEPS TO REPRODUCE
1. Connect external screen
2. Switch to "Only use built-in screen"
3. Switch to "Only use external screen"

OBSERVED RESULT
KWin always crashes when switching from only built-in screen to only external screen. Other "paths" also produce similar crashes.

EXPECTED RESULT
KWin and Plasma should not crash no matter the starting mode and the new selected mode.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.5.90
KDE Frameworks Version: 6.22.0
Qt Version: 6.11.0
Kernel Version: 6.18.5-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 22 × Intel® Core™ Ultra 7 155H
Memory: 32 GiB of RAM (30.9 GiB usable)
Graphics Processor: Intel® Arc
Manufacturer: LENOVO
Product Name: 21KDS00600
System Version: ThinkPad X1 Carbon Gen 12