Bug 426928 - Position of widgets on a panel is sometimes not saved during sessions
Summary: Position of widgets on a panel is sometimes not saved during sessions
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Panel (other bugs)
Version First Reported In: 5.19.90
Platform: Neon Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-09-24 14:43 UTC by Jan Rathmann
Modified: 2022-12-08 17:17 UTC (History)
1 user (show)

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


Attachments
First screenshot - panel after moving clock to the right (1.58 MB, image/png)
2020-09-24 14:43 UTC, Jan Rathmann
Details
Second screenshot - panel after log out/log in again, clock position change was forgotten and is now on the left again (1.58 MB, image/png)
2020-09-24 14:46 UTC, Jan Rathmann
Details
Recording of new panel with clock widget, failing to move it to the right (838.55 KB, video/webm)
2022-12-08 13:06 UTC, Jan Rathmann
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Rathmann 2020-09-24 14:43:38 UTC
Created attachment 131908 [details]
First screenshot - panel after moving clock to the right

SUMMARY
If I add widgets to a panel and move its widget to desired position, this position is not always remembered after logging out.

STEPS TO REPRODUCE
1. Right click on desktop -> Add Panel -> Empy Panel (appears on top of the screen)
2. Right click on panel -> Add Widget -> Digital clock
3. Clock is now at the left end of the panel
4. Right click on panel -> Edit Panel
5. Move clock widget so that it is aligned to right end of the panel
6. Close edit mode. The clock is now on the right panel edg (first screenshot).
7. Log out and log in again.

OBSERVED RESULT
The clock widget is now suddenly on the left panel edge again.

EXPECTED RESULT
The clock widget should still be on the right panel edge where it was moved to.

SOFTWARE/OS VERSIONS
KDE Plasma Version: 5.19.90
KDE Frameworks Version: 5.75.0
Qt Version: 5.15.0

ADDITIONAL INFORMATION
Tested with live session and fresh installation of neon-unstable-20200920-0330.iso
Comment 1 Jan Rathmann 2020-09-24 14:46:13 UTC
Created attachment 131909 [details]
Second screenshot - panel after log out/log in again, clock position change was forgotten and is now on the left again
Comment 2 Jan Rathmann 2021-03-12 15:36:05 UTC
Can still reproduce on current Neon unstable.
Comment 3 veggero 2022-12-07 15:31:35 UTC
There has been some fixes about this since the last message. May I ask you if you can still reproduce the bug?
Comment 4 Jan Rathmann 2022-12-08 08:51:34 UTC
(In reply to veggero from comment #3)
> There has been some fixes about this since the last message. May I ask you
> if you can still reproduce the bug?

Ok, I tried again, but for now I'm not able to get past step 5 of my reproduction instructions in the opening post. When I have added a clock widget, it always gets added to the very left side of the panel, and I haven't found a way anymore to move it to the right! Even setting the panel alignment from left to right doesn't change anything.

So basically, it seems like I can't reproduce the bug because of another bug.

Tested on:
* Neon stable live image (Virtualbox)
* Neon unstable live image (Virtualbox)
* Kubuntu 22.10 + Backports PPA on real HW
Comment 5 veggero 2022-12-08 12:00:05 UTC
(In reply to Jan Rathmann from comment #4)
> (In reply to veggero from comment #3)
> > There has been some fixes about this since the last message. May I ask you
> > if you can still reproduce the bug?
> 
> Ok, I tried again, but for now I'm not able to get past step 5 of my
> reproduction instructions in the opening post. When I have added a clock
> widget, it always gets added to the very left side of the panel, and I
> haven't found a way anymore to move it to the right! Even setting the panel
> alignment from left to right doesn't change anything.
> 
> So basically, it seems like I can't reproduce the bug because of another bug.
> 
> Tested on:
> * Neon stable live image (Virtualbox)
> * Neon unstable live image (Virtualbox)
> * Kubuntu 22.10 + Backports PPA on real HW

Oh-oh. Can you post a video of that?
Comment 6 Jan Rathmann 2022-12-08 13:06:57 UTC
Created attachment 154426 [details]
Recording of new panel with clock widget, failing to move it to the right

@veggero
Here is a video where I create a new empty panel, add a clock widget and fail to move it to right panel side.
Comment 7 veggero 2022-12-08 13:13:33 UTC
Ooh, that's actually by design!  You're right it's a bit confusing, I'll see if I can improve it. You can right align that widget by adding a spacer first.
Comment 8 Jan Rathmann 2022-12-08 17:17:01 UTC
Ok, if I add a spacer it will move the clock widget to the right panel edge as desired. If that's by design the way it should work, then I can't reproduce the bug anymore for now - the panel configuration stays the same as it should after log out/log in :)