Bug 377724

Summary: Panel forgets position of widgets on restart
Product: [Plasma] plasmashell Reporter: Jonathan Verner <jonathan.verner>
Component: PanelAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: normal CC: kde, mike.d.lui, notmart
Priority: NOR    
Version First Reported In: 5.9.3   
Target Milestone: 1.0   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Screenshot with correct widget placement (before)
Screenshot with incorrect widget placement (after plasmashell restart)
~/.config/plasma-org.kde.plasma.desktop-appletsrc (before, correct widget placement)
~/.config/plasma-org.kde.plasma.desktop-appletsrc (after, incorrect widget placement)

Description Jonathan Verner 2017-03-17 12:39:39 UTC
I added a new panel to the top of my screen which has a start-menu on the left, then comes a global menu widget and finally the systemtray and clock on the far right. However, whenever I restart plasma, all the widgets move towards the left! It is slightly annoying to need to move them back whenever I log out and then log back in. 

Note, the bug seems similar to https://bugs.kde.org/show_bug.cgi?id=272812, but that was for plasma4, this happens in KF5 based plasma!
Comment 1 Kai Uwe Broulik 2017-03-17 13:45:34 UTC
Can you perhaps createa before-after screenshot or a screencast? Does it only happen with global menu or does it not matter what widgets there are to trigger this? I have never experienced this bug.
Comment 2 Jonathan Verner 2017-03-17 13:54:30 UTC
Created attachment 104610 [details]
Screenshot with correct widget placement (before)
Comment 3 Jonathan Verner 2017-03-17 13:55:22 UTC
Created attachment 104611 [details]
Screenshot with incorrect widget placement (after plasmashell restart)
Comment 4 Jonathan Verner 2017-03-17 13:56:08 UTC
> Does it only happen with global menu or does it not matter what widgets there are to trigger this?

No, it happens also without the global menu.
Comment 5 Marco Martin 2017-03-17 14:40:37 UTC
can you also include the files ~/.config/plasma-org.kde.plasma.desktop-appletsrc
before and after?
Comment 6 Jonathan Verner 2017-03-17 14:50:09 UTC
Created attachment 104614 [details]
~/.config/plasma-org.kde.plasma.desktop-appletsrc (before, correct widget placement)
Comment 7 Jonathan Verner 2017-03-17 14:51:39 UTC
Created attachment 104615 [details]
~/.config/plasma-org.kde.plasma.desktop-appletsrc (after, incorrect widget placement)
Comment 8 Jonathan Verner 2017-03-17 14:53:05 UTC
Hmm, now I noticed that the files (before and after) are identical.
Comment 9 Mike Lui 2018-05-11 14:07:21 UTC
Has there been any progress on this? I began seeing the same behavior when I switched to a global menu in KDE 5.12.5, KDE Frameworks 5.45.
Comment 10 Mike Lui 2018-05-11 14:18:06 UTC
Correction to my comment 9. I didn't know I had to insert spacers into the panel. It is not a bug.
Comment 11 Jonathan Verner 2018-05-11 16:58:58 UTC
Since some time I can't reproduce the bug so I am closing it...