Bug 141592 - Persist hierarchy expansion state when switching sidebar style categories
Summary: Persist hierarchy expansion state when switching sidebar style categories
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Sidebar-Styles
  Show dependency treegraph
 
Reported: 2021-04-09 22:09 UTC by Eyal Rozenberg
Modified: 2024-10-07 05:35 UTC (History)
1 user (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 Eyal Rozenberg 2021-04-09 22:09:08 UTC
Suppose I'm using the Style sidebar in hierarchical mode. If I:

1. Expand a hierarchy item (which is not my current style)
2. Switch to another kind of style on the side-bar (e.g. from Paragraph to Character)
3. Switch back to the original kind of style on the side-bar

the item I had expanded is collapsed again.

I believe the default should be a _persistence_ of the expand/collapsed state. Resetting this should occur either never; or on closing and reopening the document; or when switching from hierarchical mode to another mode.
Comment 1 Dieter 2021-04-27 06:17:51 UTC
I confirm the described problem with

Version: 7.1.3.1 (x64) / LibreOffice Community
Build ID: fa76d07d7006a0e2866c3247cef2d5eb55ae8369
CPU threads: 4; OS: Windows 10.0 Build 19042; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Calc: CL
Comment 2 QA Administrators 2024-10-07 03:17:12 UTC Comment hidden (obsolete)
Comment 3 Eyal Rozenberg 2024-10-07 05:35:15 UTC
This is still the behavior with:

Version: 24.8.1.2 (X86_64) / LibreOffice Community
Build ID: 480(Build:2)
CPU threads: 4; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-GB (en_GB.UTF-8); UI: en-US
Ubuntu package version: 4:24.8.1-0ubuntu0.22.04.1~lo1