Bug 160212 - Line break in A1 causes Calc to always prompt to save / prompts to save twice
Summary: Line break in A1 causes Calc to always prompt to save / prompts to save twice
Status: RESOLVED DUPLICATE of bug 159938
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
24.2.1.2 release
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-15 09:39 UTC by rotb545
Modified: 2024-03-15 11:16 UTC (History)
1 user (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 rotb545 2024-03-15 09:39:35 UTC
Description:
Adding a line break to text in A1 causes Calc to prompt to save even if no changes are made, plus prompt to save immediately after saving. 

Steps to Reproduce:
1. create new ODS
2. add text to A1:
    'some text[line break via CTRL+ENTER]
     more text'
3. save (CTRL+S)
4. close (CTRL+W)
5. Calc will now prompt to save again even though nothing has changed since last save

Actual Results:
6. now when you open this ODS it will always prompt to save even when nothing has been changed

Expected Results:
Calc should not prompt to save when nothing has changed.


Reproducible: Always


User Profile Reset: Yes

Additional Info:
Version: 24.2.1.2 (X86_64) / LibreOffice Community
Build ID: db4def46b0453cc22e2d0305797cf981b68ef5ac
CPU threads: 16; OS: Windows 10.0 Build 22635; UI render: Skia/Vulkan; VCL: win
Locale: en-GB (en_GB); UI: en-GB
Calc: CL threaded
Comment 1 David Robley 2024-03-15 10:13:22 UTC
I confirm this behaviour on Linux also.

Re-opening the document and immediately closing it without editing will also trigger the Save dialog. No printing is involved and the option to set document modified after printing is disabled.

Version: 24.2.1.2 (X86_64) / LibreOffice Community
Build ID: 420(Build:2)
CPU threads: 16; OS: Linux 5.15; UI render: default; VCL: x11
Locale: en-AU (wbp_AU.UTF-8); UI: en-US
SlackBuild for 24.2.1 by Eric Hameleers
Calc: threaded
Comment 2 ady 2024-03-15 10:58:09 UTC
This is solved in LO 24.2.2 and in master daily.

*** This bug has been marked as a duplicate of bug 159938 ***
Comment 3 rotb545 2024-03-15 11:16:19 UTC
Confirmed fixed in

Version: 24.2.2.1 (X86_64) / LibreOffice Community
Build ID: bf759d854b5ab45b6ef0bfd22e51c6dc4fb8b882