Bug 451015 - Non-maximized non-centered panel fails to stick to a screen edge as it should
Summary: Non-maximized non-centered panel fails to stick to a screen edge as it should
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Panel (other bugs)
Version First Reported In: 5.24.2
Platform: Arch Linux Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-03-01 21:56 UTC by Vladislav
Modified: 2023-09-18 18:55 UTC (History)
2 users (show)

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


Attachments
observed behaviour (16.38 KB, image/png)
2022-03-01 21:56 UTC, Vladislav
Details
expected behaviour (15.89 KB, image/png)
2022-03-01 21:57 UTC, Vladislav
Details
it works in other corner (20.51 KB, image/png)
2022-03-02 10:59 UTC, Vladislav
Details

Note You need to log in before you can comment on or make changes to this bug.
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!