Bug 163150 - Cell Style Changes After Content Editing
Summary: Cell Style Changes After Content Editing
Status: RESOLVED DUPLICATE of bug 159690
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
24.2.6.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-09-25 15:08 UTC by Gio
Modified: 2024-09-26 02:52 UTC (History)
0 users

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 Gio 2024-09-25 15:08:44 UTC
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
Comment 1 ady 2024-09-26 02:52:41 UTC

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