1. Open Writer 2. Click the triangle next to Basic shapes toolbar button We used to be able to drag the sub-toolbar off. Unlocking toolbar has no effect. Seen on Win & Linux Regression from https://git.libreoffice.org/core/commit/086fa727cabf46eacfec1a0fd4f6dfe916aa2f04 Resolves tdf#131817 - Option to globally switch toolbar locking on/off Adding Cc: to Heiko Tietze
Still is functioning in Version: 7.1.5.2 (x64) / LibreOffice Community Build ID: 85f04e9f809797b8199d13c421bd8a2b025d52b5 CPU threads: 8; OS: Windows 10.0 Build 19043; UI render: Skia/Vulkan; VCL: win Locale: en-US (en_US); UI: en-US Calc: threaded but confirm the split button dialog can no longer be detached on recent masters.
The same commit causes bug 131441 to reappear (undock active even with locked toolbars).
*** Bug 143704 has been marked as a duplicate of this bug. ***
Confirming for gen/gtk3/kf5. View > Toolbars > Lock Toolbars on/off affects these "sub-toolbars" too. But we still want these widgets to float.
*** Bug 145196 has been marked as a duplicate of this bug. ***
The problem has been introduced between version 7.2.0.0_alpha1 (31.May 2021) and 7.2.0.1_beta1 (17.Jun 2021). It is related to the new uno command .uno:ToolbarLock. You can customize your LibreOffice, e.g. menu Tools or View, to include it. You find it by searching for 'Lock'. It has the tooltip 'Lock or unlock all toolbars'. As default this has the state 'Locked'. If you click it, all toolbars will become unlocked. That affects not only the main toolbars themselves but also their sub-toolbars. You can then drag the sub-toolbars again to make them floating. If you unlock a single toolbar using its context menu, that will not unlock its sub-toolbars. You need to use the global command at least once. I consider at least the fact, that unlocking an individual toolbar does not unlock its sub-toolbars as bug. A different question is, whether the sub-toolbars should be affected by the lock of its parent toolbar at all or be always floatable.
(In reply to Regina Henschel from comment #7) > should sub-toolbars be affected by the lock of its parent toolbar at all > or be always floatable. Always floatable.
Maxim, do you have an idea how to solve this issue?
(In reply to Heiko Tietze from comment #9) > Maxim, do you have an idea how to solve this issue? Take a look at ImplDockingWindowWrapper::StartPopupMode( ToolBox* ..., there is a check for ToolBox::AlwaysLocked() which controls this. You can probably remove this check to make them always floatable. Or if we want to follow the parent toolbar, you can try to replace that check with vcl::Window::GetDockingManager()->IsLocked(pParentToolBox), or if the parent is in popup mode (might be the case for the overflow popup), same check for the parent of the parent.
Patch https://gerrit.libreoffice.org/c/core/+/137100 allows to make sub-toolbars floating but does not affect the Basic Shapes (but works for colors). Was it ever possible?
(In reply to Heiko Tietze from comment #11) > Was it ever possible? Maxim solved the problem.
Heiko Tietze committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/db26f712e1edfef6b61a324b146310be00aeb100 Resolves tdf#143688 - Allow detaching of sub-toolbars when locked It will be available in 7.5.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Heiko Tietze committed a patch related to this issue. It has been pushed to "libreoffice-7-4": https://git.libreoffice.org/core/commit/7edadf64047b367f8d9cc0031008d6c6b46a55fd Resolves tdf#143688 - Allow detaching of sub-toolbars when locked It will be available in 7.4.0.2. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Verified as fixed in: Version: 7.5.0.0.alpha0+ / LibreOffice Community Build ID: 7ba40c7d62c7c15f9c0e9cbc21b48f105454b885 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