Bug 147516 - Setting the Tabbed Interface (Notebookbar) in Impress retains 2 toolbars in a new profile (see comment 2)
Summary: Setting the Tabbed Interface (Notebookbar) in Impress retains 2 toolbars in a...
Status: RESOLVED DUPLICATE of bug 126095
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
7.2.5.2 release
Hardware: All All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Notebookbar-Groupedbar
  Show dependency treegraph
 
Reported: 2022-02-18 13:10 UTC by Rafael Lima
Modified: 2023-06-16 18:13 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Image showing the problem (104.38 KB, image/png)
2022-02-18 13:10 UTC, Rafael Lima
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rafael Lima 2022-02-18 13:10:09 UTC
Created attachment 178378 [details]
Image showing the problem

On a new user profile, if you start Impress the Standard Toolbar will be the default interface. If the user goes to View - User Interface and select Tabbed, the Tabbed interface will be applied.

However, two toolbars (Drawing and Presentation) remain active, which makes the interface look a bit cluttered. See attached image to see how it looks.

To hide them, the user has to manually enable the menubar and go to View - Toolbars to uncheck these two toolbars.

In my opinion, when the user enables the Tabbed interface on a new profile, we should hide all toolbars.

IMPORTANT: This bug only happens on a new user profile. To reproduce it, the user profile must be reset.
Comment 1 Buovjaga 2023-03-06 09:21:18 UTC
I had recently reset the profile of my stable build. Could not reproduce.
Could not repro in Safe Mode in dev build as well.

Do you still see this? Do you see this in Safe Mode or really only after actual profile reset?

Set to NEEDINFO.
Change back to UNCONFIRMED, if the problem persists. Change to RESOLVED WORKSFORME, if the problem went away.

Arch Linux 64-bit, X11
Version: 7.5.1.2 (X86_64) / LibreOffice Community
Build ID: 50(Build:2)
CPU threads: 8; OS: Linux 6.2; UI render: default; VCL: kf5 (cairo+xcb)
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
7.5.1-1
Calc: CL threaded

Arch Linux 64-bit, X11
Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 617f392a0adfc07afca87eea9ec75d7852658de5
CPU threads: 8; OS: Linux 6.2; UI render: default; VCL: kf5 (cairo+xcb)
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: threaded
Built on 6 March 2023
Comment 2 Rafael Lima 2023-03-06 11:42:21 UTC
> Do you still see this? Do you see this in Safe Mode or really only after
> actual profile reset?

The issue persists in LO 7.6 master.

There's a small detail to this issue that I had not noticed when I first reported it: it only happens when you set the Tabbed UI for all applications from a LO application that is not Impress.

Steps to reproduce:
1) Reset all UI modifications (in safe mode choose, "Reset settings and UI modifications")
2) Close everything
3) Now open Writer
4) Go to View - User Interface and select Tabbed
5) Click "Apply to All"
6) Close everything
7) Open Impress... the problem will be there

The issue does not happen when you set the tabbed UI for all from within Impress.

Code pointer here... See "OnApplyClick". I've already tried to fix this, but was not successful.
https://opengrok.libreoffice.org/xref/core/cui/source/dialogs/toolbarmodedlg.cxx

System info

Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 626a8c2ed99d316552c3f440812a60f9d71fedd5
CPU threads: 16; OS: Linux 5.19; UI render: default; VCL: kf5 (cairo+xcb)
Locale: pt-BR (pt_BR.UTF-8); UI: en-US
Calc: CL threaded
Comment 3 Buovjaga 2023-03-06 12:37:32 UTC
(In reply to Rafael Lima from comment #2)
> > Do you still see this? Do you see this in Safe Mode or really only after
> > actual profile reset?
> 
> The issue persists in LO 7.6 master.
> 
> There's a small detail to this issue that I had not noticed when I first
> reported it: it only happens when you set the Tabbed UI for all applications
> from a LO application that is not Impress.
> 
> Steps to reproduce:
> 1) Reset all UI modifications (in safe mode choose, "Reset settings and UI
> modifications")
> 2) Close everything
> 3) Now open Writer
> 4) Go to View - User Interface and select Tabbed
> 5) Click "Apply to All"
> 6) Close everything
> 7) Open Impress... the problem will be there

Ok, with those I can repro, simply starting from Safe Mode.

Also, debug build crashes when I apply the UI with:

soffice.bin: /home/user/libreoffice/editeng/source/items/frmitems.cxx:772: virtual bool SvxTextLeftMarginItem::QueryValue(uno::Any &, sal_uInt8) const: Assertion `false' failed.
Comment 4 Buovjaga 2023-03-22 15:59:35 UTC
(In reply to Buovjaga from comment #3)
> Also, debug build crashes when I apply the UI with:
> 
> soffice.bin: /home/user/libreoffice/editeng/source/items/frmitems.cxx:772:
> virtual bool SvxTextLeftMarginItem::QueryValue(uno::Any &, sal_uInt8) const:
> Assertion `false' failed.

Reported as bug 154282
Comment 5 Justin L 2023-06-16 18:13:15 UTC

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