Bug 153358 - Wrong redimensioning of Groupedbar compact toolbar
Summary: Wrong redimensioning of Groupedbar compact toolbar
Status: RESOLVED DUPLICATE of bug 153078
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
Version:
(earliest affected)
7.5.0.0 beta1+
Hardware: x86-64 (AMD64) All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Notebookbar-Groupedbar
  Show dependency treegraph
 
Reported: 2023-02-03 17:14 UTC by Vincent Boudry
Modified: 2023-02-03 19:54 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
Document model (9.29 KB, application/vnd.oasis.opendocument.text-template)
2023-02-03 17:15 UTC, Vincent Boudry
Details
Screenshot of compressed toolbar (268.61 KB, image/png)
2023-02-03 17:16 UTC, Vincent Boudry
Details
Screenshot of the standard toolbar (343.29 KB, image/png)
2023-02-03 17:17 UTC, Vincent Boudry
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vincent Boudry 2023-02-03 17:14:48 UTC
Description:
In Writer, unsing the attached model, the Groupedbar Compact toolbar is resized, as is the window was too small after the cursor is moved to a place with a different style.

Steps to Reproduce:
1.Select View > User Interface > Groupedbar Compact; then apply to all.
2.Create a new Writer document using the attached 
3.Go at the end of the docuement. Type Cmd-0 to have text in the Text Body style. 
4.Input any text
5.Type return
6.Input any text and press cmd-1 to switch to "Heading 1"



Actual Results:
The toolbar was spanning the full window.
After step 6, it is squeezed (see screen shot).
The toolbar size and span can be restored by resizing the window.


Expected Results:
Not change in the size of the toolbar


Reproducible: Always


User Profile Reset: Yes

Additional Info:
This might be related to the fonts, as this doesn't seem to occur with the default document model.
Comment 1 Vincent Boudry 2023-02-03 17:15:36 UTC
Created attachment 185089 [details]
Document model
Comment 2 Vincent Boudry 2023-02-03 17:16:41 UTC
Created attachment 185090 [details]
Screenshot of compressed toolbar
Comment 3 Vincent Boudry 2023-02-03 17:17:42 UTC
Created attachment 185091 [details]
Screenshot of the standard toolbar
Comment 4 V Stuart Foote 2023-02-03 17:52:46 UTC
Confirmed 
Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: d8e6b488ceaff7c88856ebcfcfec14d2d8cd7652
CPU threads: 8; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: threaded

The vcl canvas looks to be mispositioned on redraw. Screen draw overwrites the MUFFIN Groupedbar Comact UI elements aligned with the left margin of the document.

I can force it to redraw the Notebook Bar simply expanding the Styles listbox which is still showing.

@Heiko, Andreas can you think of who'd be able to look at this?
Comment 5 Stéphane Guillou (stragu) 2023-02-03 19:54:10 UTC
I am pretty sure this is a duplicate of the regression described in bug 153078. Marking as such, but please set back to New if a master build that include bcf9e47791d5b3e1d6a75c73f3b8c9940abda8eb still reproduces it. (Stuart's version did not have that commit.)

Fix will be available in 7.5.1 too.

*** This bug has been marked as a duplicate of bug 153078 ***