When no document is opened and I undock a docker, I will be stuck in the repositioning process. I cannot release the docker. It will follow my cursor in/outside the window. I can do nothing except hitting Alt+F4 to get out of this situation. Reproducible: Always Steps to Reproduce: 1. Open Krita; 2. Do not open document; 3. Undock Layers docker by dragging its title; Actual Results: The docker gets undocked, but it cannot be released and follow the mouse forever. I cannot click anything. Expected Results: You cannot undock anything without opening a document first.
Hi Tyson! Which window manager are you using? I don't get this problem with either KDE or Gnome 3 -- the dragging of dockers is also something implemented in Qt and the Window manager, not KDE, so we can't really influence the behaviour.
Hi Boud. My current settings: * Window manager: Compiz (1:0.9.11.3+14.04.20150122-0ubuntu1) * Desktop environment: Gnome Fallback (3.8.x~3.10.x) Trisquel 7 default: * Window manager: Compton (0.1~beta2-1+7.0trisquel4). * Desktop environment: Gnome Fallback (3.8.x~3.10.x) Notes: * Compton lacks window snapping so I switched to Compiz. Compiz is also responsible for not focusing on the splash but the main window after startup. * Trisquel 7 has customized Gnome components, probably theme/pre-configuration related. The version numbers are roughly the same as Ubuntu 14.04 LTS (which is a nightmarish mix of 3.8.x~3.10.x). * I can reproduce this bug using metacity (1:2.34.13-0ubuntu4) as my window manager. metacity is the fallback default for all Gnome. It returns something like this when run from the console: “$metacity --replace >> Window manager warning: Invalid WM_TRANSIENT_FOR window 0x4000004 specified for 0x40000bb (krita)”. * If a docker is already floating on startup, I cannot drag it unless I open a document. However, the docked ones can still be dragged to undock. Once undocked, they follow my cursor and grab all my mouse events.
Yes, that makes it pretty certain that it's either a Qt bug, or a Window manager bug. We just can't do anything about the window manager flags for floating dockers from Krita, I'm afraid.
A new finding: This can be only triggered by stylus. Mouse works fine. Workaround: When using stylus to trigger this bug, you can use another pointing device (mouse) to release the docker.