Bug 118975 - LO calc. when opening sheets value highlighting is always enabled.
Summary: LO calc. when opening sheets value highlighting is always enabled.
Status: RESOLVED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
6.0.5.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-07-27 23:49 UTC by Stephen
Modified: 2019-03-22 09:04 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
sample file that was created with highlighting off in Tools|options but values were still highlighted when first entered. (7.72 KB, application/vnd.oasis.opendocument.spreadsheet)
2018-08-19 00:15 UTC, Stephen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stephen 2018-07-27 23:49:37 UTC
Description:
Whenever i open a sheet value highlighting is enabled. I have checked the tools:options settings and it is unchecked.
Doesn't matter what I do it always is on when a sheet is opened.
I switch it off and all is normal and save and close the sheet only to find it on again on re-opening.
Sheets are savesd in XLXs format for compatibility.

Steps to Reproduce:
1.open spreadsheet (any will do)
2.value highlighting is enabled
3.switch off highlighting (Ctrl-F8)
4. close sheet
5. re-open and is ecivent again.

Actual Results:
as above.
Same happenes with a new spreadsheet value highlighting is enabled by default even though switched off in options.

Expected Results:
After switching off value highlighting for a sheet and also ensuring in tools:options:calc:view that it is unchecked value highlighting should not occur unless specifically switched on either in the sheet or in the options.


Reproducible: Always


User Profile Reset: No



Additional Info:
as above
Comment 1 Jean-Baptiste Faure 2018-07-29 10:47:10 UTC
Do you encounter the same behavior with document saved in OpenDocument format (.ods for spreadsheets)?

Did you try in safe mode? Menu Help > Restart in Safe Mode...

Status set to NEEDINFO, please set it back to UNCONFIRMED once requested
informations are provided.

Best regards. JBF
Comment 2 Stephen 2018-07-29 22:21:57 UTC
saving and re-opening in ODS format is OK.
seems only m$ compatible format is affected.
as workaround will only use ODS format and only use m$ formats when required for external use.
Did try safe mode with no change.
Comment 3 Jean-Baptiste Faure 2018-07-30 07:52:02 UTC
(In reply to Stephen from comment #2)
> saving and re-opening in ODS format is OK.
> seems only m$ compatible format is affected.
> as workaround will only use ODS format and only use m$ formats when required
> for external use.
> Did try safe mode with no change.

It is the right way to work with LibreOffice: always use the OpenDocument Format (no conversion each time you open or save your document) and export (keep the original in ODF) to a foreign format only when you need to provide your document to user unable to edit ODF files. If the user has only to read the document, you should prefer PDF format instead of OOXML.

Best regards. JBF
Comment 4 Xisco Faulí 2018-07-30 08:47:02 UTC
Thank you for reporting the bug. Please attach a sample document, as this makes it easier for us to verify the bug. 
(Please note that the attachment will be public, remove any sensitive information before attaching it. 
See https://wiki.documentfoundation.org/QA/FAQ#How_can_I_eliminate_confidential_data_from_a_sample_document.3F for help on how to do so.)

I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' once the requested document is provided.
Comment 5 Stephen 2018-07-30 23:17:11 UTC
Xisco,
plese see comment 3.
sheets saved in M$ format are the issue. sheets saved in native LO format do not have the issue. Obviously a format translation issue.
As the translation still has a problem the issue should remain open until this is fixed.
Comment 6 raal 2018-08-18 14:20:35 UTC
Tested with Version: 6.2.0.0.alpha0+
Build ID: 53eda574a61396b6765cd1cb0ac9804c754ac4c1
CPU threads: 4; OS: Linux 4.4; UI render: default; VCL: gtk3; 
and xlsx file. But my file is not originally created in ms office, maybe that's the reason why I can not reproduce it. Value highlighting is not saved in xlsx in my case. I tried to turn it on.
Please attach test file with value highlighting turned on. Filetype xlsx.
Thank you.

https://wiki.documentfoundation.org/QA/FAQ#How_can_I_eliminate_confidential_data_from_a_sample_document.3F
Comment 7 Stephen 2018-08-19 00:15:56 UTC
Created attachment 144276 [details]
sample file that was created with highlighting off in Tools|options but values were still highlighted when first entered.

Hi Raal,
My spreadsheet was created in LO. 
I am currently using Version: 6.1.0.2
Even with Value highlighting switched off in Tools|options
Starting a new sheet and inputting numbers seems to switch highlighting back on.
If i save and re-open it all is OK. The bug seems a little more subtle than just in the translation to .xlxs which I originally found
I've attached the simple trial sheet i used today giving the above result.
Seems I may have to explicitly switch off value highlighting when i create a new sheet as the global option appears to be ignored.
I hope this helps.
Comment 8 Xisco Faulí 2018-08-20 16:23:52 UTC
Hello Stephen,
So I have to open the attached document, paste it into a new spreadsheet and the highlight will be enabled again?
I can't reproduce it in

Version: 6.2.0.0.alpha0+
Build ID: 401cba4c20fbc930f034168872642428d7459218
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3; 
Locale: ca-ES (ca_ES.UTF-8); Calc: threaded
Comment 9 QA Administrators 2019-03-21 11:11:05 UTC Comment hidden (obsolete)
Comment 10 Stephen 2019-03-21 22:21:04 UTC
I have found since logging this bug that it only applies to M$ formatted spreadsheets. As I had to maintain compatibility with a windows environment I used the m$ format.
Since changing to .ods I have not seen the issue.
It still occurs on .xlsx formatted sheets but i just turn it off and then save as .ods
I believe this bug is relatively minor and could possibly be closed.