Bug 170052 - VIEWING: undo after Data > Sort leaves wrong cell height with "Wrap text automatically"
Summary: VIEWING: undo after Data > Sort leaves wrong cell height with "Wrap text auto...
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
26.2.0.0 alpha0+ master
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: QA:needsComment
Keywords:
Depends on:
Blocks:
 
Reported: 2025-12-19 18:12 UTC by Michael Otto
Modified: 2026-01-03 03:13 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments
B1 with "Wrap text automatically" (10.43 KB, application/vnd.oasis.opendocument.spreadsheet)
2025-12-19 18:12 UTC, Michael Otto
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Otto 2025-12-19 18:12:25 UTC
Created attachment 204723 [details]
B1 with "Wrap text automatically"

PRECONDITION:
Calc spreadsheet with "Wrap text automatically" set in a cell with more content
in attached example, B1 has "wrap text automatically":
A1	B1 B1 B1 B1 B1
A2	B2
A3	B3

PROBLEM DESCRIPTION:
Data > Sort Descending
   "B1 B1 B1 B1 B1" is now in cell B3 and the 2 line's height in 3rd row (OK)
Edit > Undo
   does not change the 2 line's height back to the 1st row (NOK)

on save and close file and open file again, the height is OK
same behaviour for Data > Sort, Data > Sort Ascending and Data > Sort Descending
might be related to bug#168083


EXPECTED BEHAVIOR:
undo shall show the previous state


Version: 26.2.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: 0686b1972806fe8b711de5ba64039fb38cd14889
CPU threads: 5; OS: Linux 6.14; UI render: default; VCL: gtk3
Locale: de-DE (de_DE.UTF-8); UI: en-US
Calc: threaded