Bug 485243 - Dragging Widget from Desktop to Hidden Panel Causes Widget to get Stuck on the Desktop
Summary: Dragging Widget from Desktop to Hidden Panel Causes Widget to get Stuck on th...
Status: RESOLVED DUPLICATE of bug 487825
Alias: None
Product: plasmashell
Classification: Plasma
Component: Panel (show other bugs)
Version: 6.1.0
Platform: Arch Linux Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-08 20:13 UTC by Dashon
Modified: 2024-06-20 19:01 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Video of the Issue (3.90 MB, video/webm)
2024-04-08 20:32 UTC, Dashon
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dashon 2024-04-08 20:13:37 UTC
SUMMARY
 If I drag a widget from the desktop to my hidden top panel then that widget gets stuck on the desktop and I am no longer able to interact with it. If I drag it to the hidden bottom panel it gets added correctly. However dragging off of the hidden bottom panel and back to the desktop causes it to outright disappear. Restarting plasmashell fixes all the issues except for when the widget completely disappears. When that happens I just have to edit the config file and remove the widget from there. I've tested this with the network speed widget.
Related to https://bugs.kde.org/show_bug.cgi?id=482371

STEPS TO REPRODUCE
1. Have a top and bottom panel.
2. Set them both to authide.
3. Drag a widget to and from the hidden panels.

OBSERVED RESULT
Widget either gets stuck on the desktop in the case of dragging to the top panel or disappears forever in the case of dragging from the bottom panel.

EXPECTED RESULT
Widgets should migrate to and from panels without with getting stuck or disappearing.

SOFTWARE/OS VERSIONS
Operating System: EndeavourOS 
KDE Plasma Version: 6.0.3
KDE Frameworks Version: 6.0.0
Qt Version: 6.7.0
Kernel Version: 6.8.2-zen2-1-zen (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 5800X 8-Core Processor
Memory: 62.7 GiB of RAM
Graphics Processor: NVIDIA GeForce RTX 3080/PCIe/SSE2
Manufacturer: Micro-Star International Co., Ltd.
Product Name: MS-7C95
System Version: 1.0
Comment 1 Nate Graham 2024-04-08 20:24:51 UTC
Cannot reproduce in current git master; dragging an Analog Clock from the desktop to a hidden top panel works fine for me.

Any chance you could attach a screen recording that shows the issue?
Comment 2 Dashon 2024-04-08 20:32:15 UTC
Created attachment 168293 [details]
Video of the Issue
Comment 3 Dashon 2024-04-08 20:33:08 UTC
(In reply to Nate Graham from comment #1)
> Cannot reproduce in current git master; dragging an Analog Clock from the
> desktop to a hidden top panel works fine for me.
> 
> Any chance you could attach a screen recording that shows the issue?

I've added a screen recording. Hope this helps. Perhaps this could be a case of something wrong with the arch package or some commit not being backported?
Comment 4 Nate Graham 2024-04-08 20:34:17 UTC
Thanks. How extremely strange.

There's something I'm confused about in your video: when you enter edit mode, the screen flashes. Do you have any kwin effects or kwin rules active that could explain this?

Also, can you test in a clean user account to see if it reproduces there, or only in your currently customized user account?
Comment 5 Dashon 2024-04-08 20:36:23 UTC
(In reply to Nate Graham from comment #4)
> Thanks. How extremely strange.
> 
> There's something I'm confused about in your video: when you enter edit
> mode, the screen flashes. Do you have any kwin effects or kwin rules active
> that could explain this?
> 
> Also, can you test in a clean user account to see if it reproduces there, or
> only in your currently customized user account?

I believe the flash is the eye on screen effect. I liked that one better than the default window aperture. I'll test with a new user and see what happens give me just a few minutes.
Comment 6 Dashon 2024-04-08 20:42:09 UTC
Hi Nate, I tried with a new user and was still able to reproduce. Upon entering the clean environment, I performed the following steps:
1. Add an empty top panel.
2. Set the top panel to autohide.
3. Add analog clock widget to the desktop.
4. Drag analog clock widget to top panel which is currently in the hidden state.

The result is the same as my current environment. Perhaps I should test with a different widget.
Comment 7 Dashon 2024-04-08 20:46:08 UTC
I tried with the binary clock widget and got the same result as well. One thing that I just noticed is that when I was recording the video to show the issue, I didn't exit edit mode. When in edit mode, the panels do not autohide, the issue still occurred though. Perhaps the auto-hide setting being active at all causes the issue?
Comment 8 Dashon 2024-05-24 23:29:57 UTC
Decided to beta test plasma 6.1. Loving the new edit mode, but unfortunately it does not prevent or solve this bug.
Comment 9 Dashon 2024-06-19 19:58:09 UTC
Well now it doesn't get stuck on the desktop. It instead disappears entirely. If I drag the widget onto a panel whether in edit mode or not. That widget will disappear.
Comment 10 cwo 2024-06-20 13:41:47 UTC
Thank you for your bug report! There is another report covering the same root cause in a slightly different setting, with a fix being actively worked on. Please follow that report for further updates. If the fix (once released) does not resolve this issue after all, please feel free to reopen this or report it as a new bug.

*** This bug has been marked as a duplicate of bug 487825 ***
Comment 11 Dashon 2024-06-20 19:01:03 UTC
(In reply to cwo from comment #10)
> Thank you for your bug report! There is another report covering the same
> root cause in a slightly different setting, with a fix being actively worked
> on. Please follow that report for further updates. If the fix (once
> released) does not resolve this issue after all, please feel free to reopen
> this or report it as a new bug.
> 
> *** This bug has been marked as a duplicate of bug 487825 ***

Thank you for linking me to the right place. I know it must be a lot of work to sort through so many duplicates.