Bug 129509 - Controls in Notebookbar user interfaces don't show as disabled for read-only document.
Summary: Controls in Notebookbar user interfaces don't show as disabled for read-only ...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
(earliest affected)
Hardware: All All
: medium minor
Assignee: Not Assigned
Keywords: implementationError
Depends on:
Blocks: Notebookbar Read-Only
  Show dependency treegraph
Reported: 2019-12-20 05:30 UTC by Jim Raykowski
Modified: 2023-03-22 18:55 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Note You need to log in before you can comment on or make changes to this bug.
Description Jim Raykowski 2019-12-20 05:30:37 UTC
This happens when switching to a Notebookbar user interface from another user interface when document is read-only.

Steps to repro:

1) Open a text document 
2) Set user interface to Standard Toolbar
Menu > View > User Interface > Standard Toolbar 
3) Uncheck Menu > Edit > Edit Mode
4) Set user interface to any of the Notebookbar user interfaces, Tabbed, Tabbed Compact, Groupedbar Compact, Contextual Single 

Results: Controls that should be shown disabled when document is read-only are shown as enabled.

Expected results: Controls that should be shown as disabled when document is read-only are shown as disabled.

Additional comments: Even though the controls are shown as enabled they are not functional.
Comment 1 Dieter 2019-12-29 11:03:05 UTC
I confirm it with

Version: (x64)
Build ID: e26d89371f0e4f41476c9a99be01d98dedb76776
CPU threads: 4; OS: Windows 10.0 Build 18362; UI render: default; VCL: win; 
Locale: de-DE (de_DE); UI-Language: en-GB
Calc: threaded
Comment 2 Adriantoth 2020-06-25 04:49:15 UTC Comment hidden (spam)
Comment 3 Jeff Fortin Tam 2021-03-21 17:48:04 UTC
I'm under the impression that the only tabs/groups that should be enabled in read-only mode are the "File" and "View" tabs... everything else (Home, Insert, Layout, Data, Image, Forms, Review, and possibly "Extensions" and "Tools") typically requires write capability.

In that case, I'd suggest those tabs/groups to be hidden entirely, until the document becomes read+write; that way, it would keep the UI simpler and more contextualized for users.
Comment 4 QA Administrators 2023-03-22 03:24:00 UTC Comment hidden (obsolete)
Comment 5 Jim Raykowski 2023-03-22 18:55:22 UTC
The STR given in the OP still show the same results for:

Version: (X86_64) / LibreOffice Community
Build ID: 770580ba8e9546aa7b960c8b622b936ba6cf9d37
CPU threads: 4; OS: Linux 5.15; UI render: default; VCL: x11
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded