Bug 443975

Summary: Dragging favorites icons in the application launcher causes overlapping
Product: [Plasma] plasmashell Reporter: Joseph DeGarmo <josephdegarmo76180>
Component: Application Launcher (Kickoff)Assignee: David Edmundson <kde>
Status: RESOLVED FIXED    
Severity: normal CC: 3myu405xj, 80p3fy75dc, bugseforuns, dabiswas112, dwoodfield, kde, mikel5764, nate, noahadvs, pizzadude, plasma-bugs, samuelsumukhreddy, sbmichael, this.is.reid
Priority: VHI Keywords: regression
Version: 5.23.0   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=444489
Latest Commit: Version Fixed In: 5.23.2.1
Attachments: Plasma 5.23 menu favorites bug.mp4
attachment-24821-0.html
attachment-28529-0.html
attachment-29266-0.html
Bug when dragging favourites in Application Launcher (Kickoff)
Reproduced and apparently fixes itself :)
attachment-29568-0.html
attachment-29792-0.html
attachment-1969-0.html
attachment-15750-0.html

Description Joseph DeGarmo 2021-10-18 13:16:59 UTC
SUMMARY
In the application launcher menu, when I drag a favorite icon to move it, it overlaps with another icon.

STEPS TO REPRODUCE
1. Hold left click on icon and move cursor to move the icon.
2. 
3. 

OBSERVED RESULT
Icon sits on top of another icon.

EXPECTED RESULT
Icon was supposed to push the other icons out of the way.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Arch Linux
(available in About System)
KDE Plasma Version: 5.23.0
KDE Frameworks Version: 5.87
Qt Version: 5.15.2

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2021-10-18 16:27:35 UTC
Cannot reproduce. Can you attach a screen recording, please?
Comment 2 Joseph DeGarmo 2021-10-18 16:35:59 UTC
Created attachment 142581 [details]
Plasma 5.23 menu favorites bug.mp4

Here is the video recording of the bug.

On Mon, Oct 18, 2021 at 11:27 AM Nate Graham <bugzilla_noreply@kde.org>
wrote:

> https://bugs.kde.org/show_bug.cgi?id=443975
>
> Nate Graham <nate@kde.org> changed:
>
>            What    |Removed                     |Added
>
> ----------------------------------------------------------------------------
>           Component|general                     |Application Launcher
>                    |                            |(Kickoff)
>                  CC|                            |mikel5764@gmail.com,
>                    |                            |nate@kde.org,
>                    |                            |plasma-bugs@kde.org
>             Product|kde                         |plasmashell
>    Target Milestone|---                         |1.0
>             Version|unspecified                 |5.23.0
>              Status|REPORTED                    |NEEDSINFO
>            Keywords|                            |regression
>            Assignee|unassigned-bugs@kde.org     |kde@davidedmundson.co.uk
>          Resolution|---                         |WAITINGFORINFO
>
> --- Comment #1 from Nate Graham <nate@kde.org> ---
> Cannot reproduce. Can you attach a screen recording, please?
>
> --
> You are receiving this mail because:
> You reported the bug.
Comment 3 Nate Graham 2021-10-18 16:40:30 UTC
That's strange. I see you're using plasmawindowed. Does it reproduce with a real widget?
Comment 4 Joseph DeGarmo 2021-10-18 16:42:06 UTC
Created attachment 142582 [details]
attachment-24821-0.html

It occurs on the full Plasma desktop in fullscreen. The video demonstration
was using a virtual machine.

On Mon, Oct 18, 2021 at 11:40 AM Nate Graham <bugzilla_noreply@kde.org>
wrote:

> https://bugs.kde.org/show_bug.cgi?id=443975
>
> --- Comment #3 from Nate Graham <nate@kde.org> ---
> That's strange. I see you're using plasmawindowed. Does it reproduce with a
> real widget?
>
> --
> You are receiving this mail because:
> You reported the bug.
Comment 5 Nate Graham 2021-10-18 17:09:06 UTC
Well that's odd then. I can't reproduce the issue with either a pointing device or a touchscreen.
Comment 6 Joseph DeGarmo 2021-10-18 17:16:03 UTC
Created attachment 142585 [details]
attachment-28529-0.html

The issue occurs using a mouse. Tested this on my host machine and virtual
machine with the same outcome.

On Mon, Oct 18, 2021 at 12:09 PM Nate Graham <bugzilla_noreply@kde.org>
wrote:

> https://bugs.kde.org/show_bug.cgi?id=443975
>
> Nate Graham <nate@kde.org> changed:
>
>            What    |Removed                     |Added
>
> ----------------------------------------------------------------------------
>          Resolution|WAITINGFORINFO              |---
>              Status|NEEDSINFO                   |REPORTED
>                  CC|                            |noahadvs@gmail.com
>
> --- Comment #5 from Nate Graham <nate@kde.org> ---
> Well that's odd then. I can't reproduce the issue with either a pointing
> device
> or a touchscreen.
>
> --
> You are receiving this mail because:
> You reported the bug.
Comment 7 Joseph DeGarmo 2021-10-18 17:23:28 UTC
Created attachment 142586 [details]
attachment-29266-0.html

Occurs in Arch Linux after upgrading from Plasma 5.22. Does not occur on
the latest KDE Neon live iso image.

On Mon, Oct 18, 2021 at 12:15 PM Joseph DeGarmo <
josephdegarmo76180@gmail.com> wrote:

> The issue occurs using a mouse. Tested this on my host machine and virtual
> machine with the same outcome.
>
> On Mon, Oct 18, 2021 at 12:09 PM Nate Graham <bugzilla_noreply@kde.org>
> wrote:
>
>> https://bugs.kde.org/show_bug.cgi?id=443975
>>
>> Nate Graham <nate@kde.org> changed:
>>
>>            What    |Removed                     |Added
>>
>> ----------------------------------------------------------------------------
>>          Resolution|WAITINGFORINFO              |---
>>              Status|NEEDSINFO                   |REPORTED
>>                  CC|                            |noahadvs@gmail.com
>>
>> --- Comment #5 from Nate Graham <nate@kde.org> ---
>> Well that's odd then. I can't reproduce the issue with either a pointing
>> device
>> or a touchscreen.
>>
>> --
>> You are receiving this mail because:
>> You reported the bug.
>
>
Comment 8 Nate Graham 2021-10-20 13:42:14 UTC
*** Bug 444035 has been marked as a duplicate of this bug. ***
Comment 9 Joseph DeGarmo 2021-10-20 13:47:36 UTC
I can confirm that the issue occurs in EndeavourOS as well, so it seems that any Arch-based distro has this issue.
Comment 10 Noah Davis 2021-10-20 13:50:21 UTC
I cannot reproduce the issue either, but I am on openSUSE Tumbleweed running git master KDE software.
Comment 11 80p3fy75dc 2021-10-20 14:56:38 UTC
Created attachment 142677 [details]
Bug when dragging favourites in Application Launcher (Kickoff)
Comment 12 80p3fy75dc 2021-10-20 14:57:43 UTC
(In reply to 80p3fy75dc from comment #11)
> Created attachment 142677 [details]
> Bug when dragging favourites in Application Launcher (Kickoff)

Same issue here on Arch Linux and Gentoo.

Display server: X11
KDE Plasma version: 5.23.1
KDE Frameworks version: 5.87.0
Qt Version: 5.15.2
Comment 13 Patrick Silva 2021-10-20 15:24:01 UTC
Can reproduce on Arch Linux and neon unstable.

Operating System: Arch Linux
KDE Plasma Version: 5.23.1
KDE Frameworks Version: 5.87.0
Qt Version: 5.15.2
Graphics Platform: Wayland
Comment 14 p d 2021-10-20 16:46:18 UTC
I have this issue also.

Fedora 35 KDE Beta with Zawertun KDE Copr repo.

Operating System: Fedora Linux 35
KDE Plasma Version: 5.23.1
KDE Frameworks Version: 5.87.0
Qt Version: 5.15.2
Kernel Version: 5.14.12-300.fc35.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 4 × Intel® Core™ i5-7300U CPU @ 2.60GHz
Memory: 7.6 GiB of RAM
Graphics Processor: Mesa Intel® HD Graphics 620
Comment 15 Nate Graham 2021-10-20 18:54:20 UTC
It's odd that Noah and I cannot reproduce the issue. :/
Comment 16 Kai Uwe Broulik 2021-10-20 19:11:54 UTC
I can reproduce, too.

Moreover, I'm unable to drag the first item in the grid but I suppose that's  separate bug.
Comment 17 Bug Janitor Service 2021-10-21 03:25:43 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/621
Comment 18 Nate Graham 2021-10-22 00:02:23 UTC
*** Bug 444215 has been marked as a duplicate of this bug. ***
Comment 19 Patrick Silva 2021-10-24 12:07:42 UTC
*** Bug 444302 has been marked as a duplicate of this bug. ***
Comment 20 Dipta Biswas 2021-10-24 12:41:33 UTC
Created attachment 142814 [details]
Reproduced and apparently fixes itself :)

Reproduced in
Operating System: EndeavourOS
KDE Plasma Version: 5.23.1
KDE Frameworks Version: 5.87.0
Qt Version: 5.15.2
Kernel Version: 5.14.14-arch1-1 (64-bit)
Graphics Platform: X11
Processors: 2 × AMD E2-9000e RADEON R2, 4 COMPUTE CORES 2C+2G
Memory: 3.3 GiB of RAM
Graphics Processor: AMD STONEY
Comment 21 Daniel 2021-10-24 21:42:39 UTC
On my system (neon 20.04), switching to a different submenu in Kickoff and then going back to Favorites appears to straighten everything out.  But it's still so annoying that it definitely needs resolving.
Comment 22 Noah Davis 2021-10-24 22:06:13 UTC
Git commit 70860fe8649b56b18301c90bc3c87b9406cc515d by Noah Davis.
Committed on 24/10/2021 at 22:05.
Pushed by ndavis into branch 'master'.

kickoff: Fix drag and drop causing delegates to reset to a 0 X position and overlap

M  +1    -1    applets/kickoff/package/contents/ui/KickoffGridView.qml
M  +3    -16   applets/kickoff/package/contents/ui/KickoffItemDelegate.qml
M  +1    -1    applets/kickoff/package/contents/ui/KickoffListView.qml

https://invent.kde.org/plasma/plasma-desktop/commit/70860fe8649b56b18301c90bc3c87b9406cc515d
Comment 23 Joseph DeGarmo 2021-10-26 20:17:53 UTC
Created attachment 142921 [details]
attachment-29568-0.html

Nope. Still not fixed unless you switch to a different subcategory then
back to favorites.

On Mon, Oct 25, 2021 at 11:03 AM Nate Graham <bugzilla_noreply@kde.org>
wrote:

> https://bugs.kde.org/show_bug.cgi?id=443975
>
> Nate Graham <nate@kde.org> changed:
>
>            What    |Removed                     |Added
>
> ----------------------------------------------------------------------------
>    Version Fixed In|                            |5.23.2
>
> --
> You are receiving this mail because:
> You reported the bug.
Comment 24 Nate Graham 2021-10-26 20:18:48 UTC
Joseph, are you using the Wayland session, or X11?
Comment 25 Joseph DeGarmo 2021-10-26 20:19:29 UTC
Created attachment 142922 [details]
attachment-29792-0.html

X11

On Tue, Oct 26, 2021 at 3:18 PM Nate Graham <bugzilla_noreply@kde.org>
wrote:

> https://bugs.kde.org/show_bug.cgi?id=443975
>
> --- Comment #24 from Nate Graham <nate@kde.org> ---
> Joseph, are you using the Wayland session, or X11?
>
> --
> You are receiving this mail because:
> You reported the bug.
Comment 26 Patrick Silva 2021-10-26 20:33:42 UTC
This bug also persists on Wayland after update to Plasma 5.23.2 on Arch Linux.
Comment 27 Noah Davis 2021-10-26 23:27:36 UTC
Oh darn, the commit wasn't actually cherry picked to 5.23.2
Comment 28 Noah Davis 2021-10-26 23:28:43 UTC
Git commit af9aeeccfa2a6efb16e4c5904768c55f97c022ff by Noah Davis.
Committed on 26/10/2021 at 23:28.
Pushed by ndavis into branch 'Plasma/5.23'.

kickoff: Fix drag and drop causing delegates to reset to a 0 X position and overlap


(cherry picked from commit 70860fe8649b56b18301c90bc3c87b9406cc515d)

M  +1    -1    applets/kickoff/package/contents/ui/KickoffGridView.qml
M  +3    -16   applets/kickoff/package/contents/ui/KickoffItemDelegate.qml
M  +1    -1    applets/kickoff/package/contents/ui/KickoffListView.qml

https://invent.kde.org/plasma/plasma-desktop/commit/af9aeeccfa2a6efb16e4c5904768c55f97c022ff
Comment 29 Nate Graham 2021-10-27 04:09:10 UTC
Since 5.23.4 is two weeks out, we should either ask Jonathan Riddell for a 5.23.2.1 which includes this, or email distributions@kde.org to ask distros to backport it manually.

Noah, can you do one of those?
Comment 30 Samuel Reddy 2021-10-27 05:01:48 UTC
Plasma 5.23.2 on Arch Linux does not fix the problem for me.
Comment 31 Joseph DeGarmo 2021-10-27 06:42:01 UTC
Created attachment 142931 [details]
attachment-1969-0.html

I think someone needs to create a fork of the Kicker menu as a widget.
Meanwhile, just use an alternate menu, such as the Application Dashboard or
Tiled Menu.

On Wed, Oct 27, 2021, 12:01 AM Samuel Reddy <bugzilla_noreply@kde.org>
wrote:

> https://bugs.kde.org/show_bug.cgi?id=443975
>
> Samuel Reddy <samuelsumukhreddy@gmail.com> changed:
>
>            What    |Removed                     |Added
>
> ----------------------------------------------------------------------------
>                  CC|                            |
> samuelsumukhreddy@gmail.com
>
> --- Comment #30 from Samuel Reddy <samuelsumukhreddy@gmail.com> ---
> Plasma 5.23.2 on Arch Linux does not fix the problem for me.
>
> --
> You are receiving this mail because:
> You reported the bug.
Comment 32 80p3fy75dc 2021-10-27 08:34:11 UTC
(In reply to Patrick Silva from comment #26)
> This bug also persists on Wayland after update to Plasma 5.23.2 on Arch
> Linux.

(In reply to Samuel Reddy from comment #30)
> Plasma 5.23.2 on Arch Linux does not fix the problem for me.

Same here on Arch Linux and Gentoo.
Comment 33 Patrick Silva 2021-10-27 14:41:08 UTC
On Arch Linux, package plasma-desktop 5.23.2-2 fixes the bug on X11.
But there is a bug possibly related to this fix on Wayland, see bug 444489.
Comment 34 Joseph DeGarmo 2021-10-27 17:17:08 UTC
Created attachment 142948 [details]
attachment-15750-0.html

It appears to have finally been fixed.

On Wed, Oct 27, 2021 at 9:41 AM Patrick Silva <bugzilla_noreply@kde.org>
wrote:

> https://bugs.kde.org/show_bug.cgi?id=443975
>
> --- Comment #33 from Patrick Silva <bugseforuns@gmx.com> ---
> On Arch Linux, package plasma-desktop 5.23.2-2 fixes the bug on X11.
> But there is a bug possibly related to this fix on Wayland, see bug 444489.
>
> --
> You are receiving this mail because:
> You reported the bug.
Comment 35 Patrick Silva 2021-10-28 02:20:03 UTC
*** Bug 444511 has been marked as a duplicate of this bug. ***