Opened 8 years ago
Closed 7 years ago
#949 closed defect (nonchimerax)
Tool window dragging problematic on Linux
| Reported by: | Tristan Croll | Owned by: | Greg Couch |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | Window Toolkit | Version: | |
| Keywords: | Cc: | Eric Pettersen | |
| Blocked By: | Blocking: | ||
| Notify when closed: | Platform: | Linux (X11) | |
| Project: | ChimeraX |
Description
(In Linux - haven't confirmed for other OSes).
This seems to be a new behaviour. If I open a floating tool window (e.g. the shell) and start dragging it with the mouse, if I drag upwards at more than a snail's pace the mouse cursor jumps away from the window and the window stops moving. If I then bring my mouse back over the title bar of the window with the cursor released, the window will start following the mouse again, and only stops if I click on the title bar. Seems to be specific to tool windows - the main window still behaves fine. A small thing, but it becomes really frustrating really quickly.
Change History (5)
comment:1 by , 8 years ago
comment:2 by , 8 years ago
| Owner: | changed from to |
|---|
comment:3 by , 8 years ago
| Cc: | added |
|---|---|
| Component: | Tool Shed → Window Toolkit |
| Owner: | changed from to |
| Platform: | all → Linux (X11) |
| Summary: | Tool windows lose focus when dragging with mouse → Tool window dragging problematic on Linux |
I can reproduce this behavior on an Ubuntu system. It doesn't happen on a Mac. We don't do anything custom as far as window dragging goes, so this is a new Qt problem. We just have to hope that newer releases fix it, though we could file a Qt bug report. Assigning to Greg since he's the one that installs new releases and also since he has a Linux system on his desk so it's easier for him to test.
comment:5 by , 7 years ago
| Resolution: | → nonchimerax |
|---|---|
| Status: | assigned → closed |
Appears to be fixed with Qt 5.9.5.
Another clue: If I tear away a docked tool (e.g. the ModelPanel), then as long as I don't release the mouse button I can drag it around as fast and hard as I like, and it follows obediently. But if I drop it and then pick it up again, I get the same pathology - any fast mouse movement and it loses focus.