UI: Retrain manually set collapsed states in style inspector
Steps to Reproduce:
1. Open the attached file
2. Collapse Heading/Heading 1 (to inspect for DF)
3. Click somewhere else..
Case: hypothetical case: I'm hunting DF.. but this makes it hard
User Profile Reset: No
Version: 22.214.171.124.alpha0+ (x64)
Build ID: 4e3ce9dd6ace0b22f7b3f45cf2338b201f4dc305
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: nl-NL (nl_NL); UI: en-US
Created attachment 168628 [details]
Not sure how to implement this in logical way
-1 from my side. While in general user settings should be remembered and the expansion state is often such a setting, it's not always and not in case of the SI. The purpose is to inspect text for some rare cases for own documents or more often if you receive buggy documents from different sources. But it's not to investigate just DF and to ignore other properties. Usually, the style modifies just a few attributes, which fits easily into the tree. So => WF
*** Bug 139037 has been marked as a duplicate of this bug. ***
(In reply to Heiko Tietze from comment #3)
This is useful enhancement; although its implementation is not straightforward (it needs remembering names of nodes expanded/collapsed before the change, then apply the state to the nodes re-built after the change), it's doable and welcome. The number of properties is potentially overwhelming, with unlimited number of styles showing due to inheritance and nesting, and tens of direct properties (e.g., legacy and/or created by copy/paste, import, etc.).
While I don't volunteer to implement this, IMO this should not be WFed.