Bug 489460 - Drag&drop of widget to panel closes Panel Configuration mode if left-edge panel is set to custom height
Summary: Drag&drop of widget to panel closes Panel Configuration mode if left-edge pan...
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Panel (show other bugs)
Version: master
Platform: Other Linux
: NOR minor
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-29 19:57 UTC by cwo
Modified: 2024-08-28 07:28 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description cwo 2024-06-29 19:57:26 UTC
SUMMARY

It is possible to drag&drop widgets from the desktop to the panel while in Panel Configuration mode without closing that mode. However, if the user tries to do this to a left-edge panel set to custom height, Panel Configuration mode closes as the pointer enters the panel resizing bar. If the user tries to drag to a bottom custom-width panel, the mode does not close, but abandoning the drag&drop operation (moving the pointer back to the original position without dropping the widget on the panel) will close it,


STEPS TO REPRODUCE

New user profile

1. Right-click desktop, Enter Edit Mode, Add widget, Place Analog Clock on the desktop
2. Right-click panel, Show Panel Configuration, move to left screen edge, set height to custom 
3. Drag&Drop Analog Clock to the panel

(Similarly for the bottom panel variant)

OBSERVED RESULT

Panel Configuration mode closes.

EXPECTED RESULT

Panel Configuration mode stays open, as it does if panel Height is set to "Fill height". 

SOFTWARE/OS VERSIONS

Operating System: KDE neon Unstable Edition
KDE Plasma Version: 6.1.80
KDE Frameworks Version: 6.4.0
Qt Version: 6.7.0
Kernel Version: 6.5.0-41-generic (64-bit)
Graphics Platform: Wayland
Comment 1 Nate Graham 2024-07-02 21:00:59 UTC
Can reproduce.
Comment 2 Bug Janitor Service 2024-07-14 13:55:13 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/4520
Comment 3 Niccolò Venerandi 2024-08-28 07:28:41 UTC
Git commit 7e9c6cc5aa1b69fbcf9c16778e572170937259e4 by Niccolò Venerandi, on behalf of Niccolo Venerandi.
Committed on 28/08/2024 at 07:28.
Pushed by niccolove into branch 'master'.

Never hide panel configuration when handling desktop widgets

M  +7    -0    shell/panelconfigview.cpp

https://invent.kde.org/plasma/plasma-workspace/-/commit/7e9c6cc5aa1b69fbcf9c16778e572170937259e4