https://bugs.documentfoundation.org/show_bug.cgi?id=150597

            Bug ID: 150597
           Summary: Sheet names under Sidebar Navigator are not updated
                    correctly after Copy/Move Sheet
           Product: LibreOffice
           Version: 7.4.0.3 release
          Hardware: All
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Calc
          Assignee: [email protected]
          Reporter: [email protected]

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to