Bug 378675 - Windows can only be dragged when first dragging down
Summary: Windows can only be dragged when first dragging down
Status: RESOLVED UPSTREAM
Alias: None
Product: plasmashell
Classification: Plasma
Component: Pager widget (show other bugs)
Version: 5.8.6
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: Eike Hein
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-04-11 21:17 UTC by Rolf Eike Beer
Modified: 2017-07-09 10:24 UTC (History)
1 user (show)

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


Attachments
Video of error (1.56 MB, video/mp4)
2017-04-25 19:07 UTC, Rolf Eike Beer
Details
appletsrc (3.56 KB, text/plain)
2017-04-26 19:49 UTC, Rolf Eike Beer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rolf Eike Beer 2017-04-11 21:17:54 UTC
I have 2 monitors, 8 virtual desktops, and a vertical panel with a pager. When I want to drag a window to a different virtual desktop this only works if I first drag the window down until it is shown as moving, and then drag it up. If I click on it and start dragging it up immediately the window does not move.

I have this on 2 different hosts.
Comment 1 Eike Hein 2017-04-13 10:55:57 UTC
I can't reproduce this, the drag direction makes no difference here. Please attach a video.
Comment 2 Rolf Eike Beer 2017-04-25 19:07:02 UTC
Created attachment 105191 [details]
Video of error

I tried to drag 4 times, the 3rd one failed (that when the mouse just moves upwards).
Comment 3 Rolf Eike Beer 2017-04-25 19:07:54 UTC
Here it is.
Comment 4 Eike Hein 2017-04-26 09:03:06 UTC
That's the Task Manager, not the Pager.
Comment 5 Eike Hein 2017-04-26 09:41:51 UTC
Or maybe it isn't ... I'm really confused by what I'm seeing. Would you mind attaching your appletsrc for good measure?
Comment 6 Rolf Eike Beer 2017-04-26 19:49:33 UTC
Created attachment 105211 [details]
appletsrc
Comment 7 Eike Hein 2017-04-28 09:56:52 UTC
Thanks. I recreated your setup now, but I can't reproduce the problem with either the 5.8 branch or the master branch currently.
Comment 8 Eike Hein 2017-04-28 09:59:03 UTC
Could you add your Qt version? I'm dimly wondering if this is some Qt-related mouse state bug (we've had some in the past) that causes the previous drag to sort of not terminate well and the press for the subsequent one to be ignored. Does this ever happen on the very first drag, or only after another one?
Comment 9 Rolf Eike Beer 2017-04-28 10:02:55 UTC
Qt 5.7.0 on one machine, will check the other one later (but probably 
the same).

> Does this ever happen on the very first drag, or only after another 
> one?

I don't remember seeing this work on the first move, but I'll 
explicitely check later.
Comment 10 Rolf Eike Beer 2017-04-30 11:54:23 UTC
The second host has Qt 5.6.1. It also happens on the first drag after login.

I meanwhile found out that the working case is not limited to dragging down, i.e. if I drag to a side or upwards and sidewards it also work, only straight upwards does not work.
Comment 11 Rolf Eike Beer 2017-05-16 19:46:47 UTC
It has nothing to do with 2 monitors, I can also reproduce it on my laptop (Qt 5.7.1).
Comment 12 Eike Hein 2017-05-17 05:05:23 UTC
Unfortunately so far nobody on the Plasma team including me has been able to reproduce it, which is why I can't work on a fix so far.
Comment 13 Rolf Eike Beer 2017-07-09 10:24:53 UTC
This indeed goes away when using Qt 5.9.