Bug 453862 - Context menu to remove the widget closes, not allowing to remove the widget
Summary: Context menu to remove the widget closes, not allowing to remove the widget
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Panel (other bugs)
Version First Reported In: 5.24.4
Platform: Kubuntu Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-05-15 23:40 UTC by Lastique
Modified: 2022-06-11 14:16 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In: 5.25
Sentry Crash Report:


Attachments
Screencast illustrating the problem. (1.22 MB, video/mp4)
2022-05-15 23:40 UTC, Lastique
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lastique 2022-05-15 23:40:51 UTC
Created attachment 148870 [details]
Screencast illustrating the problem.

SUMMARY

Sometimes, when I try to remove a widget from a panel, the menu disappears as I move the mouse over it. This prevents me from removing the widget. The only workaround I found is to move the widget to the desktop and remove it from there.

STEPS TO REPRODUCE
1. Have a widget on a panel. Doesn't really matter what widget it is.
2. Right-click on the panel and Enter Edit Mode.
3. Hover mouse over the widget. A context menu appears with the option to remove the widget.
4. Try to move the mouse over the menu to the remove option.

OBSERVED RESULT

Sometimes (often) the menu disappears as I move the mouse. See the attached screencast.

EXPECTED RESULT

The menu should stay open as long as the mouse cursor is over it.

SOFTWARE/OS VERSIONS

Operating System: Kubuntu 22.04
KDE Plasma Version: 5.24.4
KDE Frameworks Version: 5.92.0
Qt Version: 5.15.3
Kernel Version: 5.15.0-30-lowlatency (64-bit)
Graphics Platform: X11
Processors: 16 × 12th Gen Intel® Core™ i7-12700K
Memory: 31.1 GiB of RAM
Graphics Processor: NVIDIA GeForce RTX 2080 Ti/PCIe/SSE2
Comment 1 Nate Graham 2022-05-16 18:37:42 UTC
This should be fixed in Plasma 5.25 with the big panel code refactor.
Comment 2 Patrick Silva 2022-05-20 12:38:20 UTC
Unfortunately thig bug persists on Plasma 5.25 beta Wayland.

I was able to reproduce yesterday with these steps:
right-click on Plasma panel and choose 'Add widgets'
add these widgets to panel by clicking on them: trashcan, media frame, folder view  - they are added before kickoff icon
close the widget explorer
activate edit node of Plasma panel
now try to remove the previously added widgets
Comment 3 Lastique 2022-05-20 12:45:49 UTC
Should I reopen the bug?
Comment 4 Nate Graham 2022-05-23 14:39:32 UTC
Yeah. Cannot reproduce, though.

Can you check again with the final release in a month?
Comment 5 Fushan Wen 2022-05-23 16:00:55 UTC
Can't reproduce on X11. From the code (plasma-desktop/containments/panel/contents/ui/ConfigOverlay.qml) I can't find any obvious mistakes. 

If the menu suddenly disappears, it's likely the bug is not in the panel, but in the framework.
Comment 6 Patrick Silva 2022-06-11 13:59:14 UTC
On neon unstable the panel immediately leaves the edit mode when I hover over a widget.
Comment 7 Nate Graham 2022-06-11 14:16:38 UTC
Patrick's issue had a different root cause from the originally-reported issue, and it was fixed yesterday for Frameworks 5.25; the bug was never released to users, only people living on git master.

The original issue was likely fixed or at least changed by the big panel refactor in 5.25. Let's close this for now and re-open only if it happens again in 5.25.