SUMMARY An empty panel has a flat button guiding the user to add widgets. On a non-floating panel, everything is fine. On a floating panel, however, the button is quite off-center, and on a defloated panel it is even worse, with text being cut off. It looks like the position adjustment for floating is applied twice. This is completely reproducible on a fresh profile here. STEPS TO REPRODUCE 1. Right click the desktop, Enter Edit Mode, Add Panel. 2. If the newly created panel is not at the top, move it to the top using Panel Configuration mode. 3. Exit Edit mode. OBSERVED RESULT The flat "Add Widgets..." button is positioned incorrectly, see the attachment EXPECTED RESULT The button is vertically centered, and completely within the panel containment. SOFTWARE/OS VERSIONS Current Neon Developer KDE Plasma Version: 6.1.80 KDE Frameworks Version: 6.4.0 Qt Version: 6.7.0 ADDITIONAL INFORMATION
Created attachment 170676 [details] Position of the Add Widget button for non-floating, floating, and defloated empty panel
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/2344
Git commit eb6d55a718d745dd1f64a3834b44c4e54904815f by Niccolò Venerandi, on behalf of Niccolo Venerandi. Committed on 26/06/2024 at 15:28. Pushed by niccolove into branch 'master'. Always center "Add Widgets" button on empty panels M +1 -9 containments/panel/contents/ui/main.qml https://invent.kde.org/plasma/plasma-desktop/-/commit/eb6d55a718d745dd1f64a3834b44c4e54904815f
Git commit c264cd884ee4c1a0d3ac672aabeedb10463b86a7 by Niccolò Venerandi. Committed on 26/06/2024 at 15:29. Pushed by niccolove into branch 'Plasma/6.1'. Always center "Add Widgets" button on empty panels (cherry picked from commit eb6d55a718d745dd1f64a3834b44c4e54904815f) Co-authored-by: Niccolo Venerandi <niccolo@venerandi.com> M +1 -9 containments/panel/contents/ui/main.qml https://invent.kde.org/plasma/plasma-desktop/-/commit/c264cd884ee4c1a0d3ac672aabeedb10463b86a7