Bug 490687

Summary: On X11 and wayland with multiple screens, desktop widget sizes change after login
Product: [Plasma] plasmashell Reporter: wschmock <wschmock>
Component: ContainmentAssignee: Plasma Bugs List <plasma-bugs-null>
Status: CONFIRMED ---    
Severity: normal CC: cwo.kde, dave, kde, kdedev, kde_bugtracker.3o1kp, nate, notmart, rly07, rsquared42
Priority: NOR Keywords: multiscreen, X11-only
Version First Reported In: 5.27.5   
Target Milestone: 1.0   
Platform: Debian stable   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Miniprogram sizes
attachment-1414756-0.html
attachment-1457849-0.html
attachment-1499576-0.html
widget intended size
widget with default sensor names
wide widget

Description wschmock 2024-07-23 05:21:04 UTC
Created attachment 171921 [details]
Miniprogram sizes

***
If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***

SUMMARY
Miniprograms sizes

STEPS TO REPRODUCE
1. 
2. 
3. 

OBSERVED RESULT


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 cwo 2024-09-13 14:50:59 UTC
Attached file is text as follows:
----

the settings of the sizes from Miniprograms like CPU usage and others  are not correct saved. after  reboot they have other sizes. the are then to large.

----

Can you be a bit more specific? Is this about Plasma widgets on the desktop or on the panel? Which version of Plasma are you using?
Comment 2 wschmock 2024-09-14 05:25:08 UTC
Created attachment 173646 [details]
attachment-1414756-0.html

debian 12.7,  Systemminiprogramms:  CPU , network, memory
mit freundlichem Gruß
Wolfgang Schmock
Am 13.09.24 um 16:50 schrieb cwo:
> https://bugs.kde.org/show_bug.cgi?id=490687
>
> cwo<Christoph.Wolk@gmx.de>  changed:
>
>             What    |Removed                     |Added
> ----------------------------------------------------------------------------
>             Assignee|unassigned-bugs@kde.org      |plasma-bugs@kde.org
>            Component|general                     |general
>              Product|kde                         |plasmashell
>                   CC|                            |Christoph.Wolk@gmx.de,
>                     |                            |kde@davidedmundson.co.uk
>           Resolution|---                         |WAITINGFORINFO
>               Status|REPORTED                    |NEEDSINFO
>     Target Milestone|---                         |1.0
>              Version|unspecified                 |master
>
> --- Comment #1 from cwo<Christoph.Wolk@gmx.de>  ---
> Attached file is text as follows:
> ----
>
> the settings of the sizes from Miniprograms like CPU usage and others  are not
> correct saved. after  reboot they have other sizes. the are then to large.
>
> ----
>
> Can you be a bit more specific? Is this about Plasma widgets on the desktop or
> on the panel? Which version of Plasma are you using?
>
Comment 3 cwo 2024-09-14 08:16:16 UTC
Danke.

Ich nehme an die Miniprogramme sind auf dem Desktop und nicht z.B. auf einer Leiste?

Sind mehrere Bildschirme involviert? X11 oder Wayland?
Comment 4 wschmock 2024-09-14 08:42:05 UTC
Created attachment 173648 [details]
attachment-1457849-0.html

ja, Desktop und mehreren Bildschirmen ,

X11 oder Wayland? beides installiert, ich finde nicht was aktiv ist.

mit freundlichem Gruß
Wolfgang Schmock
Am 14.09.24 um 10:16 schrieb cwo:
> https://bugs.kde.org/show_bug.cgi?id=490687
>
> --- Comment #3 from cwo<Christoph.Wolk@gmx.de>  ---
> Danke.
>
> Ich nehme an die Miniprogramme sind auf dem Desktop und nicht z.B. auf einer
> Leiste?
>
> Sind mehrere Bildschirme involviert? X11 oder Wayland?
>
Comment 5 cwo 2024-09-14 09:14:01 UTC
Das Programm "kinfo" sollte (im Terminal) alle relevanten Systeminfos zeigen, auch on X11 oder Wayland. Mit GUI geht es üver Systemeinstellungen > Über dieses System.
Comment 6 wschmock 2024-09-14 09:39:36 UTC
root@k4l:/# kinfo
Operating System: Debian GNU/Linux 12
KDE Plasma Version: 5.27.5
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8
Kernel Version: 6.1.0-25-amd64 (64-bit)
Graphics Platform: offscreen

ich kann zu X11 oder wayland nichts finden
mit freundlichem Gruß
Wolfgang Schmock
Am 14.09.24 um 11:14 schrieb cwo:
> https://bugs.kde.org/show_bug.cgi?id=490687
>
> --- Comment #5 from cwo <Christoph.Wolk@gmx.de> ---
> Das Programm "kinfo" sollte (im Terminal) alle relevanten Systeminfos zeigen,
> auch on X11 oder Wayland. Mit GUI geht es üver Systemeinstellungen > Über
> dieses System.
>
Comment 7 wschmock 2024-09-14 09:52:24 UTC
gefunden:  X11
mit freundlichem Gruß
Wolfgang Schmock
Comment 8 cwo 2024-09-14 10:01:02 UTC
Danke! Taucht der Fehler auch mit Wayland auf? Beim Einloggen kann man dies auswählen.

----

I've updated the summary and fields with the  information provided so far. Bug 474932 may be related, and there are a couple of similar reports e.g. bug 431432) but those should already be fixed in 5.27.5.
Comment 9 wschmock 2024-09-14 11:27:39 UTC
Created attachment 173652 [details]
attachment-1499576-0.html

ich finde beim Einloggen keine Auswahl
mit freundlichem Gruß
Wolfgang Schmock
Am 14.09.24 um 12:01 schrieb cwo:
> https://bugs.kde.org/show_bug.cgi?id=490687
>
> cwo<Christoph.Wolk@gmx.de>  changed:
>
>             What    |Removed                     |Added
> ----------------------------------------------------------------------------
>               Status|NEEDSINFO                   |REPORTED
>              Version|master                      |5.27.5
>              Summary|Miniprograms sizes          |On X11 with multiple
>                     |                            |screens, desktop widget
>                     |                            |sizes change after login
>             Platform|Other                       |Debian stable
>           Resolution|WAITINGFORINFO              |---
>
> --- Comment #8 from cwo<Christoph.Wolk@gmx.de>  ---
> Danke! Taucht der Fehler auch mit Wayland auf? Beim Einloggen kann man dies
> auswählen.
>
> ----
>
> I've updated the summary and fields with the  information provided so far. Bug
> 474932 may be related, and there are a couple of similar reports e.g. bug
> 431432) but those should already be fixed in 5.27.5.
>
Comment 10 David S 2024-10-14 19:02:16 UTC
I have this same issue and found this report after searching. Im running OpenSuse except with Wayland, not X11. Widgets such as CPU Usage, Weather, Notes etc grow in size and move after reboot. Gets worse over time. Happens on both my desktop and laptop.

Would be more than willing to provide more details where needed
Comment 11 TraceyC 2025-02-24 17:59:08 UTC
Adding the x11-only keyword
Comment 12 Randall Rude 2025-04-03 20:31:29 UTC
I am not able to reproduce this on Kubuntu 25.04 beta except for the sticky notes (see bug 499050 which also affects wayland):

Operating System: Kubuntu 25.04
KDE Plasma Version: 6.3.4
KDE Frameworks Version: 6.12.0
Qt Version: 6.8.3
Kernel Version: 6.14.0-13-generic (64-bit)
Graphics Platform: X11
Processors: 8 × Intel® Core™ i7-3770 CPU @ 3.40GHz
Memory: 7.7 GiB of RAM
Graphics Processor: llvmpipe
Manufacturer: Dell Inc.
Product Name: XPS 8500

This is a dual display machine.  I put sticky notes, total cpu usage, individual core usage, and weather widgets on each display.  The size of each widget was customized from the default.  Logged out and logged back in using x11.  The widgets all retained their configured size except for the sticky notes (bug 499050).  Repeated five times and observed no size issues with the non-note applets.
Comment 13 David S 2025-04-03 21:11:09 UTC
This is happening with my media widget on OpenSuse Tumbleweed. I run two displays and only have widgets on the one. It keeps widening over time bit by bit. Just the media one
Comment 14 Randall Rude 2025-04-03 21:43:43 UTC
Hi David, please post your system configuration (System Settings/About this system and copy to clipboard) in a comment here.

Is the media widget on the primary display?

I added the media widget to both of my displays, but do not see any change in the media widget size when logging in to an x11 session (I tested six logins on the system from comment #12).
Comment 15 Nate Graham 2025-04-04 14:35:54 UTC
Unfortunately Plasma 5.27 is not supported anymore. Is any of this reproducible in Plasma 6.3 or later?
Comment 16 Randall Rude 2025-04-04 17:14:29 UTC
I reproduced this on Kubuntu 25.04 beta (Plasma 6.3.4) using both x11 and wayland.

Positioned a media widget above the core usage widget and sized them both to the minimum configurable width of the media widget.  Logged out and back in.  The media widget was wider than the core widget after login.
Comment 17 TraceyC 2025-04-07 16:28:43 UTC
*** Bug 501639 has been marked as a duplicate of this bug. ***
Comment 18 TraceyC 2025-04-07 16:30:32 UTC
In the other bug report, this was also reproduced on

Linux/KDE Plasma: secureblue (based on Fedora Atomic) 41 - Kinoite 
KDE Plasma Version: 6.3.3
KDE Frameworks Version: 6.12.0
Qt Version: 6.8.2
Comment 19 rLy 2025-11-18 18:09:21 UTC
This still happens on 6.5.3 
Recently I noticed that the resize happens due to the text on on the widget. Currently I have CPU/RAM usage along with network monitor and some disk usage. By default the network monitor when adding the dl/up rate it will have a name like this: "Wired connection 1 Download Rate" and "Wired connection 1 Upload Rate" but still displayed as "Download" and "Upload" when the widget is small enough.
With these default sensor names, it will resize itself if the chosen size is too small. This happens immediately after applying/saving the changes (going back to default name from a custom one) and also after restarts every time. If I rename the sensors to only like "Download" and "Upload", it keeps the size across restarts.
Also there's some additional weirdness with the text in the legend because even if the widget is wide enough, one of the text has the full sensor name while the other only have "Download"


Operating System: Arch Linux 
KDE Plasma Version: 6.5.3
KDE Frameworks Version: 6.20.0
Qt Version: 6.10.0
Kernel Version: 6.17.8-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 9800X3D 8-Core Processor
Memory: 64 GiB of RAM (62.3 GiB usable)
Graphics Processor: AMD Radeon RX 7900 XTX
Manufacturer: Micro-Star International Co., Ltd.
Product Name: MS-7E47
System Version: 1.1
Comment 20 rLy 2025-11-18 18:10:35 UTC
Created attachment 186927 [details]
widget intended size
Comment 21 rLy 2025-11-18 18:11:23 UTC
Created attachment 186928 [details]
widget with default sensor names

resized widget after applying default sensor names
Comment 22 rLy 2025-11-18 18:12:12 UTC
Created attachment 186929 [details]
wide widget

wide widget not displaying both sensor names with full text