Bug 150977 - Remember the sidebar position
Summary: Remember the sidebar position
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
Version:
(earliest affected)
4.2.0.4 release
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Sidebar Dialog-Remember-Settings
  Show dependency treegraph
 
Reported: 2022-09-15 14:02 UTC by Aleix
Modified: 2023-09-01 23:28 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Aleix 2022-09-15 14:02:19 UTC
Hi,

I had docked the side bar to the left. But if I hide it and open it again, it appears on the right. I presume this is a minor bug, since the user preference should be permanent.

Best

Aleix
Comment 1 Rafael Lima 2022-09-15 20:31:22 UTC
I could confirm this behavior. Indeed if you dock the sidebar to the left and then close Writer and reopen it, the sidebar will be moved back to the right.

The only way around this is create a new document template where the sidebar in in the left and then make it the default template. For more info:

https://ask.libreoffice.org/t/is-there-a-way-to-make-the-sidebar-always-start-on-the-left/57979

I wonder if this could be set at the application level, so that the sidebar could move to the left or right in all applications (Calc, Impress, Writer and Draw) without having to create new templates just for that.
Comment 2 Heiko Tietze 2022-09-16 09:08:25 UTC
IMO having an option to place the sidebar on a particular position is over-engineering. The ability to move it around and to dock left-hand is sufficient. However, I'd expect this to be stored. Maxim, do you have insights?
Comment 3 V Stuart Foote 2022-09-16 14:24:22 UTC
Can not confirm with Windows builds.

Version: 7.5.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 7e8ba44fed9a20b5d226b9d3733b79a35acbbe00
CPU threads: 8; OS: Windows 10.0 Build 19044; UI render: Skia/Vulkan; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: threaded

The undocked floating Sidebar is persistent and  will continue to float on relaunch after LO shutdown and restart.

The correctly docked to left docking position sidebar is persistent and will continue to be docked left on relaunch after LO shutdown and restart.

The Sidebar width as set by drag (i.e. when expert config 'MinimumWidth' set false) is persistent and will be restored on relaunch after LO shutdown and restart.

Behavior is consistent and as expected -- per module.  Not per document. So, it is being recorded to LO user registry.
Comment 4 V Stuart Foote 2022-09-16 14:36:45 UTC
(In reply to V Stuart Foote from comment #3)
> 
> The correctly docked to left docking position sidebar is persistent and will
> continue to be docked left on relaunch after LO shutdown and restart.
> 

"Correctly docked" in that when dragged to left, as docking target frame is exposed by highlight the Sidebar will position into that frame. And as that happens--the Sidebar reorients its controls, the Tab bar will move from Right to left side, the content panel controls will align left, and the expand/focus thumb (and scrollbar if visible) will move to the inside right edge.

That orientation is persistent until the Sidebar is undocked and moved back to the right docking anchor.
Comment 5 Stéphane Guillou (stragu) 2023-09-01 23:24:23 UTC
Reproduced in:

Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: d88779fc86385dde1215fd28b78a69eacc6b4f97
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded

On macOS as well.

Was already the case in 4.2.0.1.