Bug 164326 - "rename index" disappeared
Summary: "rename index" disappeared
Status: RESOLVED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
24.8.3.2 release
Hardware: All Linux (All)
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, needsUXEval, regression
Depends on:
Blocks: TableofContents-Indexes
  Show dependency treegraph
 
Reported: 2024-12-14 23:23 UTC by goodguy00@zoho.com
Modified: 2024-12-16 16:32 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 goodguy00@zoho.com 2024-12-14 23:23:08 UTC
Description:
in LO7.6, there was a menu-point to "rename" an index (navigator, rmb on index>rename). just noticed in 24.8 it has disappeared. this functionality is nowhere to be found.

Steps to Reproduce:
1. create an index, it is shown in navigator's index
2. rmb over that index, a menu appears, but in contrast to LO7.6, there is no "rename index" anymore.
3.

Actual Results:
no possibility to rename an index

Expected Results:
a menu point to be able to rename an index.


Reproducible: Always


User Profile Reset: No

Additional Info:
the only possibility i've found is unzipping the odt and change the index' name with an xml-editor in the contents file.
tested with:
Version: 24.8.4.1 (X86_64) / LibreOffice Community
Build ID: 1be9007f5d86a3741c366527d13e2970cbeef057
CPU threads: 4; OS: Linux 6.11; UI render: default; VCL: kf5 (cairo+wayland)
Locale: de-CH (en_US.UTF-8); UI: en-US
Comment 1 m_a_riosv 2024-12-15 00:17:36 UTC
Reproducible
Version: 25.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: f27d2d76c4e577c7231ae755548a8fc20711ca48
CPU threads: 16; OS: Windows 11 X86_64 (build 26100); UI render: default; VCL: win
Locale: es-ES (es_ES); UI: en-US
Calc: CL threaded

Latest version that works on the ones I have installed.
Version: 24.2.7.2 (X86_64) / LibreOffice Community
Build ID: ee3885777aa7032db5a9b65deec9457448a91162
CPU threads: 16; OS: Windows 10.0 Build 26100; UI render: Skia/Vulkan; VCL: win
Locale: es-ES (es_ES); UI: es-ES
Calc: CL threaded
Comment 2 BogdanB 2024-12-15 06:25:33 UTC
Also for Table of Content. "Rename" is not available in sidebar.
Comment 3 raal 2024-12-15 07:04:17 UTC
This seems to have begun at the below commit in bibisect repository/OS linux-64-24.8.
Adding Cc: to Jim Raykowski ; Could you possibly take a look at this one?
Thanks
 c9b9e49ef664427227897dad988d62d16f843b68 is the first bad commit
commit c9b9e49ef664427227897dad988d62d16f843b68
Author: Jenkins Build User <tdf@maggie.tdf>
Date:   Tue May 28 06:27:38 2024 +0200

    source ae94c420e6269f99cdaa611d19e73fc92ebd234b

167913: SwNavigator: Improve Indexes context menu | https://gerrit.libreoffice.org/c/core/+/167913

* Hides the "Update", "Delete Index", and "Rename..." menu items when
the document or index is set read-only. - but my test document is not read only.
Comment 4 raal 2024-12-15 07:07:50 UTC
OK, now I get it - the index is read only. Uncheck "Read only" flag in menu and then you can see "Rename" item.
Comment 5 m_a_riosv 2024-12-15 22:26:07 UTC
Thanks, @raal, so not a bug.

But maybe it will be better than hide the options, gray out them.
Comment 6 Jim Raykowski 2024-12-16 16:32:12 UTC
(In reply to m_a_riosv from comment #5)
> But maybe it will be better than hide the options, gray out them.
If it is decided that graying out the Update, Delete Index, and Rename... menu items is better than hiding them when the index is read-only, here is a patch that does this:

https://gerrit.libreoffice.org/c/core/+/178601