Bug 422946 - Many widgets lose their sizes and positions on the screen after changing Plasma layout
Summary: Many widgets lose their sizes and positions on the screen after changing Plas...
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Containment (other bugs)
Version First Reported In: 5.24.90
Platform: Arch Linux Linux
: NOR normal
Target Milestone: 1.0
Assignee: Marco Martin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-06-14 02:47 UTC by Patrick Silva
Modified: 2025-08-02 16:28 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
before layout change (854.61 KB, image/png)
2020-06-14 02:47 UTC, Patrick Silva
Details
after layout change (576.13 KB, image/png)
2020-06-14 02:48 UTC, Patrick Silva
Details
screen recording on neon unstable (2.15 MB, video/webm)
2020-07-14 15:30 UTC, Patrick Silva
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Silva 2020-06-14 02:47:20 UTC
Created attachment 129335 [details]
before layout change

STEPS TO REPRODUCE
1. addd any of the new system monitor widgets to desktop
2. right-click on wallpaper, choose "Configure desktop..."
3. change layout setting and click on "Ok" button

OBSERVED RESULT
system monitor widget no longer works correctly.
It works as expected again if Plasma or Plasma session is restarted.
Please compare the attached screenshots showing before and after the layout change.

EXPECTED RESULT
all widgets are still working correctly after Plasma layout change

SOFTWARE/OS VERSIONS
SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 5.19.0
KDE Frameworks Version: 5.70.0
Qt Version: 5.15.0
Comment 1 Patrick Silva 2020-06-14 02:48:31 UTC
Created attachment 129336 [details]
after layout change
Comment 2 Marco Martin 2020-07-13 16:21:44 UTC
doesn't appear to be reproducible in master, so probably needs a 5.19 specific fix
Comment 3 Patrick Silva 2020-07-14 15:30:22 UTC
Created attachment 130117 [details]
screen recording on neon unstable

Currently the problem is a bit different on neon unstable.
The sensors continue working after I change the Plasma layout, but their colors change to black (widgets with Text Only and Horizontal Bars display styles are not affected) and the widgets titles change to generics "Bar/Line/Pie Chart", "Text only" and "Horizontal bars" until Plasma is restarted.
Watch the attached screen recording please.

Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.19.80
KDE Frameworks Version: 5.73.0
Qt Version: 5.14.2
Comment 4 Patrick Silva 2020-09-18 16:54:28 UTC
cannot reproduce with Plasma 5.20 beta.

Operating System: Arch Linux
KDE Plasma Version: 5.19.90
KDE Frameworks Version: 5.74.0
Qt Version: 5.15.1
Comment 5 Patrick Silva 2020-10-11 13:47:18 UTC
ops, it's still happening at least on Wayland sesison.

Operating System: Arch Linux
KDE Plasma Version: 5.19.90
KDE Frameworks Version: 5.74.0
Qt Version: 5.15.1
Comment 6 Patrick Silva 2021-05-16 12:07:34 UTC
Still an issue.

Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.22.80
KDE Frameworks Version: 5.83.0
Qt Version: 5.15.2
Graphics Platform: Wayland
Comment 7 Nate Graham 2025-01-09 20:03:23 UTC
This isn't still happening today with Plasma 6.3 (or the beta), right?
Comment 8 Patrick Silva 2025-01-09 22:50:35 UTC
On Plasma 6.3 beta, System Monitor widgets lose their sizes and positions on the screen after changing Plasma layout.

Operating System: Arch Linux 
KDE Plasma Version: 6.2.90
KDE Frameworks Version: 6.10.0
Qt Version: 6.9.0
Graphics Platform: Wayland
Comment 9 Nate Graham 2025-01-13 17:51:30 UTC
Just these widgets? Or any/all desktop widgets?
Comment 10 Patrick Silva 2025-01-13 17:59:56 UTC
Not tested all widgets, but at least analog clock, weather report and Media Player are also affected.
Comment 11 Nate Graham 2025-01-13 18:02:54 UTC
Thanks. As I suspected, this is a general issue with widget positioning on the desktop.
Comment 12 TraceyC 2025-01-21 19:30:37 UTC
I was able to reproduce this in git-master, on a laptop using a single display, Wayland

1. Add a couple of System Monitor widgets to the desktop (it had been Folder View)
2. Right click the desktop and go to Desktop and Wallpaper
3. Change the Layout, apply

Result: System Monitor widgets have changed size and position
Comment 13 Patrick Silva 2025-08-02 16:28:36 UTC
Cannot reproduce anymore.

Operating System: KDE neon Unstable Edition
KDE Plasma Version: 6.4.80
KDE Frameworks Version: 6.18.0
Qt Version: 6.9.1
Graphics Platform: Wayland