Description: After undocking the "Toolbox" toolbar from LibreOffice, it is no longer movable in gtk3 ui with wayland. This problem does not happen in gtk3 X11, Windows, and gen UI where moving is possible. Steps to Reproduce: 1. Open LibreOffice with gtk3 ui on Wayland 2. Open "Tools > Macros > Edit Macros" 3. Right click on the tab bar on the bottom of the screen, select "Insert BASIC Dialog" 4. Right click on the "Toolbox" toolbar on the bottom, uncheck "Lock toolbar position" by clicking on this context menu option 5. Right click on the "Toolbox" toolbar again, select "Undock Toolbar". 6. Try to move the undocked "Toolbox" toolbar The goal would be creating something like this: Dialog Editor https://wiki.openoffice.org/wiki/File:Documentation_basicguide_dlg_01.gif Actual Results: You can not move the undocked window of the "Toolbox" toolbar. Expected Results: You should be able to move the toolbar, just like gtk3 X11, Windows, and gen UI where moving is possible. Reproducible: Always User Profile Reset: No Additional Info: Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 57f46a5a64f4e3bca2f0a52309ca7d201c1e2372 CPU threads: 12; OS: Linux 5.19; UI render: default; VCL: gtk3 Locale: en-US (en_US.UTF-8); UI: en-US Calc: CL threaded
Reproduced with: Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: fb3a6b82b55a298eabf8f431f1451dc826642acd CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3 Locale: en-AU (en_AU.UTF-8); UI: en-US Calc: threaded On Ubuntu 20.04 with GNOME 3.36.8 + Wayland. This is the case with any toolbar I've tested. Very much related to bug 114983, possibly a duplicate.
As mentioned by Maxim in other reports, the difficulty comes from Wayland: - bug 152088 comment 10 - bug 113330 comment 4 Docking/undocking under Wayland is supposed to be disabled since a6d324f30bd5cfd09d54614d8df67b7857550429. Caolán, what do you think? Should the context menu's Undock be somehow removed under Wayland?
(In reply to Stéphane Guillou (stragu) from comment #2) > As mentioned by Maxim in other reports, the difficulty comes from Wayland: > - bug 152088 comment 10 > - bug 113330 comment 4 > > Docking/undocking under Wayland is supposed to be disabled since > a6d324f30bd5cfd09d54614d8df67b7857550429. > Caolán, what do you think? Should the context menu's Undock be somehow > removed under Wayland? Hey, now I remembered just seeing this: https://gitlab.freedesktop.org/wayland/wayland-protocols/-/merge_requests/204 Add xdg-toplevel-drag protocol This protocol allows applications to request that a window is moved at the same time as a drag operation - effectively dragging windows. With this features such as detaching a tab from a window and reattaching it, dragging tabs between windows or (un)dockable tool windows can be implemented. Based on the previously proposed extended drag protocol but trimmed down. --- It has implementations in Qt, KWin and Chromium.
Let's consolidate into bug 114983. *** This bug has been marked as a duplicate of bug 114983 ***