Bug 135266 - "EDIT INDEX" dialog doesn't remember last Entry Level when reopened
Summary: "EDIT INDEX" dialog doesn't remember last Entry Level when reopened
Status: VERIFIED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: low enhancement
Assignee: Andreas Heinisch
URL:
Whiteboard: target:24.2.0
Keywords:
Depends on:
Blocks: Dialog-Remember-Settings TableofContents-Indexes-Dialog
  Show dependency treegraph
 
Reported: 2020-07-29 10:47 UTC by R. Green
Modified: 2023-12-17 09:02 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Writer doc showing TOC issue. (16.97 KB, application/vnd.oasis.opendocument.text)
2020-07-29 10:47 UTC, R. Green
Details

Note You need to log in before you can comment on or make changes to this bug.
Description R. Green 2020-07-29 10:47:02 UTC
Created attachment 163733 [details]
Writer doc showing TOC issue.

Version: 6.4.4.2 (x64)
Build ID: 3d775be2011f3886db32dfd395a6a6d1ca2630ff
CPU threads: 4; OS: Windows 10.0 Build 19041; UI render: default; VCL: win; 
Locale: en-GB (en_GB); UI-Language: en-GB
Calc: threaded

1. Open the attached writer file, right-click the TOC and chose "Edit Index".
2. Chose the Entries Tab and select Level 4. Make some changes if desired. Close the dialogue.
3. Reopen the "Edit Index" dialogue.

EXPECTED RESULT: The dialogue should open on the Entries tab at level 4.

ACTUAL RESULT: The dialogue opens correctly on the Entries tab but always defaults to Level 1.
Comment 1 Dieter 2020-07-29 11:23:21 UTC
I confirm it with

Version: 7.0.0.0.beta2 (x64)
Build ID: 1c213561a365b5666167321de68c9977500c9612
CPU threads: 4; OS: Windows 10.0 Build 19041; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Calc: CL

I consider this as a bug and change status to NEW, but I also add Design-Team for a further opinion.
Comment 2 R. Green 2020-07-29 12:12:43 UTC
Indirectly related: Bug 135267.
Comment 3 Heiko Tietze 2020-08-04 09:20:41 UTC
Yes, to remember the last user choice is desirable. But a minor issue in this special case. And rather an enhancement IMHO.
Comment 4 Commit Notification 2023-11-13 17:17:27 UTC
Andreas Heinisch committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/8bf614179f5664d7cdd49db41ef462073cc8608d

tdf#135266 - Remember last used entry level depending on the index type

It will be available in 24.2.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 5 Dieter 2023-12-17 09:02:04 UTC
VERIFIED with

Version: 24.2.0.0.beta1 (X86_64) / LibreOffice Community
Build ID: 5f390384195b7264c6e52add9e90a39790285249
CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Calc: CL threaded

Andreas, thank you for fixing it!