Bug 150597 - Sheet names under Sidebar Navigator are not updated correctly after Copy/Move Sheet
Summary: Sheet names under Sidebar Navigator are not updated correctly after Copy/Move...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
4.2.0.4 release
Hardware: All Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Navigator
  Show dependency treegraph
 
Reported: 2022-08-25 08:26 UTC by Kevin Suo
Modified: 2023-12-05 05:38 UTC (History)
3 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 Kevin Suo 2022-08-25 08:26:19 UTC
When I move or Sheet1 to a new location and assign a new name (i.e. Sheet2) to the new sheet, the sheet name under the sidebar navigator is still showing as "Sheet1_2" (rather than "Sheet2"). After a reload the sheet name under the sidebar will be correct.

Steps to Reproduce:
1. New Spreadsheet.
--> There is one sheet named "Sheet1". Open the sidebar, observe that "Sheet1" is correctly shown under the "Sheets" tree.
2. Right-click on "Sheet1", select "Move/Copy Sheet" to open the copy/move sheet dialog.
(Since there is only 1 sheet, only "Copy" is possible).
Observe that the default new sheet name is "Sheet1_2".
3. Input a new name (e.g. Sheet2) on the dialog, click the "Copy" button.

Current Result:
The name "Sheet2" is correctly shown in the Sheets tab, but in the sidebar navigator the name is still "Sheet1_2".
(Now if you double-click on the "Sheet1_2" nothing happens because that sheet does not exist. The name will be correctly shown if you reload the document.)

Expected Result:
After step 3 the sidebar shows the correct sheet name as I have entered on the Move/Copy sheets dialog.

Version: 7.4.1.0.0+ / LibreOffice Community
Build ID: 710ea67c100b1e81453258e65d16412f1e98a8f2
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: zh-CN (zh_CN.UTF-8); UI: zh-CN
Calc: threaded

Ubuntu 22.04 LTS x64.
Comment 1 raal 2022-08-25 21:05:06 UTC
Confirm with Version: 7.5.0.0.alpha0+ / LibreOffice Community
Build ID: 27892a5e12dada80226f778ab2bd14b1bdaab58a
CPU threads: 4; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: cs-CZ (cs_CZ.UTF-8); UI: en-US
Calc: threaded

and Version 4.1.0.0.alpha0+ (Build ID: efca6f15609322f62a35619619a6d5fe5c9bd5a)
Comment 2 BogdanB 2023-12-05 05:38:41 UTC
Also in
Version: 24.2.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: bc95ece0618b9886890d9c758b9d0ebc0fc41c69
CPU threads: 16; OS: Linux 6.2; UI render: default; VCL: gtk3
Locale: ro-RO (ro_RO.UTF-8); UI: en-US
Calc: threaded