Bug 509013

Summary: Plasmashell doesn't recover the apps position on the panel and window preview order within each app
Product: [Plasma] plasmashell Reporter: Fernando M. Muniz <fernandommuniz>
Component: Task Manager and Icons-Only Task Manager widgetsAssignee: Plasma Bugs List <plasma-bugs-null>
Status: CONFIRMED ---    
Severity: minor CC: kde, nate, qydwhotmail
Priority: NOR Keywords: usability
Version First Reported In: 6.4.4   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Bug Depends on:    
Bug Blocks: 508968    
Attachments: Issue on Plasma 6.4.5
Issue on Plasma 6.4.5

Description Fernando M. Muniz 2025-09-01 22:39:54 UTC
STEPS TO REPRODUCE
Cause Plasmashell to crash.

OBSERVED RESULT
When Plasmashell recovers, the order of apps is not the same as it was, and the window previews of apps, such as multiple images on Gwenview gets completely disorganized.

EXPECTED RESULT
Plasmashell crashing shouldn't affect the position of apps on the panel(s), nor randomize the order of window previews within each app.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.4.4
KDE Frameworks Version: 6.17.0
Qt Version: 6.9.2
Kernel Version: 6.16.4-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 8 × 11th Gen Intel® Core™ i5-11300H @ 3.10GHz
Memory: 9 GB of RAM (8.1 GB usable)
Graphics Processor 1: NVIDIA GeForce GTX 1650
Graphics Processor 2: Intel® Iris® Xe Graphics
Manufacturer: LENOVO
Product Name: 82MG
System Version: IdeaPad Gaming 3 15IHU6

ADDITIONAL INFORMATION
I found this because the clipboard closing is crashing plasmashell, then it recovers.
Comment 1 Nate Graham 2025-09-17 17:58:23 UTC
Can you attach a screen recording that shows this happening?
Comment 2 Fernando M. Muniz 2025-09-18 02:03:09 UTC
Is there a way of forcing a crash?
Comment 3 Nate Graham 2025-09-18 14:01:01 UTC
Yeah: `killall -11 [name of process you want to crash]`

So in this case, `killall -11 plasmashell`
Comment 4 Fernando M. Muniz 2025-09-18 15:45:17 UTC
Created attachment 185054 [details]
Issue on Plasma 6.4.5
Comment 5 Fernando M. Muniz 2025-09-18 16:32:14 UTC
Created attachment 185057 [details]
Issue on Plasma 6.4.5

And here is the same issue with the window previews.