Bug 114983 - Unable to make any docked toolbar floating by clicking and dragging it (Wayland, GTK3)
Summary: Unable to make any docked toolbar floating by clicking and dragging it (Wayla...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
Version:
(earliest affected)
5.4.2.2 release
Hardware: All Linux (All)
: medium normal
Assignee: Not Assigned
URL: https://gitlab.freedesktop.org/waylan...
Whiteboard:
Keywords:
: 155114 169302 (view as bug list)
Depends on:
Blocks: Wayland GTK3 Panel-Docking
  Show dependency treegraph
 
Reported: 2018-01-12 22:10 UTC by Mark Hung
Modified: 2025-12-01 09:49 UTC (History)
10 users (show)

See Also:
Crash report or crash signature:


Attachments
Screenshot on KDE (20.98 KB, image/png)
2025-11-07 14:02 UTC, Heiko Tietze
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Hung 2018-01-12 22:10:21 UTC
Description:
I use ubuntu 17.10.1 and is not able to make any docked toolbar floating by dragging off the vertical handle of the toolbar. It works fine on Windows.

Version: 5.4.2.2
Build ID: 1:5.4.2-0ubuntu0.17.10.1
CPU threads: 4; OS: Linux 4.13; UI render: default; VCL: gtk3; 
Locale: en-US (en_US.UTF-8); Calc: group

Not sure if this is a regression.

Steps to Reproduce:
1. Open Writer or Impress.
2. Use mouse to drag any docked toolbar to the central area.

Actual Results:  
A dashed box appears when dragging and disappear when realising mouse button, but the toolbar is still docked.

Expected Results:
The toolbar become a floating toolbar.


Reproducible: Always


User Profile Reset: No



Additional Info:


User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:57.0) Gecko/20100101 Firefox/57.0
Comment 1 Xisco Faulí 2018-01-13 17:50:02 UTC
Could you please try to reproduce it with the latest version of LibreOffice
from https://www.libreoffice.org/download/libreoffice-fresh/ ?
I have set the bug's status to 'NEEDINFO'. Please change it back to
'UNCONFIRMED' if the bug is still present in the latest version.
Comment 2 Maxim Monastirsky 2018-01-13 18:27:22 UTC
I guess that's under a Wayland session? In which case it was an intentional change, see https://cgit.freedesktop.org/libreoffice/core/commit/?id=a6d324f30bd5cfd09d54614d8df67b7857550429
Comment 3 Mark Hung 2018-01-14 13:05:06 UTC
(In reply to Xisco Faulí from comment #1)
> Could you please try to reproduce it with the latest version of LibreOffice
> from https://www.libreoffice.org/download/libreoffice-fresh/ ?
> I have set the bug's status to 'NEEDINFO'. Please change it back to
> 'UNCONFIRMED' if the bug is still present in the latest version.

@Xisco

Version: 6.1.0.0.alpha0+
Build ID: 9fc9bf3240f8c62ad7859947ab8a033ac1fe93fa
CPU threads: 4; OS: Linux 4.13; UI render: default; VCL: gtk3; 
Locale: en-US (en_US.UTF-8); Calc: group threaded

@Maxim Monastirsky 

Yes. It's Wayland session. Not sure if this issue should be wontfix or notourbug, or can be left open and wait someone to fix it someday. Floating toolbar is still useful in some cases.
Comment 4 Buovjaga 2018-02-12 16:01:33 UTC
Maxim discussed the issue last December: https://lists.freedesktop.org/archives/libreoffice/2017-December/079108.html

I found some clue about how GNOME is solving this:
http://inkscape.13.x6.nabble.com/GDL-broken-under-Wayland-td4981268.html

Ted said:
"I was chatting with Christian Hergert at SCALE last year and he really
wanted us to move over to the code Builder is using. At the time he was
thinking about pulling it out into a library, but I'm not sure if he has."

Well, apparently Christian has done it, but there is nearly no documentation:
https://github.com/chergert/libdazzle/tree/master/src/panel

Only this confirms it:
https://github.com/GNOME/libdazzle/blob/master/doc/dazzle-docs.sgml#L144

"Many content creation applications need some sort of panel system. Dazzle provides flexible panel widgets and docks for this purpose."
Comment 5 blendergeek 2018-02-13 16:37:58 UTC
As this "bug" definitely exists, I am changing to NEW. Whether or not this is intentional, it is not possible to float toolbars under Wayland.
Comment 6 QA Administrators 2019-02-14 03:48:41 UTC Comment hidden (obsolete)
Comment 7 Kai 2020-07-21 21:52:31 UTC
Saw this bug was pinged and tried to reproduce it.

Toolbars do not seem to be draggable at all anymore. Was this feature removed or is it just disabled on Wayland now?
Comment 8 Regina Henschel 2020-07-21 22:21:09 UTC
(In reply to Kai from comment #7)
> Saw this bug was pinged and tried to reproduce it.
> 
> Toolbars do not seem to be draggable at all anymore. Was this feature
> removed or is it just disabled on Wayland now?

What you see is different from this bug. The toolbars have "Lock Toolbar Position" ON as default in LO 7. If you set it to off (context menu), then you can drag the toolbars.
Comment 9 QA Administrators 2022-07-22 03:43:45 UTC Comment hidden (obsolete)
Comment 10 Stéphane Guillou (stragu) 2023-10-22 20:55:58 UTC
*** Bug 155114 has been marked as a duplicate of this bug. ***
Comment 11 Stéphane Guillou (stragu) 2024-03-22 03:57:23 UTC
wayland-protocols version 1.34 might help with its new protocol "xdg-toplevel-drag"[1]:

"This protocol enhances regular drag and drop by allowing attaching a
toplevel window to a drag. This can be used to implement e.g. detachable
toolbars and browser tab drag behavior that can be seen in other
platforms."

[1]: https://lists.freedesktop.org/archives/wayland-devel/2024-March/043537.html
Comment 12 Buovjaga 2025-02-12 14:02:33 UTC
It works fine with KDE.
Comment 13 Buovjaga 2025-11-07 11:40:37 UTC
*** Bug 169302 has been marked as a duplicate of this bug. ***
Comment 14 Buovjaga 2025-11-07 11:43:34 UTC
(In reply to Stéphane Guillou (stragu) from comment #11)
> wayland-protocols version 1.34 might help with its new protocol
> "xdg-toplevel-drag"[1]:
> 
> "This protocol enhances regular drag and drop by allowing attaching a
> toplevel window to a drag. This can be used to implement e.g. detachable
> toolbars and browser tab drag behavior that can be seen in other
> platforms."
> 
> [1]:
> https://lists.freedesktop.org/archives/wayland-devel/2024-March/043537.html

Apparently this got implemented in mutter in Oct 2024: https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/4107
Comment 15 Heiko Tietze 2025-11-07 12:40:17 UTC
Any idea, Michael, what causes this Wayland bug?
Comment 16 Heiko Tietze 2025-11-07 14:02:22 UTC
Created attachment 203801 [details]
Screenshot on KDE

On Wayland 1.24.0-1 (Arch Linux / KDE / plasmashell) I cannot undock per drag but via context menu; the toolbar is drawn in a window, which is movable. On X11 the toolbar is a toolbar and movable. I think it needs to be tested on a real Gnome DE.
Comment 17 Michael Weghorn 2025-11-14 10:00:19 UTC
(In reply to Heiko Tietze from comment #15)
> Any idea, Michael, what causes this Wayland bug?

See the commit mentioned in comment 2 and the GTK bug it references:
https://bugzilla.gnome.org/show_bug.cgi?id=768128

The previous comments here suggest that there might be ways to implement what's needed to make it work these days, however, but it needs somebody to look into doing that.
Comment 18 OfficeUser 2025-11-25 20:08:42 UTC
Seems to be fixed in:

Version: 25.8.3.2 (X86_64) / LibreOffice Community
Build ID: 580(Build:2)
CPU threads: 16; OS: Linux 6.14; UI render: default; VCL: gtk3
Locale: de-DE (de_DE.UTF-8); UI: de-DE
Ubuntu package version: 4:25.8.3~rc2-0ubuntu0.24.04.1~lo1
Calc: threaded
Comment 19 OfficeUser 2025-11-27 15:26:53 UTC
Could someone please confirm and close this issue?
Comment 20 OfficeUser 2025-12-01 09:44:54 UTC
Setting to resolved/worksforme.
Comment 21 Buovjaga 2025-12-01 09:49:56 UTC
(In reply to OfficeUser from comment #20)
> Setting to resolved/worksforme.

I still reproduce the issue.

Arch Linux 64-bit
Version: 26.2.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: c1df669df72836eb6a5c5069077bda100d4506a1
CPU threads: 8; OS: Linux 6.17; UI render: default; VCL: gtk3
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: CL threaded
Built on 30 November 2025