Bug 103215 - 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
Summary: number of sheets is incorrect after moving a sheet to a new document; creatin...
Status: RESOLVED INSUFFICIENTDATA
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
5.1.1.3 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-10-14 12:23 UTC by Chris McKenna
Modified: 2017-05-31 10:46 UTC (History)
2 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 Chris McKenna 2016-10-14 12:23:32 UTC
Description:
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 match. 

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 Firefox/49.0
Comment 1 m_a_riosv 2016-10-15 11:39:27 UTC
Not reproducible.
Win10x64
Version: 5.1.6.1 (x64)
 Build ID: f3e25ec0581f5012f54d8810dcddd5824f4ee374
 CPU Threads: 1; OS Version: Windows 6.19; UI Render: default; 
 Locale: es-ES (es_ES); Calc: CL
Version: 5.3.0.0.alpha0+
 Build ID: ed5ca17dce1d088ce3fbbb3a30f748ba92cd07d9
 CPU Threads: 4; OS Version: Windows 6.19; UI Render: GL; 
 TinderBox: Win-x86@42, Branch:master, Time: 2016-10-09_05:40:51
 Locale: es-ES (es_ES); Calc: CL

Please test updating the version or
try resetting the user profile, sometimes solves strange issues.
https://wiki.documentfoundation.org/UserProfile
Usually it's enough renaming/deleting the file "user/registrymodifications.xcu",  it affects all the options in Menu/Tools/Options, and the files "user/basic/dialog.xlc" and "scrip.xlc" are overwritten, additionally custom colors in "user/config/standard.soc" are lost.
Comment 2 QA Administrators 2017-05-02 11:37:02 UTC Comment hidden (obsolete)
Comment 3 QA Administrators 2017-05-31 10:46:16 UTC
Dear Bug Submitter,

Please read this message in its entirety before proceeding.

Your bug report is being closed as INSUFFICIENTDATA due to inactivity and
a lack of information which is needed in order to accurately
reproduce and confirm the problem. We encourage you to retest
your bug against the latest release. If the issue is still
present in the latest stable release, we need the following
information (please ignore any that you've already provided):

a) Provide details of your system including your operating
   system and the latest version of LibreOffice that you have
   confirmed the bug to be present

b) Provide easy to reproduce steps – the simpler the better

c) Provide any test case(s) which will help us confirm the problem

d) Provide screenshots of the problem if you think it might help

e) Read all comments and provide any requested information

Once all of this is done, please set the bug back to UNCONFIRMED
and we will attempt to reproduce the issue. Please do not:

a) respond via email 

b) update the version field in the bug or any of the other details
   on the top section of our bug tracker

Warm Regards,
QA Team

MassPing-NeedInfo-20170531