Bug 454863 - While dragging widgets from Widget Explorer to a Panel, Kickoff opens its popup instead of moving out of the way when the dragged widget passes over it for a moment
Summary: While dragging widgets from Widget Explorer to a Panel, Kickoff opens its pop...
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Application Launcher (Kickoff) widget (show other bugs)
Version: 5.24.90
Platform: Other Other
: NOR minor
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-06-05 06:44 UTC by Kishore Gopalakrishnan
Modified: 2025-01-24 16:45 UTC (History)
7 users (show)

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


Attachments
Screen recording showing the bug (2.77 MB, video/x-matroska)
2022-07-02 14:16 UTC, Kishore Gopalakrishnan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kishore Gopalakrishnan 2022-06-05 06:44:32 UTC
SUMMARY
Usually while adding widgets to a panel, if you hover over an existing plasmoid, it will move to the left/right allowing you to add the new plasmoid in the desired position. However, the 'application launcher' plasmoid (the K menu) just activates itself instead of moving out of the way when the user hovers on it.

STEPS TO REPRODUCE
1. Have a panel with an 'application launcher' plasmoid
2. Right-click on the panel > Add widgets
3. Drag any widget from the sidebar that appears, and without releasing the mouse button, hold it on top of the application launcher

OBSERVED RESULTS
The application launcher menu is opened

EXPECTED RESULTS
The application launcher plasmoid should move out of the way, allowing the user to add the new widget to its left/right (just like the other plasmoids behave)

ADDITIONAL INFORMATION
Plasmoids which exhibit this buggy behaviour:
- Application launcher
- Activities (the one that opens the sidebar)
- Virtual desktop pager

SOFTWARE VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.24.90
KDE Frameworks Version: 5.94.0
Qt Version: 5.15.4
Kernel Version: 5.15.43-1-lts (64-bit)
Graphics Platform: X11
Processors: 4 × AMD EPYC-Rome Processor
Memory: 1.4 GiB of RAM
Graphics Processor: virgl
Manufacturer: QEMU
Product Name: Standard PC (Q35 + ICH9, 2009)
System Version: pc-q35-5.1
Comment 1 Kishore Gopalakrishnan 2022-06-19 05:14:04 UTC
Should I file separate bugs for the activities button and the application launcher (since the component has been changed to 'pager')?
Comment 2 Nate Graham 2022-06-21 16:05:32 UTC
Oops, I missed "Panel"  and clicked on "Pager".

Cannot reproduce in the final 5.25 release. Can you?
Comment 3 Kishore Gopalakrishnan 2022-06-25 16:23:13 UTC
(In reply to Nate Graham from comment #2)
> Oops, I missed "Panel"  and clicked on "Pager".
> 
> Cannot reproduce in the final 5.25 release. Can you?

I can reproduce it on both X11 and Wayland.

Operating System: Arch Linux
KDE Plasma Version: 5.25.1
KDE Frameworks Version: 5.95.0
Qt Version: 5.15.5
Kernel Version: 5.15.49-1-lts (64-bit)

I can also reproduce it on KDE Neon Unstable.
Comment 4 Nate Graham 2022-06-27 16:17:07 UTC
I still cannot. Can you attach a screen recording that shows the issue? That might be illuminating.
Comment 5 Kishore Gopalakrishnan 2022-07-02 14:16:28 UTC
Created attachment 150339 [details]
Screen recording showing the bug

Here is a screen recording showing the bug.

SOFTWARE VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.25.2
KDE Frameworks Version: 5.95.0
Qt Version: 5.15.5
Kernel Version: 5.15.51-1-lts (64-bit)
Graphics Platform: X11
Comment 6 Nate Graham 2022-07-05 14:12:11 UTC
Thanks for the video, that's helpful. I was under the mistaken impression that you were in Edit Mode, because I was thinking of a different bug that involved this happening while in Edit Mode.

I can reproduce the issue, but only with Kickoff. Moving to Kickoff since it seems like the issue happens there.
Comment 7 Nate Graham 2023-12-08 22:58:27 UTC
Can still reproduce in Plasma 6.
Comment 8 Bug Janitor Service 2025-01-23 21:43:51 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/2742
Comment 9 Bug Janitor Service 2025-01-24 06:12:38 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/2744
Comment 10 Nate Graham 2025-01-24 16:41:34 UTC
Git commit c54dd3e28b244d1f8aa396036b400947b8674c4c by Nate Graham, on behalf of Noah Davis.
Committed on 24/01/2025 at 16:41.
Pushed by ngraham into branch 'master'.

kickoff: fix external drag and drop, avoid conflicts with plasmoid dragging

Dragging a file or folder into kickoff's favorites view now adds the file/folder
to favorites. Kickoff now only takes drag events with the text/uri-list mimetype.
It should be noted that dragging task manager icons into kickoff will not work
because the task manager doesn't use text/uri-list.
Related: bug 467587
FIXED-IN: 6.3.0

M  +27   -10   applets/kickoff/package/contents/ui/KickoffDropArea.qml
M  +6    -1    applets/kickoff/package/contents/ui/main.qml

https://invent.kde.org/plasma/plasma-desktop/-/commit/c54dd3e28b244d1f8aa396036b400947b8674c4c
Comment 11 Noah Davis 2025-01-24 16:45:02 UTC
Git commit 38e34e9f9a41f554eb1bddfcd77a4aacb701b984 by Noah Davis.
Committed on 24/01/2025 at 16:44.
Pushed by ndavis into branch 'Plasma/6.3'.

kickoff: fix external drag and drop, avoid conflicts with plasmoid dragging

Dragging a file or folder into kickoff's favorites view now adds the file/folder
to favorites. Kickoff now only takes drag events with the text/uri-list mimetype.
It should be noted that dragging task manager icons into kickoff will not work
because the task manager doesn't use text/uri-list.
Related: bug 467587
FIXED-IN: 6.3.0


(cherry picked from commit c54dd3e28b244d1f8aa396036b400947b8674c4c)

a9f16812 kickoff: fix external drag and drop, avoid conflicts with plasmoid dragging

Co-authored-by: Noah Davis <noahadvs@gmail.com>

M  +27   -10   applets/kickoff/package/contents/ui/KickoffDropArea.qml
M  +6    -1    applets/kickoff/package/contents/ui/main.qml

https://invent.kde.org/plasma/plasma-desktop/-/commit/38e34e9f9a41f554eb1bddfcd77a4aacb701b984