Bug 466983

Summary: Plasma Crashes When Closing a Window on Another Display From the Main Display
Product: [Plasma] plasmashell Reporter: redgriefer89
Component: generic-crashAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: nate
Priority: NOR    
Version First Reported In: 5.27.1   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Trace information collected using similar steps to those on the Arch wiki

Description redgriefer89 2023-03-07 00:49:13 UTC
Created attachment 157070 [details]
Trace information collected using similar steps to those on the Arch wiki

SUMMARY
When closing a window of an already-running app on a second display, plasmashell crashes. From what it seems, it is just the desktop (widgets and background) that crashes.


STEPS TO REPRODUCE
1. Open a window (Firefox is confirmed to crash somewhat consistently, but Alacritty is how I found this bug)
2. Open a second window of the same app and move it to another display (I have only tested with a display of a different size and refresh rate, specifically 1024x768@144hz interlaced as the secondary display with 1920x1080@165hz as the primary)
3. Close the window on the second display using the "x" on the preview in the taskbar (right-clicking and clicking "close" also works)

OBSERVED RESULT
Plasmashell crashes

EXPECTED RESULT
The windows close how they should

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Artix Linux with Kernel 6.2.1-zen1-1-zen
KDE Plasma Version: 5.27.1
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8

ADDITIONAL INFORMATION
The app you are doing this with must have focus, specifically the window on the main display. This may also work the other way around, but I only have the taskbar on my main display.
Comment 1 redgriefer89 2023-03-07 01:12:22 UTC
Tested on 5.27.2 with kernel 6.2.2-zen1-1-zen, still happens
Comment 2 Nate Graham 2023-03-13 16:40:54 UTC

*** This bug has been marked as a duplicate of bug 464186 ***