Bug 437040 - Latte-Tasks: Pinned Applications Cannot Be Reordered Properly When Running
Summary: Latte-Tasks: Pinned Applications Cannot Be Reordered Properly When Running
Status: RESOLVED FIXED
Alias: None
Product: lattedock
Classification: Unmaintained
Component: plasmoid (other bugs)
Version First Reported In: git (master)
Platform: Manjaro Linux
: NOR normal
Target Milestone: ---
Assignee: Michail Vourlakos
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-05-13 12:14 UTC by abandonnone223
Modified: 2021-06-18 02:28 UTC (History)
2 users (show)

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


Attachments
Recording of buggy tasks behavior (1.27 MB, video/mp4)
2021-05-13 12:14 UTC, abandonnone223
Details
No buggy behavior with plasm panel and icons-only task manager (759.02 KB, video/x-matroska)
2021-05-13 23:29 UTC, abandonnone223
Details

Note You need to log in before you can comment on or make changes to this bug.
Description abandonnone223 2021-05-13 12:14:39 UTC
Created attachment 138386 [details]
Recording of buggy tasks behavior

SUMMARY
Attempting to reorder running, pinned applications within latte-tasks results in the creation of a non-user controllable group of all running pinned applications which cannot be reordered with other items in the latte-tasks applet 

STEPS TO REPRODUCE
1. Pin application launchers to latte-tasks plasmoid
2. Launch multiple pinned applications
3. Attempt to drag-and-drop application to new location on dock (bug #1 occurs)
4. Attempt to drag-and-drop applications out of the grouped running application (bug #2 occurs)
5. Close a running pinned app (bug #3 occurs)

OBSERVED RESULT
** See attached video **
When a pinned app is running in the latte-tasks plasmoid, attempting to reorder the application using the mouse experiences multiple bugs, namely
1) After dragging and dropping a running, pinned application to a new location, all running pinned apps move to the beginning of the dock, distinct from both non-running pinned apps and running non-pinned apps (in the video, OBS is not pinned but running)
2) Once grouped at the beginning of the dock, any running pinned applications cannot be moved out of the group of running pinned apps (running apps can be reordered within the group, and non-running pinned apps can be reordered as usual)
3) When a running pinned application is closed, it moves out of the group and returns to its baseline position in the dock and can be moved like any other non-pinned application

EXPECTED RESULT
Running, pinned applications can be reordered with other pinned applications

SOFTWARE/OS VERSIONS
Linux Kernel Version: 5.10.32-1
KDE Plasma Version: 5.21.4 (X11)
KDE Frameworks Version: 5.81.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
Comment 1 Michail Vourlakos 2021-05-13 12:33:28 UTC
Dont you have the same behavior with plasma icon-only taskmanager?
Comment 2 abandonnone223 2021-05-13 12:43:31 UTC
(In reply to Michail Vourlakos from comment #1)
> Dont you have the same behavior with plasma icon-only taskmanager?

The plasma icon-only taskmanager does not seem to be affected, only latte-tasks
Comment 3 Michail Vourlakos 2021-05-13 13:10:37 UTC
(In reply to abandonnone223 from comment #2)
> (In reply to Michail Vourlakos from comment #1)
> > Dont you have the same behavior with plasma icon-only taskmanager?
> 
> The plasma icon-only taskmanager does not seem to be affected, only
> latte-tasks

Latte does not provide its own solution for tasks and launchers. They both use plasma libtaskmanager for this.
Comment 4 abandonnone223 2021-05-13 13:17:02 UTC
(In reply to Michail Vourlakos from comment #3)
> (In reply to abandonnone223 from comment #2)
> > (In reply to Michail Vourlakos from comment #1)
> > > Dont you have the same behavior with plasma icon-only taskmanager?
> > 
> > The plasma icon-only taskmanager does not seem to be affected, only
> > latte-tasks
> 
> Latte does not provide its own solution for tasks and launchers. They both
> use plasma libtaskmanager for this.

I reattempted with a fresh plasma icon-only task manager as you suggested, and I was incorrect before - this bug also happens for icon-only task manager. Sorry for misreporting earlier!
Comment 5 Michail Vourlakos 2021-05-13 15:56:58 UTC
(In reply to abandonnone223 from comment #4)
> (In reply to Michail Vourlakos from comment #3)
> > (In reply to abandonnone223 from comment #2)
> > > (In reply to Michail Vourlakos from comment #1)
> > > > Dont you have the same behavior with plasma icon-only taskmanager?
> > > 
> > > The plasma icon-only taskmanager does not seem to be affected, only
> > > latte-tasks
> > 
> > Latte does not provide its own solution for tasks and launchers. They both
> > use plasma libtaskmanager for this.
> 
> I reattempted with a fresh plasma icon-only task manager as you suggested,
> and I was incorrect before - this bug also happens for icon-only task
> manager. Sorry for misreporting earlier!

please update the plasma versions in conflict and also provide a way to reproduce this with plasma panels and plasma icon-only taskmanager. That will help plasma devs to track the issue.
Comment 6 abandonnone223 2021-05-13 23:29:37 UTC
Created attachment 138400 [details]
No buggy behavior with plasm panel and icons-only task manager
Comment 7 abandonnone223 2021-05-13 23:30:38 UTC
(In reply to Michail Vourlakos from comment #5)
> (In reply to abandonnone223 from comment #4)
> > (In reply to Michail Vourlakos from comment #3)
> > > (In reply to abandonnone223 from comment #2)
> > > > (In reply to Michail Vourlakos from comment #1)
> > > > > Dont you have the same behavior with plasma icon-only taskmanager?
> > > > 
> > > > The plasma icon-only taskmanager does not seem to be affected, only
> > > > latte-tasks
> > > 
> > > Latte does not provide its own solution for tasks and launchers. They both
> > > use plasma libtaskmanager for this.
> > 
> > I reattempted with a fresh plasma icon-only task manager as you suggested,
> > and I was incorrect before - this bug also happens for icon-only task
> > manager. Sorry for misreporting earlier!
> 
> please update the plasma versions in conflict and also provide a way to
> reproduce this with plasma panels and plasma icon-only taskmanager. That
> will help plasma devs to track the issue.

I believe this is the most recent Plasma version available in the stable repos. I was able to reproduce in Latte dock with icons-only task manager, but with the Plasma panel and icons-only task manager this behavior is not observed (see attached video #2)
Comment 8 Michail Vourlakos 2021-05-14 04:21:22 UTC
AUR version is one years old, are you sure you are using latest git version?
Comment 9 Michail Vourlakos 2021-05-21 17:07:12 UTC
make sure to update to Latte 0.9.91 to confirm this bug
Comment 10 Bug Janitor Service 2021-06-05 04:33:32 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 11 abandonnone223 2021-06-18 02:28:46 UTC
(In reply to Michail Vourlakos from comment #9)
> make sure to update to Latte 0.9.91 to confirm this bug

Thanks for your help. I'm running latte-dock-git (https://aur.archlinux.org/packages/latte-dock-git), which was most recently updated 05/30/2021. After performing a package update, it appears this issue has been resolved. I can't figure out what latte-dock version it is, but the Arch package version is r5484.9790b0cd-1. The Plasma version is 5.21.5. 

It seems like this issue is no longer present. If you need any more info, please let me know and I will try to provide it!