Bug 114983 - Unable to make any docked toolbar floating (wayland)
Summary: Unable to make any docked toolbar floating (wayland)
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 (view as bug list)
Depends on:
Blocks: Wayland Panel-Docking
  Show dependency treegraph
 
Reported: 2018-01-12 22:10 UTC by Mark Hung
Modified: 2024-03-22 03:57 UTC (History)
6 users (show)

See Also:
Crash report or crash signature:


Attachments

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