Bug ID: 103215
           Summary: number of sheets is incorrect after moving a sheet to
                    a new document; creating new sheet after moving sheets
                    to new document results in many new sheets
           Product: LibreOffice
           Version: release
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Calc

After moving one or more sheets of a spreadsheet to a new document, the number
of sheets in the document is not reset. ie. if a document has 10 sheets and 5
sheets are moved to a new document, both documents will show as having 10
sheets in the statistics. For ease of reference I'll call this number "S" in
the rest of this bug.

When adding a new sheet to the document, as many empty sheets as a required to
reach S+1 are added. e.g. if the document has 5 sheets, but S is 10 then 6
empty sheets will be added so that S and the number of sheets in the document

Steps to Reproduce:
1.Create a document with multiple (e.g. 10) sheets
2.Move one or more sheets (e.g. 5) to a new document
3.Add a single new sheet to either document

Actual Results:  
e.g. 6 new sheets are added

Expected Results:
1 new sheet added

Reproducible: Always

User Profile Reset: No

Additional Info:
I don't have other operating systems or LibreOffice versions to test this on. I
have not attempted to test what happens when moving sheets to existing
documents nor what happens if sheets are copied rather than moved. 

User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:49.0) Gecko/20100101

You are receiving this mail because:
You are the assignee for the bug.
Libreoffice-bugs mailing list

Reply via email to