Bug 465352 - Widgets doesn't align with the dock
Summary: Widgets doesn't align with the dock
Status: CLOSED INTENTIONAL
Alias: None
Product: plasmashell
Classification: Plasma
Component: Containment (show other bugs)
Version: 5.26.90
Platform: Arch Linux Linux
: NOR normal
Target Milestone: 1.0
Assignee: Vladislav
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-02-06 00:27 UTC by Vladislav
Modified: 2023-02-08 20:39 UTC (History)
2 users (show)

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


Attachments
widget behaves wierdly when moved close to dock (416.96 KB, video/mp4)
2023-02-06 00:27 UTC, Vladislav
Details
widget alligned with the dock (72.55 KB, image/png)
2023-02-08 20:33 UTC, Vladislav
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vladislav 2023-02-06 00:27:37 UTC
Created attachment 155988 [details]
widget behaves wierdly when moved close to dock

SUMMARY
Widgets can't be adjacent to dock as it could in older versions.
Also it decreases height when moved close to dock.
It behaves as intended on some dock heights. I have it set to 44 to get this bug.
May be was fixed with https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/2535 but I can't test it.

STEPS TO REPRODUCE
1. Place widget on desktop
2. Change dock height to 44 or something
3. Try to put widget as low as you could

OBSERVED RESULT
Widget have some padding above the dock

EXPECTED RESULT
Lower bound of the widget perfectly aligns with dock 

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 5.26.90
KDE Frameworks Version: 5.102.0
Qt Version: 5.15.8
Kernel Version: 6.1.9-zen1-1-zen (64-bit)
Graphics Platform: X11
Processors: 12 × AMD Ryzen 5 4600H with Radeon Graphics
Memory: 15.0 GiB of RAM
Graphics Processor: AMD Radeon Graphics
Manufacturer: LENOVO
Product Name: 82EY
System Version: IdeaPad Gaming 3 15ARH05
Comment 1 Nate Graham 2023-02-07 18:01:22 UTC
Some of these issues are indeed resolved by https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/2535, but it's intentional that there's a bit of space between the Panel and desktop widgets.
Comment 2 Vladislav 2023-02-08 20:33:21 UTC
Created attachment 156086 [details]
widget alligned with the dock

You actually can align it with panel on different heights, so since it inconsistent it doesn't seem to be intended.
Comment 3 Nate Graham 2023-02-08 20:39:24 UTC
It *is* intended. If we align perfectly, then we have to offset the grid based on the panel height. Doing that was one cause of widgets moving around after boot.