Description: If a cell contains two or more lines, any editing or even just righ-clicking on it will change the internal layout of the cell. Specifically, I have noticed that it de-activate the format option "Shrink to fit cell size" and activates the option "Wrap text automatically". This does not happened is the cell includes only one line. Steps to Reproduce: 1. Edit a cell, including at least two line of text. 2. Format the cell with the option "Shrink to fit cell size". 3. Close the editing and press ENTER. Right click or re-start the editing and press ENTER. Actual Results: The format option chosen gets de-selected in favour of the option "Wrap text automatically". Expected Results: The format of the cell should not change. Reproducible: Always User Profile Reset: Yes Additional Info: [Information automatically included from LibreOffice] Locale: en-US Module: SpreadsheetDocument [Information guessed from browser] OS: Linux (All) OS is 64bit: yes Version: 24.2.6.2 (X86_64) Build ID: 420(Build:2) CPU threads: 4; OS: Linux 6.10; UI render: default; VCL: kf6 (cairo+wayland) Locale: en-GB (en_GB.UTF-8); UI: en-US Calc: threaded
*** This bug has been marked as a duplicate of bug 159690 ***