Bug 134597 - Undocked toolbar corrupts docked tools if window is certain size
Summary: Undocked toolbar corrupts docked tools if window is certain size
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Draw (show other bugs)
Version:
(earliest affected)
7.1.0.0.alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-07-07 06:31 UTC by Jim Avera
Modified: 2020-11-30 16:13 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Screenshot before (87.02 KB, image/png)
2020-07-07 06:32 UTC, Jim Avera
Details
after screenshot (shows corruption) (105.54 KB, image/png)
2020-07-07 06:35 UTC, Jim Avera
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jim Avera 2020-07-07 06:31:46 UTC
Description:
In Draw (haven't tested other apps):

If the app window is not full-screen, then when certain toolbars are undocked they appear to clobber/merge with other toolbars, resulting in a corrupted display. 

Please see attached "before" and "after" screen-shots.

The bug seems related to window size (does not happen with very wide windows).  In my recent test, the LO app window was 1010w x 621h pixels according to xwininfo.


Steps to Reproduce:
1. Rename or remove $HOME/.config/libreofficedev to remove old profile.
     (...or  .config/libreoffice if not using a development build)
2. Run soffice --draw       # opens new Draw doc

3. Resize the window to some intermediate width, approximately 1000 pixels

4. View->Toolbars->Glue Points

4. Right-click on the Insert Text Box icon -> Undock Toolbar

Actual Results:
The file-operation menu gets corrupted as shown in "after.png" screenshot -- it looks like the "undocked" toolbar kind of merges with the left part.  There is no floating toolbar visible anywhere.

Expected Results:
No corruption.


Reproducible: Always


User Profile Reset: Yes



Additional Info:
.
Comment 1 Jim Avera 2020-07-07 06:32:54 UTC
Created attachment 162741 [details]
Screenshot before
Comment 2 Jim Avera 2020-07-07 06:35:13 UTC
Created attachment 162742 [details]
after screenshot (shows corruption)
Comment 3 Buovjaga 2020-11-30 14:25:38 UTC
This seems to be related to the "Lock toolbar" functionality. In 7.0 it was possible to undock the toolbar even if the toolbar was locked. I reproduce the "corruption" in this case. However, in 7.1 (or at least latest master) the undocking menu item is disabled.

Jim: can you re-test with 7.1 and confirm my findings?
Comment 4 Jim Avera 2020-11-30 16:13:52 UTC
Ah, undocking while toolbar "Locked"... thank you Buovjaga for noticing that.

I confirm that in current master, "Undock" seems to be disabled while "Locked" is set, as it should be.   There are many warnings issued to the terminal but probably unrelated.

Setting to RESOLVED, WORKSFORME