Bug 139259 - Undocking a toolbar displays it "mixed", "overlapped" with the existing docked toolbars
Summary: Undocking a toolbar displays it "mixed", "overlapped" with the existing docke...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
Version:
(earliest affected)
7.0.3.1 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
: 143704 156960 (view as bug list)
Depends on:
Blocks: Toolbars
  Show dependency treegraph
 
Reported: 2020-12-27 12:12 UTC by Julien Adetele
Modified: 2023-09-11 13:24 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments
A screen recording showing the bug using the Mendeley Toolbar add-on (1.54 MB, video/x-matroska)
2020-12-27 12:12 UTC, Julien Adetele
Details
screenshot of issue with standard toolbar in LO 7.2.0.4 (37.17 KB, image/png)
2021-08-20 12:40 UTC, Stéphane Guillou (stragu)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Julien Adetele 2020-12-27 12:12:51 UTC
Created attachment 168511 [details]
A screen recording showing the bug using the Mendeley Toolbar add-on

Steps to reproduce:

1. Install Mendeley (tested with Mendeley 1.19.4)
2. Open Mendely and click on Tools -> Install LibreOffice plugin
3. Open LibreOffice Writer. A new toolbar shows up on the top left corner
4. Right click on the new toolbar and clicks "Undock toolbar"
5. The toolbar is not undocked. Instead, the content of the Mendeley toolbar gets mixed up (superimposed) with the existing toolbar, creating confusion
6. The problem does not disappear by disabling the toolbar via View->Toolbars->Mendeley and re-enabling it via the same menu option
7. The problem DOES get fixed by closing LibreOffice Writer and re-opening again. Now the new toolbar is truly undocked

An attached video capture shows the bug.

Version: 7.0.3.1
Build ID: 00(Build:1)
CPU threads: 12; OS: Linux 5.8; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Ubuntu package version: 1:7.0.3-0ubuntu0.20.10.1
Calc: threaded
Comment 1 Julien Adetele 2021-01-12 17:28:41 UTC
Hello,

what comment do you need?
Comment 2 Stéphane Guillou (stragu) 2021-08-20 07:33:04 UTC
I can confirm this exactly as described with another add-on toolbar: Zotero's.

However, it's not limited to add-on toolbars. You can follow this steps with a default toolbar and end up with an overlap as well:

Steps to Reproduce:
1. Open Writer
2. Right-click on Standard toolbar
3. Confirm that it is locked (the default)
4. Click on "Undock Toolbar"

I can reproduce in recent versions as well:

Version: 7.0.6.2
Build ID: 00(Build:2)
CPU threads: 4; OS: Linux 5.4; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Ubuntu package version: 1:7.0.6-0ubuntu0.20.04.1_lo1
Calc: threaded

Version: 7.2.0.4 / LibreOffice Community
Build ID: 9a9c6381e3f7a62afc1329bd359cc48accb6435b
CPU threads: 8; OS: Linux 5.4; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded

Version: 7.3.0.0.alpha0+ / LibreOffice Community
Build ID: adf65471e889676a600a9c6d0454c75cbd549ad3
CPU threads: 8; OS: Linux 5.4; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
TinderBox: Linux-rpm_deb-x86_64@86-TDF, Branch:master, Time: 2021-08-13_04:44:18
Calc: threaded

I am changing the title accordingly.
Comment 3 Stéphane Guillou (stragu) 2021-08-20 12:40:27 UTC
Created attachment 174446 [details]
screenshot of issue with standard toolbar in LO 7.2.0.4

Screenshot of issue with version:

Version: 7.2.0.4 / LibreOffice Community
Build ID: 9a9c6381e3f7a62afc1329bd359cc48accb6435b
CPU threads: 8; OS: Linux 5.4; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded
Comment 4 Buovjaga 2021-08-20 12:53:38 UTC
*** Bug 143704 has been marked as a duplicate of this bug. ***
Comment 5 sdc.blanco 2022-04-19 12:52:07 UTC
repro STR in comment 2 (but using Bullets and Numbering toolbar)

Version: 7.4.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: f8e11c6480ff0005715b989a6d4e2e10a3816cf6
CPU threads: 8; OS: Windows 10.0 Build 19043; UI render: Skia/Raster; VCL: win
Locale: da-DK (da_DK); UI: en-US
Calc: CL

Does this behavior appear before LO 7.0?  (i.e., is it a regression?)
Comment 6 sdc.blanco 2022-04-19 13:16:21 UTC
Additional information:

To "unmix"

1. View > Toolbars > (unselect the mixed toolbar)
2. View > Toolbars> > (select the mixed toolbar)
Comment 7 Heiko Tietze 2022-04-21 11:18:31 UTC
Uncheck "View > Toolbars > [x] Lock Toolbars" to get rid of the overlapping toolbars. We should block the undocking feature in case a tb is locked.
Comment 8 sdc.blanco 2022-04-21 11:32:35 UTC
This behavior may have started in 7.0.  See bug 130163
Comment 9 Heiko Tietze 2022-04-21 11:50:42 UTC
(In reply to sdc.blanco from comment #8)
> This behavior may have started in 7.0.  See bug 130163

Rather bug 131817 as a consequence of bug 92484. And according bug 131441 the issue should be fixed...
Comment 10 Stéphane Guillou (stragu) 2023-09-11 13:23:20 UTC
Still reproducible with comment 2 steps in recent master build:

Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 10689e0f24e96781664e734fe23d109af6df77f1
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded
Comment 11 Stéphane Guillou (stragu) 2023-09-11 13:24:47 UTC
*** Bug 156960 has been marked as a duplicate of this bug. ***