Bug 463112

Summary: Panels lost after upgrade to Plasma 5.24.7
Product: [Plasma] plasmashell Reporter: Johannes Claesson <johannes.claesson>
Component: generic-multiscreenAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED FIXED    
Severity: major CC: aleixpol, nate, niccolo.venerandi, notmart
Priority: NOR    
Version First Reported In: 5.24.7   
Target Milestone: 1.0   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 5.27
Sentry Crash Report:
Attachments: Attempting plasmashell restart from command line
Full day journalctl from the day issue occurred (redacted)
plamashellrc that was present when the issue occurred

Description Johannes Claesson 2022-12-16 12:31:27 UTC
Created attachment 154622 [details]
Attempting plasmashell restart from command line

Panels lost after Plasma minor upgrade
***
Upon login after last 5.24.7 upgrade and after subsequent reboots, Plasma panels are lost. Krunner works, so not all is lost. As does re-adding panels once more.


***


STEPS TO REPRODUCE
1. Login

OBSERVED RESULT
No panels

EXPECTED RESULT
Panels

SOFTWARE/OS VERSIONS 
KDE Plasma Version: 5.24.7
KDE Frameworks Version:  5.98.0
Qt Version: 5.15.3
Comment 1 Nate Graham 2023-01-04 19:36:50 UTC
Do you have multiple monitors?
Comment 2 Johannes Claesson 2023-01-07 19:01:32 UTC
Created attachment 155089 [details]
Full day journalctl from the day issue occurred (redacted)
Comment 3 Johannes Claesson 2023-01-07 19:02:21 UTC
Created attachment 155090 [details]
plamashellrc that was present when the issue occurred
Comment 4 Johannes Claesson 2023-01-07 19:10:40 UTC
(In reply to Nate Graham from comment #1)
> Do you have multiple monitors?
Yes. It's a work laptop, so it's regularly docked and undocked. I highly suspect this issue to have occurred when I did undock and closed laptop lid (which results in sleep regardless if we're currently in AC mode or battery mode) in rapid succession.

Attached a few more logs, but I'm unsure whether they actually provide any value. If looking at journalctl output, the issue probably occurs during the "Dec 14 12:28:21" outputs. (This was verified by comparing to my shell history log timestamps)
Comment 5 Nate Graham 2023-01-07 19:56:52 UTC
Ahh, how sad. Fortunately the issue is finally fixed for good in Plasma 5.27. Unfortunately, the code changes to make it happen were extensive and cannot be easily backported to 5.24.
Comment 6 Johannes Claesson 2023-01-08 09:25:04 UTC
(In reply to Nate Graham from comment #5)
> Ahh, how sad. Fortunately the issue is finally fixed for good in Plasma
> 5.27. Unfortunately, the code changes to make it happen were extensive and
> cannot be easily backported to 5.24.

Great! 

P.S: Luckily I am a long time KDE user and won't be discouraged from these kinds of bugs, but I could easily see how for a new user, this is the kind of bug that would cause one to give up on KDE Plasma forever. We really would need a feature that caught all these types of errors, and offered to reset to a fresh, working configuration, while producing a backup of the broken one.