Created attachment 156300 [details] widget rezises when moved too close to panel STEPS TO REPRODUCE 1. Set panel height at which this bug reproduces 2. Try to move widget under the panel OBSERVED RESULT Widget changes size EXPECTED RESULT Widget size stays the same SOFTWARE/OS VERSIONS Operating System: Arch Linux KDE Plasma Version: 5.27.0 KDE Frameworks Version: 5.103.0 Qt Version: 5.15.8 Kernel Version: 6.1.12-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
I'm trying to reproduce this but I cannot. You've mentioned this bug only occurs when the panel is set at a certain height but this detail is missing from the report. Can you please provide it so we can try and reproduce the issue?
(In reply to Justin Zobel from comment #1) > I'm trying to reproduce this but I cannot. You've mentioned this bug only > occurs when the panel is set at a certain height but this detail is missing > from the report. Can you please provide it so we can try and reproduce the > issue? I have bottom panel with height set to 44. But it reproduces at nearly half of different heights for me.
This happens because widgets are internally snapped to a grid. That grid is less granular than the configurability allowed by the panel. The result of this is that for certain panel thicknesses, it's possible for widgets to be almost touching the panel, and for other panel thicknesses, it isn't. Our options are: 1. Allow widgets to not be snapped to a grid (Bug 358418) 2. Reduce panel thickness granularity to match the desktop widget grid size I don't think people would appreciate #2 at all, so out only option to improve this is to do #1, which means implementing that's requested in Bug 358418. Marking as a duplicate of that one. *** This bug has been marked as a duplicate of bug 358418 ***