Bug 451015

Summary: Non-maximized non-centered panel fails to stick to a screen edge as it should
Product: [Plasma] plasmashell Reporter: Vladislav <nullzert.null>
Component: PanelAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: kinofhek, nate
Priority: NOR    
Version First Reported In: 5.24.2   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 6.0
Sentry Crash Report:
Attachments: observed behaviour
expected behaviour
it works in other corner

Description Vladislav 2022-03-01 21:56:34 UTC
Created attachment 147229 [details]
observed behaviour

SUMMARY
Panel doesn't sticking to the right edge of screen when:
1. alignment set to center, it placed on top/bottom, it not fully stretched
2. alignment set to right, it placed on bottom, it not fully stretched

STEPS TO REPRODUCE
1. Create empty panel
2. Place it on bottom
3. Select alignment to right
4. Reduce it's size to right
5. Move it to right side of screen

OBSERVED RESULT
Panel has 1 pixel wide spacing from right border and has rounded corner on right

EXPECTED RESULT
Panel has the same look on right side as it been fully stretched 

SOFTWARE/OS VERSIONS
OS: Arch Linux x86_64
KDE Plasma Version: 5.24.2
KDE Frameworks Version: 5.91.0
Qt Version: 5.15.2
Comment 1 Vladislav 2022-03-01 21:57:18 UTC
Created attachment 147230 [details]
expected behaviour
Comment 2 Felipe Kinoshita 2022-03-02 00:35:26 UTC
If you right click on the panel > enter edit mode > more options > maximize panel resolves your problem?
Comment 3 Vladislav 2022-03-02 08:22:28 UTC
(In reply to Felipe Kinoshita from comment #2)
> If you right click on the panel > enter edit mode > more options > maximize
> panel resolves your problem?

No, it should be not maximized and rounded only on one side (it works like than on other corners but not here)
Comment 4 Vladislav 2022-03-02 10:59:41 UTC
Created attachment 147239 [details]
it works in other corner

In top-right corner it works as expected.
Comment 5 Nate Graham 2022-03-14 18:20:49 UTC
X11 or Wayland? If it's on X11, can you see if it happens on Wayland too?
Comment 6 Vladislav 2022-03-22 12:12:03 UTC
(In reply to Nate Graham from comment #5)
> X11 or Wayland? If it's on X11, can you see if it happens on Wayland too?

no difference on Wayland
Comment 7 Nate Graham 2022-03-24 03:28:55 UTC
I can reproduce this issue if I make the panel right-aligned and not maximized.
Comment 8 Nate Graham 2023-09-18 18:55:59 UTC
Can no longer reproduce the issue in Plasma 6, so it looks like all the recent refactoring has fixed it!