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 Tristan Croll, 8 years ago

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.

comment:2 by Tristan Croll, 8 years ago

Owner: changed from Conrad Huang to Eric Pettersen

comment:3 by Eric Pettersen, 8 years ago

Cc: Eric Pettersen added
Component: Tool ShedWindow Toolkit
Owner: changed from Eric Pettersen to Greg Couch
Platform: allLinux (X11)
Summary: Tool windows lose focus when dragging with mouseTool 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:4 by Tom Goddard, 8 years ago

Also does not happen on Windows 10 with today's ChimeraX build.

comment:5 by Greg Couch, 7 years ago

Resolution: nonchimerax
Status: assignedclosed

Appears to be fixed with Qt 5.9.5.

Note: See TracTickets for help on using tickets.