Bug 67945 - FILEOPEN: when opening a file with INDIRECT to another sheet and chart -> file dirty
Summary: FILEOPEN: when opening a file with INDIRECT to another sheet and chart -> fil...
Status: RESOLVED WONTFIX
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
4.1.0.4 release
Hardware: Other Windows (All)
: medium major
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2013-08-09 09:49 UTC by A. Stucki
Modified: 2016-04-09 08:24 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
file with indirect & chart (40.59 KB, application/vnd.oasis.opendocument.spreadsheet)
2013-08-09 09:49 UTC, A. Stucki
Details
same as test 1, _except_ chart deleted (50.19 KB, application/vnd.oasis.opendocument.spreadsheet)
2014-03-07 07:42 UTC, A. Stucki
Details

Note You need to log in before you can comment on or make changes to this bug.
Description A. Stucki 2013-08-09 09:49:16 UTC
Created attachment 83886 [details]
file with indirect & chart

System: Win7 Pro x64, LO 4.0.0.4

Behavior:
1. open the attached file -> the "save" button is on (the user does not change anything!)
2. exit Calc -> the save/ dont save/ cancel box appears

I.e. the file is "dirty", LO changed something even if there is no change in the content by the user (the INDIRECT expression links to another sheet, not to some external file!)

The effect disappears in the following cases:
- use of LO 4.0.4.2
- deleting the chart on the "Sum" sheet (approx. cell G5)
- replacing the indirect expression in cell B7 with its literal: "2010-04-10"
Comment 1 A. Stucki 2013-08-09 09:50:08 UTC
Sorry, typo with the LO version where the bug shows, is of cource 4.1.0.4
Comment 2 Joel Madero 2014-03-06 21:17:27 UTC
This was never confirmed by an independent person - setting to UNCONFIRMED
Comment 3 Joel Madero 2014-03-06 22:53:44 UTC
Sorry but I'm not understanding the reproducible steps. Please verify that this is still a problem with 4.1.5 or 4.2.1.1 and then provide clearer steps on what we are seeing that is broken.

Marking as NEEDINFO - if it's still an issue and you can provide clearer instructions mark as UNCONFIRMED and we'll take a look. Thanks
Comment 4 A. Stucki 2014-03-07 07:41:16 UTC
Tested with 4.2.1.1, still same behavior...

I do not know what information to provide in addition, sorry, just added another file where the chart is deleted ->
- "save" button is off
- when exiting Calc, the the save/ dont save/ cancel box diôes _not_ appear
Comment 5 A. Stucki 2014-03-07 07:42:16 UTC
Created attachment 95293 [details]
same as test 1, _except_ chart deleted

see last comment, one of the 3 changes that make the bug disappear
Comment 6 QA Administrators 2014-10-05 23:05:53 UTC
Dear Bug Submitter,

This bug has been in NEEDINFO status with no change for at least 6 months. Please provide the requested information as soon as possible and mark the bug as UNCONFIRMED. Due to regular bug tracker maintenance, if the bug is still in NEEDINFO status with no change in 30 days the QA team will close the bug as INVALID due to lack of needed information.

For more information about our NEEDINFO policy please read the wiki located here: 
https://wiki.documentfoundation.org/QA/FDO/NEEDINFO

If you have already provided the requested information, please mark the bug as UNCONFIRMED so that the QA team knows that the bug is ready to be confirmed.


Thank you for helping us make LibreOffice even better for everyone!


Warm Regards,
QA Team
Comment 7 A. Stucki 2014-10-06 06:50:00 UTC
Just tested with LO 4.3.1.2 Win7/ 64 -> still the same wrong behavior
Comment 8 ign_christian 2014-10-06 09:20:23 UTC
I can confirm with LO 4.3.2.2 portable - Win7 x86, "Save" button is active after file loaded.

Not occured with LO 4.0.6.2
Comment 9 ign_christian 2014-10-06 09:38:43 UTC
(In reply to A. Stucki from comment #0)
> - deleting the chart on the "Sum" sheet (approx. cell G5)
> - replacing the indirect expression in cell B7 with its literal: "2010-04-10"

Confirmed. No problem if we remove indirect function nor chart. Both must exist to reproduce the problem.
Comment 10 QA Administrators 2015-10-14 19:58:07 UTC
** Please read this message in its entirety before responding **

To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year.

There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present.

If you have time, please do the following:

   Test to see if the bug is still present on a currently supported version of LibreOffice (5.0.1 or preferably 5.0.2.2 or later)
   https://www.libreoffice.org/download/

   If the bug is present, please leave a comment that includes the version of LibreOffice and your operating system, and any changes you see in the bug behavior
 
 If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a short comment that includes your version of LibreOffice and Operating System

Please DO NOT

   Update the version field
   Reply via email (please reply directly on the bug tracker)
   Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not appropriate in this case)


If you want to do more to help you can test to see if your issue is a REGRESSION. To do so: 

1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3)

http://downloadarchive.documentfoundation.org/libreoffice/old/

2. Test your bug 
3. Leave a comment with your results. 
4a. If the bug was present with 3.3 - set version to "inherited from OOo"; 
4b. If the bug was not present in 3.3 - add "regression" to keyword


Feel free to come ask questions or to say hello in our QA chat: http://webchat.freenode.net/?channels=libreoffice-qa

Thank you for your help!

-- The LibreOffice QA Team This NEW Message was generated on: 2015-10-14
Comment 11 Markus Mohrhard 2016-04-09 08:24:28 UTC
This is nothing we can fix. INDIRECT is a volatile function which causes the formula cell to be recalculated after the import and the chart which depends on it to be redrawn. Obviously this causes the document to be dirty.

The solution is to avoid INDIRECT which would be a good thing for any spreadsheet user anyway.