Bug 493592 - Widget Explorer overlaps screen-edge autohide panel, making it non-trivial to add widgets
Summary: Widget Explorer overlaps screen-edge autohide panel, making it non-trivial to...
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Widget Explorer sidebar (show other bugs)
Version: 6.1.90
Platform: Other Linux
: HI normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2024-09-24 16:45 UTC by cwo
Modified: 2024-09-28 02:44 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description cwo 2024-09-24 16:45:06 UTC
SUMMARY

The Widget Explorer is usually on the left-hand side, but moves to the right for right-edge panels, making the movement required for dragging widgets shorter. However, this does not correctly handle auto-hide panels, and the Explorer is put directly over the panel so that widgets cannot be dragged to it. The only way to add widgets is to fly blind (i.e dding without positioning them) or to open the Widget Explorer for the desktop or another panel, then drag from there (which works as the Explorer is at the left edge).

The same seems to happen for left-edge autohide panels and the default location of the Widget Explorer.

STEPS TO REPRODUCE
1. Add an empty panel, move it to the right-hand screen edge, set it to autohide
2. Click the button "+" on the empty panel to show Widget Explorer

OBSERVED RESULT

Only Widget Explorer is visible.

EXPECTED RESULT

Widget Explorer and the panel are both visible.

SOFTWARE/OS VERSIONS
Operating System: TUXEDO OS 3
KDE Plasma Version: 6.1.90 (master from earlier today)
KDE Frameworks Version: 6.7.0
Qt Version: 6.7.2
Kernel Version: 6.11.0-100005-tuxedo (64-bit)
Graphics Platform: Wayland
Comment 1 Nate Graham 2024-09-25 01:54:01 UTC
Can reproduce.
Comment 2 Niccolò Venerandi 2024-09-26 07:56:10 UTC
Mhh, cannot reproduce. Any video showcasing the bug?
Comment 3 Niccolò Venerandi 2024-09-26 08:33:31 UTC
Ah, sorry, re-built master and can now reproduce. Must be very recent, possibly Marco's MR about auto-hide panels?
Comment 4 Nate Graham 2024-09-28 02:34:46 UTC
Git commit eb17d8b080bf3d78b320302901370b429baf55f9 by Nate Graham, on behalf of Niccolò Venerandi.
Committed on 28/09/2024 at 02:34.
Pushed by ngraham into branch 'master'.

Use strict available space for positioning widget explorer sidebar

Otherwise, it will overlap panels set as auto-hide.
FIXED-IN: 6.2.0

M  +5    -5    desktoppackage/contents/views/Desktop.qml

https://invent.kde.org/plasma/plasma-desktop/-/commit/eb17d8b080bf3d78b320302901370b429baf55f9
Comment 5 Nate Graham 2024-09-28 02:44:14 UTC
Git commit 45356877b591f22267c40051863ebba17169cf7f by Nate Graham.
Committed on 28/09/2024 at 02:35.
Pushed by ngraham into branch 'Plasma/6.2'.

Use strict available space for positioning widget explorer sidebar

Otherwise, it will overlap panels set as auto-hide.
FIXED-IN: 6.2.0


(cherry picked from commit eb17d8b080bf3d78b320302901370b429baf55f9)

4692e4b5 Use strict available space for positioning widget explorer sidebar

Co-authored-by: Niccolò Venerandi <niccolo@venerandi.com>

M  +5    -5    desktoppackage/contents/views/Desktop.qml

https://invent.kde.org/plasma/plasma-desktop/-/commit/45356877b591f22267c40051863ebba17169cf7f