Bug 125544 - Table cell alignment is recalculated on opening documents
Summary: Table cell alignment is recalculated on opening documents
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
5.1.0.3 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisectRequest, regression
Depends on:
Blocks: Writer-Tables-Alignment
  Show dependency treegraph
 
Reported: 2019-05-28 08:19 UTC by Heiko Tietze
Modified: 2023-06-13 23:32 UTC (History)
5 users (show)

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 Heiko Tietze 2019-05-28 08:19:01 UTC
This is a follow-up to bug 124860 (see comment 36 for my summary).

When opening existing documents, the table content is realigned depending on Tools > Options > Writer > Table (see c11) (this issue is relevant whether we default to on or off since the user may change it manually but wouldn't expect that just opening a document applies it).

Just opening a document must not result in any change that triggers the confirmation to not store changes on close. And since the default of alignment might have been changed meanwhile this issue also results in a silent modification of documents.

Steps to reproduce:

* New document, enter a table insert numbers, add a formula (e.g. =<a1>+<b1>)
* close, change alignment in tools > options and reopen
Comment 1 Usama 2019-06-16 04:15:50 UTC
Opening a document with table and formula after changing alignment in Options > Writer > Table [Input in tables] didn't trigger document changes. Could we close it as RESOLVED FIXED ?

Tested on the latest available Appimage daily version: 
 
Version: 6.3.0.0.alpha1+
Build ID: 77ae0abe21f672cf4b7d2e069f1d40d20edc49a7
CPU threads: 4; OS: Linux 4.9; UI render: default; VCL: gtk3; 
TinderBox: Linux-rpm_deb-x86_64@86-TDF, Branch:master, Time: 2019-05-31_15:33:33
Locale: en-GB (en_GB.utf8); UI-Language: en-US
Calc: threaded
Comment 2 bugzilla2 2019-06-16 11:55:27 UTC
(In reply to Usama from comment #1)
> Opening a document with table and formula after changing alignment in
> Options > Writer > Table [Input in tables] didn't trigger document changes.

I can't confirm that. Bug is still present in 6.3.0 Beta 1 if Table-Alignment is enabled.
Comment 3 QA Administrators 2020-01-01 03:27:52 UTC Comment hidden (obsolete)
Comment 4 bugzilla2 2020-06-27 10:57:09 UTC
Bug is still present in 7.0 Beta 2 if Table-Alignment is enabled.

At least when using Time-Values like in my example from Bug 124860.
Comment 5 QA Administrators 2022-06-28 03:25:29 UTC Comment hidden (obsolete)
Comment 6 bugzilla2 2022-06-28 11:29:17 UTC
Bug is still present in 7.3.4.2, if Table-Alignment is enabled.

At least when using Time-Values like in my example from Bug 124860.
Comment 7 Stéphane Guillou (stragu) 2023-06-13 23:32:30 UTC
This is a regression starting in 5.1.0.1 (tested with linux-64-releases bibisect repo)