Bug 141592

Summary: Persist hierarchy expansion state when switching sidebar style categories
Product: LibreOffice Reporter: Eyal Rozenberg <eyalroz1>
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: NEW ---    
Severity: minor CC: dgp-mail
Priority: medium    
Version: unspecified   
Hardware: All   
OS: All   
See Also: https://bugs.documentfoundation.org/show_bug.cgi?id=141483
https://bugs.documentfoundation.org/show_bug.cgi?id=90646
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 103427    

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