tiled icon indicating copy to clipboard operation
tiled copied to clipboard

Unable to re-dock floating windows

Open Zer0-One opened this issue 1 year ago • 8 comments

Once I float any of the editor panes, I am unable to re-dock them back into the main window.

To Reproduce Click the square icon at the top right of any of the dockable panes to float it. Then try to re-dock the pane.

Expected behavior Window decorations that offer a button to re-dock, or the ability to drag the window back into place.

Specifications:

  • OS: Gentoo
  • Tiled Version: 1.8.6
  • Window manager: Sway (wayland, have not tested as an X client)

Zer0-One avatar Jul 14 '22 17:07 Zer0-One

On Discord, OP mentioned that double-clicking the title bar, which re-docks the window on Windows, also didn't work.

eishiya avatar Jul 14 '22 22:07 eishiya

Hmm, that's likely a problem between Sway and Qt. I doubt there is anything I can do on the Tiled side to fix this issue, unless you're not seeing this issue with other Qt applications using dockable panes.

bjorn avatar Aug 05 '22 13:08 bjorn

Same issue on Ubuntu 22.04, tiled v1.10.1

sami-sweng avatar Apr 12 '23 08:04 sami-sweng

Another user reported this issue on the forum, they are using Wayland: https://discourse.mapeditor.org/t/stuck-with-floating-windows-that-cant-be-docked-back/6229

They also don't seem to have a menu bar at all, and have to rely on Search Actions instead.

eishiya avatar Jun 20 '23 16:06 eishiya

I have this bug too, I tried to drag the window again back to the right side but it didn't do anything and when I want to reopen those views they are floating again so there's no way to putting them back on the main UI. Ubuntu 22.04, Wayland, Tiled 1.10.2

bkerz avatar Oct 17 '23 00:10 bkerz

I just tested this on X11 and it's working as expected, the issue seems to be only on Wayland.

bkerz avatar Oct 17 '23 00:10 bkerz

Hmm, that's likely a problem between Sway and Qt. I doubt there is anything I can do on the Tiled side to fix this issue, unless you're not seeing this issue with other Qt applications using dockable panes.

I have the same issue, it happens if I'm installing Tiled from the Snap Store (Ubuntu Software), but the bug doesn't happen if I install the app using apt-get. Same system, no reboots

MadPigeon avatar Jan 20 '24 05:01 MadPigeon

This is Qt issue QTBUG-87332. It is Closed because for Qt 6.5.4 / 6.6.0 a solution was implemented. I'll update the Qt version for the next Tiled release, but it will only really resolve this issue if your compositor also implements the proposed xdg-toplevel-drag Wayland protocol.

bjorn avatar Jan 22 '24 09:01 bjorn