Bug 455163 - Layout broken after upgrademakes Plasma Panel unworkable (reconfiguration does not help)
Summary: Layout broken after upgrademakes Plasma Panel unworkable (reconfiguration do...
Status: RESOLVED DUPLICATE of bug 454105
Alias: None
Product: plasmashell
Classification: Plasma
Component: Panel (show other bugs)
Version: 5.24.90
Platform: openSUSE Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-06-11 16:12 UTC by Bernhard E. Reiter
Modified: 2022-06-14 06:12 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Screenshot of typical broken layout after upgrade (and login) (61.49 KB, image/png)
2022-06-11 16:12 UTC, Bernhard E. Reiter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bernhard E. Reiter 2022-06-11 16:12:55 UTC
Created attachment 149624 [details]
Screenshot of typical broken layout after upgrade (and login)

SUMMARY

Panel layout was broken with update from 2.24.5 to 2.24.90, unusable since.
Fresh configuration has failed so far. See the screenshot, which shows a typical situation.
Previously it has a standard configured panel with virtual screen switcher, starter, clock and more.

From looking in my logs it must have happened while
upgrading from 
plasma5-workspace|5.24.5-lp153.648.1
to
plasma5-workspace|5.24.90-lp153.651.1

(on Opensuse LEAP 15.3 with the repos for the latest KDE product revisions
https://en.opensuse.org/SDB:KDE_repositories#KDE_Frameworks_5,_Plasma_5_and_Applications)


STEPS TO REPRODUCE
(This assumed, I did not go back in the revisons to try.)
1.  Have user with a configured taskbar (which in my case was on Opensuse Leap 15.3 with fresh KDE repos)
    Sometime I have a second monitor connected.
2.  Do the upgrade.
3.  (probably) Next start of the user showed the problem.

OBSERVED RESULT
Layout of panel as shown on screenshot.

Starting editing mode, trying to re-add or move the elements in the panel, they jump back to unusable
or partely refuse.

Removing the panel and readding a fresh one, trying to configure it to the same default, did not work.

EXPECTED RESULT
An upgrade should keep the configuration of the panel intact.
(Or at least allow to reconfigure it sanely, with starter icon left, virtual switcher, showing the windows, notifcation bar, clock , mini-app-starter, etc.)

SOFTWARE/OS VERSIONS
Operating System: openSUSE Leap 15.3
KDE Plasma Version: 5.24.90
KDE Frameworks Version: 5.94.0
Qt Version: 5.15.2
Kernel Version: 5.3.18-150300.59.68-default (64-bit)
Graphics Platform: X11


ADDITIONAL INFORMATION
Comment 1 galder 2022-06-12 10:59:32 UTC
this is tricky to reproduce.

I have been testing new panels in 5.25.90 and  5.25.0 I didn't notice any layout change.
I know that there is a know issue when panel have many icons and it cant resize them properly and suddenly they disappear.
I work around for this is to change the height until they have enough space and the problem disappear.
https://bugs.kde.org/show_bug.cgi?id=447603

In your case, I would say that could be due new settings problem. Maybe related to the actual distribution. 
Did you try to recreate the panel?

Operating System: Kubuntu 21.10
KDE Plasma Version: 5.25.0
KDE Frameworks Version: 5.95.0
Qt Version: 5.15.2
Kernel Version: 5.13.0-48-generic (64-bit)
Graphics Platform: X11
Processors: 8 × Intel® Core™ i7-7700HQ CPU @ 2.80GHz
Memory: 15.5 GiB of RAM
Graphics Processor: NVIDIA GeForce GTX 1060/PCIe/SSE2

Regards
Galder
Comment 2 Bernhard E. Reiter 2022-06-13 07:36:00 UTC
> I have been testing new panels in 5.25.90 and  5.25.0 I didn't notice any layout change.

Note that the problem was observed after I've upgraded from 5.24.5 to 5.24.90. (I am not 100% sure, this is guess work from the upgrade log, I want to avoid going back, if possible and I am not sure I could if I wanted to.)

> I work around for this is to change the height until they have enough space and the problem disappear.

I've tried to change the height. In my case, elements just do not stay where I want to position them,
they slide to the left or vanish again.

> In your case, I would say that could be due new settings problem. Maybe related to the actual distribution. 
> Did you try to recreate the panel?

Yes, with mixed results. So it was not satisfactory and after restarting I had the same problem.
Comment 3 galder 2022-06-13 09:08:37 UTC
hello,
try deleting the following files 
rm ~/.config/plasma-org.kde.plasma.desktop-appletsrc
rm ~/.config/plasmashellrc

then remove the panel
create  new one and restart the session
Comment 4 Bernhard E. Reiter 2022-06-13 12:47:38 UTC
> try deleting the following files 
> rm ~/.config/plasma-org.kde.plasma.desktop-appletsrc
> rm ~/.config/plasmashellrc
> 
> then remove the panel
> create  new one and restart the session

This got me my sane behaviour back, thanks for the instructions.
(a little bit strange was, that the "standard panel" had most stuff backwarts, e.g. the starter to the right, where I would have expected it left. But I could manually move things to places now.)

I suspect the second monitor which is only sometimes connected maybe a factor in reproducing the issue. 
The setup here is that if my second monitor is connected, it becomes primary and the secondary screen has a simple panel
only displaying the windows there.

I hope that other people do not run in the problem when doing an upgrade
(as I am running the "beta" versions, the whole idea is to find problems and resolve them before other users do).

 It is working for me now, after manual steps.
So how do we contine with the issue?
Comment 5 galder 2022-06-13 15:48:00 UTC
Glad to hear that is solved for you now.
>>>>>>(as I am running the "beta" versions, the whole idea is to find problems and resolve them before other users do).
Yeah but if we cant reproduce the issue properly is hard to get developers attention.

I know that some issues introduced in 5.24.5 has been solved for 5.25.0.(to be released on 14th of June)
I would just resolve the ticket and if you have same problem in 5.25.0, feel free to reopen it again.

Regards,
Galder
Comment 6 galder 2022-06-13 16:53:23 UTC
Looping Nate,
Maybe he already knows an existing issue with panel layouts.
Comment 7 Nate Graham 2022-06-13 16:55:40 UTC
Yes, this unfortunate regression in the beta has already been fixed in the 5.25 final release.

*** This bug has been marked as a duplicate of bug 454105 ***
Comment 8 galder 2022-06-13 19:43:18 UTC
thanks Nate
Comment 9 Bernhard E. Reiter 2022-06-14 06:12:46 UTC
Thanks Nate, thanks Galder!

(Hmm I wonder why I didn't see the previous report, maybe because it was already fixed and resolved, making a mental note to check the resolved issues explicitly next time.)