Bug 365846 - Sorting by DnD broken if not done slow
Summary: Sorting by DnD broken if not done slow
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Icons-only Task Manager (show other bugs)
Version: master
Platform: openSUSE Linux
: NOR normal
Target Milestone: 1.0
Assignee: Eike Hein
URL: https://zippy.gfycat.com/SpitefulHigh...
Keywords:
Depends on:
Blocks:
 
Reported: 2016-07-19 07:39 UTC by Fabian Vogt
Modified: 2016-09-20 01:40 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Fabian Vogt 2016-07-19 07:39:10 UTC
When dragging items in the icons-only task manager with not quite slow mouse movements,
various glitches can be observed: The dragged item changes, sometimes it glitches and sometimes even random items swap position (not in the video though).

Also, after a restart the taskmanager does not remember some of the icons positions.
I did not open a separate report for that as I believe that issue is related.

Reproducible: Always
Comment 1 Eike Hein 2016-07-19 07:47:41 UTC
Does this happen only when dragging pinned tasks, not-pinned tasks, or both?
Comment 2 Fabian Vogt 2016-07-19 07:49:15 UTC
It does not matter what kind of task I drag.
Comment 3 Fabian Vogt 2016-07-19 07:57:59 UTC
I forgot to mention: This is a regression as it worked just fine before 5.7.0 (so before the new taskmanager backend)
Comment 4 Fabian Vogt 2016-07-23 12:48:17 UTC
This happens on all my systems updated to 5.7.x, so it's not dependant on the configuration/cache.
Comment 5 Fabian Vogt 2016-07-27 09:05:00 UTC
Just installed latest plasma (-desktop, -workspace(-libs), -frameworks) from git and the issue is the same.
Comment 6 Eike Hein 2016-07-27 22:10:02 UTC
>  Also, after a restart the taskmanager does not remember some of the icons positions.

Those would obviously only be remembered for pinned tasks, FWIW.
Comment 7 Fabian Vogt 2016-07-28 05:45:40 UTC
(In reply to Eike Hein from comment #6)
> >  Also, after a restart the taskmanager does not remember some of the icons positions.
> 
> Those would obviously only be remembered for pinned tasks, FWIW.

Yes, as I said in comment 2, both kinds of tasks are affected.
My guess is that there is some mismatch between the visible position and the internal one.
Comment 8 lmk 2016-08-26 19:47:17 UTC
Same here https://gfycat.com/FragrantEasygoingFlounder 
I even see some rearrangements if i run application after this from dockbar.
Comment 9 Eike Hein 2016-09-03 21:36:32 UTC
Thanks for your reports, hopefully we get to fixing this soon.
Comment 10 Eike Hein 2016-09-15 12:25:36 UTC
I tried to reproduce this today but haven't been able to so far.
Comment 11 Fabian Vogt 2016-09-15 12:44:00 UTC
I am able to reproduce this issue on Plasma alsmost-5.7.95, with a clean, default config.
By replacing the task manager with the icons only one and opening several windows for testing (kwrite, firefox, qt dbus viewer, qtconfig, dolphin and konsole) the issue appears when dragging items around quickly.
Comment 12 Eike Hein 2016-09-16 09:48:47 UTC
AIUI though you were able to verify it only happens on Qt 5.6.x, right? Seems all 5.7+ users can't reproduce it.

Personally I'm not able to support Qt 5.6.x any longer.
Comment 13 lmk 2016-09-17 13:18:25 UTC
Hello! 5.7 is hard masked on gentoo. So you can confirm that it is qt 5.6 problem?
Comment 14 Fabian Vogt 2016-09-17 13:25:23 UTC
(In reply to lmk from comment #13)
> Hello! 5.7 is hard masked on gentoo. So you can confirm that it is qt 5.6
> problem?

Not with 100% certainty, but I haven't come across this issue on Qt 5.7 yet.
Comment 15 Eike Hein 2016-09-17 13:26:21 UTC
I can't reproduce it (5.7/5.8) and Kai can't either, and for Fabian it went away when switching to 5.7.
Comment 16 Bob Wya 2016-09-17 16:27:43 UTC
(In reply to lmk from comment #13)
> Hello! 5.7 is hard masked on gentoo. So you can confirm that it is qt 5.6
> problem?

It runs OK... It's only masked for minor build issues (i.e. Quality Control):
https://bugs.gentoo.org/show_bug.cgi?id=589412
# Michael Palimaka <kensington@gentoo.org> (12 Aug 2016)
# Requires revdeps to build with at least C++11. Bug 589412.
# Masked for wider testing.

But it's running as well as any Qt 5.x version on my Gentoo install (i.e. all the old bugs are still present :-) )
Comment 17 lmk 2016-09-20 01:28:19 UTC
hello! can confirm that switching to qt 5.7 did the trick. Thank you.