Bug 84238 - EDITING: Tables - Updating the line height is saved, but isn't read out of content.xml in the *.odb-file
Summary: EDITING: Tables - Updating the line height is saved, but isn't read out of co...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Base (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Database-Tables
  Show dependency treegraph
 
Reported: 2014-09-23 10:07 UTC by pierre-yves samyn
Modified: 2022-09-23 22:44 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
RowHeight.odb (3.42 KB, application/vnd.sun.xml.base)
2014-09-23 10:07 UTC, pierre-yves samyn
Details

Note You need to log in before you can comment on or make changes to this bug.
Description pierre-yves samyn 2014-09-23 10:07:15 UTC
Created attachment 106719 [details]
RowHeight.odb

Hello

Tables - Updating the line height is not saved

Steps to Reproduce
1. Open the sample database
2. View> Database Objects> Tables
3. Double click on Table1

Expected & actual results : table opened

4. Right click on the row header> Row Height
5. Uncheck "Automatic" and modify the value (e.g. 1cm)
6. Ok to close, close the table
7. File> Save
8. File> Close
9. Same steps from 1 to 3

The row height is lost (vs columns widths & and table formats)

Platform : windows & Version: 4.3.1.2
Build ID: 958349dc3b25111dbca392fbc281a05559ef6848



Regards
Pierre-Yves
Comment 1 Jacques Guilleron 2014-09-23 11:04:50 UTC
Hi Pierre-Yves,

I reproduce with LO 4.3.2.1
Build ID: f9b3ad49d92181b0a1fe7e76f785a2c2cd0847d3
& Windows 7 Home Premium

Row height is not saved.

I tried also the oldest version I have, LO 3.5.3.2 Version ID : 235ab8a-3802056-4a8fed3-2d66ea8-e241b80, where I found the same behavior. 
Inherited from Ooo?

regards,

Jacques
Comment 2 pierre-yves samyn 2014-09-23 12:16:58 UTC
Hi jacques

(In reply to comment #1)
> I reproduce with LO 4.3.2.1

Thank you for your test :)

> Inherited from Ooo?

It seems to be : also reproduced with OOo 3.2.1
OOO320m18 (Build:9502)

Regards
Pierre-Yves
Comment 3 Robert Großkopf 2014-09-24 13:31:14 UTC
Could confirm the row-height isn't read out of the database-file. But is is written in the file. I have changed the row-height and found this in the saved database-file in content.xml:

<style:style style:name="ro1" style:family="table-row"><style:table-row-properties style:row-height="1.51cm"/>

It also shows:
<db:table-representation db:name="Table1" db:default-row-style-name="ro1">

Found the same when I opened the file again - the row-height isn't shown, but is saved in the file.

Seem we must change the title a little bit.
Comment 4 Julien Nabet 2014-10-12 06:38:47 UTC
Lionel: any hint how to search?
I noticed it worked for column width. So I wanted to compare the process for column and for row.
I thought first it was thanks to http://opengrok.libreoffice.org/xref/core/dbaccess/source/ui/misc/UITools.cxx#988 but I added a trace and nothing appeared.
Opengroking on "column-width" gave a lot of results.
So I'm stucked :-(
Comment 5 Alex Thurgood 2015-01-03 17:39:31 UTC Comment hidden (no-value)
Comment 6 QA Administrators 2016-01-17 20:05:06 UTC Comment hidden (obsolete)
Comment 7 Robert Großkopf 2016-01-31 15:02:03 UTC
Bug still exists with LO 5.1.0.3, OpenSUSE 42.1 Leap, 64bit rpm Linux.

One hint: I could change row-hight, close the table, save the *.odb-file and close only the *.odb-file. If I reopen the *.odb-file the row-hight won't be lost.

If I close the whole LO afterword and then reopen LO, the database and the table the row-hight is lost.
Comment 8 pierre-yves samyn 2016-04-22 09:45:30 UTC
Hi

(In reply to robert from comment #7)
> One hint: I could change row-hight, close the table, save the *.odb-file and
> close only the *.odb-file. If I reopen the *.odb-file the row-hight won't be
> lost.
> 
> If I close the whole LO afterword and then reopen LO, the database and the
> table the row-hight is lost.

Confirmed and still reproduced on windows 7/64 &
Version: 5.2.0.0.alpha1 (x64)
Build ID: 902b28a39528b6c92602e9b521a1d0861be1caf9
Threads CPU : 2; Version de l'OS :Windows 6.1; UI Render : par défaut; 
Locale : fr-FR (fr_FR)

Regards
Pierre-Yves
Comment 9 QA Administrators 2017-05-22 13:26:52 UTC Comment hidden (obsolete)
Comment 10 QA Administrators 2019-12-03 14:21:30 UTC Comment hidden (obsolete)
Comment 11 QA Administrators 2022-09-22 03:55:40 UTC Comment hidden (obsolete)
Comment 12 Robert Großkopf 2022-09-22 05:57:34 UTC
Bug is still the same in LO 7.4.1.2 on OpenSUSE 15.3 64bit rpm Linux.
Row height has been saved, but won't be read while opening the database file again.