Bug 159351 - FILEOPEN: prompted to save changes when no change was made on ODS file with multiline cell
Summary: FILEOPEN: prompted to save changes when no change was made on ODS file with m...
Status: RESOLVED DUPLICATE of bug 159690
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
24.2.0.0 alpha1+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, filter:ods, regression
Depends on:
Blocks: ModifiedStatus
  Show dependency treegraph
 
Reported: 2024-01-24 02:00 UTC by Stéphane Guillou (stragu)
Modified: 2024-10-02 16:30 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
test ODS (9.29 KB, application/vnd.oasis.opendocument.spreadsheet)
2024-01-24 02:00 UTC, Stéphane Guillou (stragu)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stéphane Guillou (stragu) 2024-01-24 02:00:44 UTC
Created attachment 192136 [details]
test ODS

Steps:
1. Open attachment, which has a cell with multiline text
2. Close Calc

Result: prompted to save changes when no change was made.

Bibisected with linux-64-24.2 to first bad build [d536a038969c482dff40481d849d8671a9ac7f5f] which points to:

commit 17e362e56f9e15d0214c441e632c91d22e58519d
author	offtkp 	Wed Nov 22 17:00:53 2023 +0200
committer	Paris Oplopoios 	Thu Nov 23 16:13:39 2023 +0100
tdf#158252 sc: Enable text wrapping when inputting line breaks in cell
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159758

Paris, can you please have a look?
Comment 1 Henning 2024-01-26 21:53:58 UTC
My observations to reproduce:

1. create a document with one multiline cell and all other cells as singleline
2. save+exit
3. open document
4. change active cell by using the cursor-keys
5. the cell that was previously selected will be changed to multiline (on cell exit)

The undo-list now has the entry "Attribute" for every cell-change without specifying which attribute as changed.

Other occasions where this behavior appears include copy by Ctrl+c or closing the document.

The cells are not changed to multiline when the selected cell is changed by using the mouse.


From my point of view the severity should be increased because this modifies the data unintentionally.


Version: 24.2.0~rc2 from Debian-repository (4:24.2.0~rc2-2)
Comment 2 ady 2024-02-24 15:35:31 UTC

*** This bug has been marked as a duplicate of bug 159690 ***