Bug 200255

Summary: plasma-taskbar: manually arranged entries move back after changing desktops / task groups
Product: [Unmaintained] plasma4 Reporter: missive
Component: widget-taskbarAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: a.walland, amrecio, aseigo, asraniel, avg, brenddie, brendon, bugs-kde, contact, dap78, dion, drvladl, georg.wittenburg, ietc, iliaarpad, illissius, jreznik, kde, kde, kedadi, kleverness, leonp, michael, mmtsales, orionbelt2, pickscrape, robert.b.miller, rovfan, sfilleul, tomasz.kane, vkrevs, yoann.laissus, zerg2000-bugs.kde.org
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description missive 2009-07-15 01:56:28 UTC
Version:           unknown (using 4.3.60 (KDE 4.3.60 (KDE 4.4 >= 20090706)), compiled sources)
Compiler:          gcc
OS:                Linux (i686) release 2.6.28-13-generic

With the Task Manager set to "Sorting: Manual" tasks that have been arranged manually work properly as long as I stay on the same desktop.

Once I switch to another desktop, then switch back, the taskbar entries have moved back to where they were before I arranged them manually.

I also have grouping set to "Do not group" if that makes any difference.
Comment 1 ietc 2009-07-16 02:33:48 UTC
*** Bug 200390 has been marked as a duplicate of this bug. ***
Comment 2 ietc 2009-07-16 02:36:38 UTC
Confirming here from my duplicate bug:

Sometimes I notice that my entries have been rearranged even without
my switching virtual desktops.

I cannot really tell what the widget is trying to sort the tasks by.  It does
not appear to be the order in which they were opened and it certainly is not
being done alphabetically by program name.

KDE 4.2.96 (KDE 4.3 RC2) "release 142"
OpenSUSE 11.1
Comment 3 Vlad Lungeanu 2009-07-17 08:54:26 UTC
I confirm the bug on Kubuntu 9.04, with KDE 4.3 RC2.

My configuration for the Task Manager plasma widget is as follows:
- Grouping: Do Not Group
- Sorting: Manually
- Only show tasks from the current desktop

Compositing is disabled.
Comment 4 Oscar Fuentes 2009-08-05 17:46:02 UTC
Confirmed on Kubuntu 9.04 with KDE 4.3 final, same configuration as comment #3.
Comment 5 Dario Andres 2009-08-05 20:28:35 UTC
*** Bug 200584 has been marked as a duplicate of this bug. ***
Comment 6 Aaron J. Seigo 2009-08-06 00:02:31 UTC
*** Bug 201096 has been marked as a duplicate of this bug. ***
Comment 7 Aaron J. Seigo 2009-08-06 00:08:24 UTC
*** Bug 176848 has been marked as a duplicate of this bug. ***
Comment 8 Aaron J. Seigo 2009-08-06 00:19:34 UTC
*** Bug 199279 has been marked as a duplicate of this bug. ***
Comment 9 Dario Andres 2009-08-07 22:28:44 UTC
*** Bug 203014 has been marked as a duplicate of this bug. ***
Comment 10 Beat Wolf 2009-08-25 16:16:25 UTC
probably related
https://bugs.kde.org/show_bug.cgi?id=185887
Comment 11 Aaron J. Seigo 2009-08-27 14:27:57 UTC
*** Bug 205332 has been marked as a duplicate of this bug. ***
Comment 12 Alex 2009-08-28 16:34:24 UTC
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I can confirm that this bug persist on Fedora 10 x86_64 KDE 4.3.0-1 with latest updates.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkqX6ocACgkQ1KOfm1RDUTE6egCgiNgILs4OiOkAqNfj7ay9Yd5t
4pMAoLdEB9IB9P8fegYkWBRiA7iCx+vo
=AXzW
-----END PGP SIGNATURE-----
Comment 13 Alex 2009-08-30 22:10:40 UTC
I can also confirm that this feature worked just perfectly in KDE 4.2. This is very useful feature. Please fix it ASAP. Now task manager reorders applications in very unpredictable way after virtual desktop switch. It makes me nervous that applications are messed up every time.
Comment 14 Yoann Laissus 2009-09-01 16:58:41 UTC
This bug is still present in kde 4.3.1 with ubuntu jaunty (kubuntu-ppa packages).
It makes me nervous a lot too...
Comment 15 sebastien.f 2009-09-01 17:42:38 UTC
*** This bug has been confirmed by popular vote. ***
Comment 16 Brendon Higgins 2009-09-02 03:50:42 UTC
For the record, I believe this bug also applies to "Do Not Sort" (at least in 4.3.0), as well as sorting "Manually". I use "Do Not Sort", and frequently I find that the task manager forgets the order of items when I switch desktops. Very annoying to have to relearn where your apps live on the taskbar.
Comment 17 Yoann Laissus 2009-09-06 13:20:53 UTC
The bug 202562 is probably duplicated of this one.
https://bugs.kde.org/show_bug.cgi?id=202562

Beat Wolf :
> here is a patch (didn't check myself):
> 
> http://reviewboard.kde.org/r/1526/
Comment 18 Beat Wolf 2009-09-06 13:25:11 UTC
*** Bug 202562 has been marked as a duplicate of this bug. ***
Comment 19 Andriy Gapon 2009-09-06 16:42:30 UTC
I can confirm this problem with KDE 4.3.1 on FreeBSD.
Comment 20 Dario Andres 2009-09-16 20:33:23 UTC
*** Bug 207527 has been marked as a duplicate of this bug. ***
Comment 21 Dario Andres 2009-09-25 02:54:42 UTC
*** Bug 208404 has been marked as a duplicate of this bug. ***
Comment 22 sebastien.f 2009-09-28 16:18:06 UTC
Any news for this bug?
Please vote up this bug in order to have it solve more quickly.
It is really an annoying one.
Comment 23 Alex 2009-09-28 21:46:39 UTC
Yes, I agree. Very annoying bug. Please vote people to make KDE team to fix it more quicker.
Comment 24 Aaron J. Seigo 2009-09-28 22:26:42 UTC
patches are how to make things get fixed quicker. see http://reviewboard.kde.org/r/1526/
Comment 25 brenddie 2009-09-29 05:55:52 UTC
I can confirm this BUG on Fedora 11 KDE 4.3.1 . Its driving me crazy as I cant use workspaces anymore. I have around 25 to 30 windows open with no grouping in the taskbar. Switching workspaces, reloading the WindowManager or doing anything that causes the window list to get reloaded makes the taskbar shuffle all the windows. This pretty much stops me from using workspaces. Shuffling stuff randomly really sucks for usability.
http://forum.kde.org/viewtopic.php?f=66&t=82470
Comment 26 Robert B Miller 2009-10-29 16:10:42 UTC
I've already added my 20 votes. I can't believe this bug doesn't have a target date. OK, I realize that things aren't crashing and we can work around the problem. However, I also think that the comments here show how many of us use KDE in a structured, regimented, heavy work-load setting.
Comment 27 Beat Wolf 2009-10-29 16:25:32 UTC
the main problem is probably that the taskbar code is quite big and complicated, has many other bugs and the people that know the code have currently other projects in plasma. But "soon" feature freeze for kde 4.4 will be here, so there is a chance that bug gets fixed during that time
Comment 28 Aaron J. Seigo 2009-10-29 16:57:35 UTC
@Robert: "I can't believe this bug doesn't have a target date."

when i compare the # of items on our TODO lists and the # of people we have working on them, i can certainly believe it. also realize that (with some odd exceptions) we don't advertise "target dates" on any of the reports here. 

you do have a unique opportunity here, however: unlike some other software, this is f/oss and you can write a patch to fix it now instead of waiting for someone else to do it for you. the code is in kdebase/workspace/libs/taskmanager/
Comment 29 Dario Andres 2009-11-01 01:56:58 UTC
*** Bug 212477 has been marked as a duplicate of this bug. ***
Comment 30 Sebastien Chopin 2009-11-14 09:50:29 UTC
My configuration for the Task Manager plasma widget is as follows:
- Grouping: Do Not Group
- Sorting: Manually
- Only show tasks from the current desktop

I confirm that bug on my Mandriva 2010.0 64bits (KDE 4.3.2) and on Kubuntu 9.10 (KDE 4.3.2).
Comment 31 a.walland 2009-11-21 15:36:22 UTC
confirmed also in version 4.3.3 on arch linux x86_64
Comment 32 Yoann Laissus 2009-11-21 15:48:09 UTC
Any news about the inclusion of this patch : http://reviewboard.kde.org/r/1526/ in kde 4.4?
Comment 33 Yoann Laissus 2009-11-26 15:02:31 UTC
This bug is fixed in trunk !
http://websvn.kde.org/?view=revision&sortby=date&revision=1053974
Comment 34 Nicolas L. 2009-11-26 15:13:27 UTC
could it be backported into kde 4.3 ?
Comment 35 brenddie 2010-05-26 18:30:34 UTC
This BUG was not showing on 4.4.2 but it seems it came back in 4.4.3 Any one having problems again after updating to 4.4.3 ?
Comment 36 Yoann Laissus 2010-05-26 19:45:16 UTC
(In reply to comment #35)
> This BUG was not showing on 4.4.2 but it seems it came back in 4.4.3 Any one
> having problems again after updating to 4.4.3 ?

No problem with that for me. (KDE 4.4.3 from the kubuntu-updates ppa)
Comment 37 Bartosz Kwitniewski 2010-05-26 20:20:28 UTC
Works for me (tm). KDE 4.4.3, Arch Linux (64bit).

Show tooltips: off
Force row settings: off
Highlight windows: off
Maximum rows: 2
Grouping: manually
Sorting: maually
Only show tasks from the current desktop: on
Only show tasks from the current screen: off
Only show tasks that are minimized: off
Comment 38 Roland Pallai 2010-06-01 00:49:54 UTC
(In reply to comment #35)
> This BUG was not showing on 4.4.2 but it seems it came back in 4.4.3 Any one
> having problems again after updating to 4.4.3 ?

Yes, I had, but I found a workaround by Bartosz Kwitniewski's comment (#37).

Turn off "Only show tasks from the current screen". (It worked in 4.4.2)
Comment 39 brenddie 2010-06-01 03:21:54 UTC
I didnt want to turn off "Only show tasks from the current screen" expecting it would show all windows from all workspaces on the taskbar, something I didnt want. I tried turning it off and it does stops the shuffling BUG but it doesnt show all windows on the taskbar. Is this expected behavior or did I just got lucky?
Comment 40 Arpad Ilia 2010-08-03 12:19:33 UTC
On Kubuntu 10.4, using KDE 4.4.5.
I still seem to have the problem. I tried the setup in #37 to no effect. Whenever I switch desktop then switch back the taskbar seem to reset itself (thus undoing both manual grouping and manual ordering).

By the way I had it in KDE 4.4.2 as well.
Comment 41 Roland Pallai 2011-04-03 16:19:43 UTC
I think this problem reappeared in 4.6.1 (4.5.5 was OK) and there isn't workaround at this time. I'm using KDE (and Compiz instead of kwin) from the Fedora 14 repo.

Is it works for somebody?
Comment 42 Bartosz Kwitniewski 2011-04-03 16:37:24 UTC
It works OK for me when changing desktop/activities on Arch Linux 64 bit (KDE 4.6.1). I use kwin.

Taskbar settings:
Force row settings: no
Show tooltips: no
Highlight windows: no
Maximum rows: 2
Groupping: manually
Sorting: manually
Only show tasks from the current screen: no
Only show tasks from the current desktop: yes
Only show tasks from the current activity: yes
Only show tasks that are minimized: no
Comment 43 Roland Pallai 2011-04-03 17:26:35 UTC
Thanks for your hint.

I spent more time on this issue and seems like the main problem is not the workspace switching but new/closed applications at this time.

Now also clear that the unexpected reordering happens only when there's 2 or more rows (I force row settings with value 2). Also works for me if I've only 1 row.


My taskbar settings:
Force row settings: yes
Show tooltips: yes
Highlight windows: yes
Maximum rows: 2
Groupping: manually
Sorting: manually
Only show tasks from the current screen: no
Only show tasks from the current desktop: yes
Only show tasks from the current activity: yes
Only show tasks that are minimized: no
Comment 44 Trip Ericson 2011-06-21 17:33:50 UTC
Roland, it sounds like you're seeing behavior related to this bug:  https://bugs.kde.org/show_bug.cgi?id=215231
Comment 45 Dion Moult 2011-11-23 13:55:08 UTC
Hmm? I am experiencing this in 4.7.3.

Alt-drag an app on the taskbar onto another app. Group is created. Ctrl-f2 to go to second desktop, then Ctrl-f1 to go back to first desktop (where I did the grouping), and they are ungrouped.

Tried various combinations of settings such as for the "show only on screen" fix to no avail.