Steps to reproduce
1. UI: Tabbed Toolbar
2. Open document in read only mode
3. Tab Layout => Orientation: change from portrait to landscape
Expected result: Impossible to change page layout in read only mode
Version: 22.214.171.124.alpha0+ (x64)
Build ID: 962b415edb47187737a5f05c4ff3f6724a19c564
CPU threads: 4; OS: Windows 10.0 Build 18363; UI render: Skia/Raster; VCL: win;
Locale: de-DE (de_DE); UI-Language: en-GB
Version: 126.96.36.199 (x64)
CPU-Threads: 4; BS: Windows 10.0 Build 18363; UI-Render: Standard; VCL: win;
Gebietsschema: de-DE (de_DE); UI-Sprache: de-DE
Can not reproduce on Windows 10 Home 64-bit en-US with
Version: 188.8.131.52 (x64)
Build ID: 4e471d8c02c9c90f512f7f9ead8875b57fcb1ec3
CPU threads: 4; OS: Windows 10.0 Build 18363; UI render: GL; VCL: win;
Locale: en-US (en_US); UI-Language: en-US
A document created with Writer, just DummyText, and properties Security -> Read-only check box set and saved.
With User Interface set to NB Tabbed view, document opens annotated "(read-only)" but the Tabbed NB 'Layout' tab does not enable the 'Orientation' button and the 'Layout' listbox shows '<no selection possible>'.
=> NEEDINFO, STR on how are you creating entering into a 'Read only' mode that is crashing?
Orientation is greyed out for me in
Build ID: 24e1563b5db3de5abac0d4fd0f737ec319e703e8
CPU threads: 4; OS: Linux 4.19; UI render: default; VCL: gtk3;
Locale: en-US (en_US.UTF-8); UI-Language: en-US
Created attachment 159588 [details]
NB Tabbed UI calling Sidebar's pageorientationcontrol.cxx, in error for a Read-only session
OK see it now. The NB Tabbed UI mode makes use of controls used from the Sidebar Decks.
When using the os File manager's 'Read-only' check box when opening--LibreOffice recognizes the 'read-only' asking if you want to edit in a notice bar. Dismiss that, and while the Sidebar Page deck controls are disabled, the NB Tabbed UI 'Layout' controls are not. That is a problem!
Selecting the Layout -> Orientation button action and attempting a change from Portrait to Landscape will crash LO. Crash report
WinDbg callStack attached.
Created attachment 159589 [details]
WinDbg full process trace