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