Bug 505137 - Activity pager widget forgets horizontal size and is too wide at logon
Summary: Activity pager widget forgets horizontal size and is too wide at logon
Status: REPORTED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Pager widget (other bugs)
Version First Reported In: 6.3.5
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-06-02 19:27 UTC by M. Schlegel
Modified: 2025-06-04 07:55 UTC (History)
5 users (show)

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


Attachments
Showing the abnormal size (at login) (49.34 KB, image/png)
2025-06-02 19:27 UTC, M. Schlegel
Details
snap of activity pager config General page (63.16 KB, image/png)
2025-06-03 19:42 UTC, M. Schlegel
Details
activity pager widget for testuser after relogin (131.27 KB, image/png)
2025-06-03 19:54 UTC, M. Schlegel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description M. Schlegel 2025-06-02 19:27:39 UTC
Created attachment 181970 [details]
Showing the abnormal size (at login)

SUMMARY
Activity pager widget shows very wide at every login, has to be manually resized in the horizontal direction which is then forgotten on the next logon becoming too wide again

STEPS TO REPRODUCE
1. install Activity Pager widget plasmoid
2. Size it to the preferred size
3. Logout and back in

OBSERVED RESULT
After sizing and logout, login, Activity Pager gets very wide in the horizontal direction. Vertical size is correct


EXPECTED RESULT
Plasmoids should remember user adjusted size across boot ups

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 42
KDE Plasma Version: 6.3.5
KDE Frameworks Version: 6.14.0
Qt Version: 6.9.0
Kernel Version: 6.16.0-0.rc0.250529g90b83efa6701.6.fc43.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 4800H with Radeon Graphics
Memory: 15.0 GiB of RAM
Graphics Processor 1: AMD Radeon Graphics
Graphics Processor 2: AMD Radeon RX 5500M


ADDITIONAL INFORMATION
A similar bug was recently fixed for Sticky Notes
https://bugs.kde.org/show_bug.cgi?id=495306
Comment 1 TraceyC 2025-06-03 17:20:54 UTC
I wasn't able to reproduce this on git-master or Fedora 42.

Can you share a screenshot of the settings for your activity pager widget?
Also, are you able to reproduce this with a new user and the same activities setup and same pager setup?
Comment 2 M. Schlegel 2025-06-03 19:42:05 UTC
Created attachment 182007 [details]
snap of activity pager config General page

That's the general page, there are no Keyboard shortcuts defined
Comment 3 M. Schlegel 2025-06-03 19:54:09 UTC
Created attachment 182008 [details]
activity pager widget for testuser after relogin

I created a new user "testuser", logged in and only did:

1. Used "Enter Edit Mode" to add an Activity Pager widget
2. created three activities like I had on my real account
3. logged out and logged back in.
4. Widget was wider like in the bug report on the normal account
Comment 4 TraceyC 2025-06-03 21:13:50 UTC
Thanks for the additional details. I'll let someone more knowledgeable about the widget look further into it.
Comment 5 M. Schlegel 2025-06-03 22:52:08 UTC
~/.config/plasma-org.kde.plasma.desktop-appletsrc

I was noticing this file changes timestamp right when I drag the widget to a different size. So I copied it to a copy (pda), then resized it again and copied it again (pda1)

diff  pda pda1
11c11
< ItemGeometries-1920x1080=Applet-53:0,0,160,96,0;Applet-29:0,96,96,128,0;Applet-40:160,0,208,96,0;Applet-49:1088,0,608,384,0;Applet-27:1712,0,192,256,0;Applet-28:1696,256,208,240,0;Applet-32:0,640,288,176,0;
---
> ItemGeometries-1920x1080=Applet-53:0,0,304,96,0;Applet-29:0,96,96,128,0;Applet-40:128,128,208,96,0;Applet-49:1088,0,608,384,0;Applet-27:1712,0,192,256,0;Applet-28:1696,256,208,240,0;Applet-32:0,640,288,176,0;
17c17
< ItemGeometriesHorizontal=Applet-53:0,0,160,96,0;Applet-29:0,96,96,128,0;Applet-40:160,0,208,96,0;Applet-49:1088,0,608,384,0;Applet-27:1712,0,192,256,0;Applet-28:1696,256,208,240,0;Applet-32:0,640,288,176,0;
---
> ItemGeometriesHorizontal=Applet-53:0,0,304,96,0;Applet-29:0,96,96,128,0;Applet-40:128,128,208,96,0;Applet-49:1088,0,608,384,0;Applet-27:1712,0,192,256,0;Applet-28:1696,256,208,240,0;Applet-32:0,640,288,176,0;
Comment 6 cwo 2025-06-04 07:55:34 UTC
I think this is a binding order issue - the applet at first doesn't know it's supposed to be in two rows (and arguably it shouldn't be, it seems to inherit that from the virtual desktop settings but that doesn't necessarily make sense), then sizes itself to accommodate three activities at that height (making it much wider), then figures out it's two rows and that it needs much less space, but at that point it's already larger and doesn't shrink back.

Really, the whole pager thing probably needs to be rethought for desktop widget use, it probably shouldn't change size at all because that can really mess with things. Might be tricky to get reasonable behavior in all cases though.