Bug 129639 - Could Not Set Column Width in One Column Table
Summary: Could Not Set Column Width in One Column Table
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Cell-Management
  Show dependency treegraph
 
Reported: 2019-12-27 06:30 UTC by Rizal Muttaqin
Modified: 2023-10-11 19:06 UTC (History)
3 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 Rizal Muttaqin 2019-12-27 06:30:30 UTC
Step to reproduce

1. Insert a table in a Writer document with 1 column and 2 rows
2. Try to set column size by right clicking in the whole selected table > select Size > Column Width
3 .In my case, default width is 17,00 cm, set to 12,00 cm

Nothing happened

Expected result:

The column width shrink to be 12,00 cm 


Version: 6.5.0.0.alpha0+
Build ID: 21f13b2829dc9ffc19bfad56fe764029c845a0b4
CPU threads: 4; OS: Linux 5.0; UI render: default; VCL: gtk3; 
TinderBox: Linux-rpm_deb-x86_64@86-TDF, Branch:master, Time: 2019-12-25_21:30:00
Locale: id-ID (id_ID.UTF-8); UI-Language: en-US
Calc: threaded
Comment 1 Dieter 2019-12-27 13:07:46 UTC
I confirm it with

Version: 6.5.0.0.alpha0+ (x64)
Build ID: e26d89371f0e4f41476c9a99be01d98dedb76776
CPU threads: 4; OS: Windows 10.0 Build 18362; UI render: default; VCL: win; 
Locale: de-DE (de_DE); UI-Language: en-GB
Calc: threaded

and also with

Version: 6.3.4.2 (x64)
Build-ID: 60da17e045e08f1793c57c00ba83cdfce946d0aa
CPU-Threads: 4; BS: Windows 10.0; UI-Render: Standard; VCL: win; 
Gebietsschema: de-DE (de_DE); UI-Sprache: de-DE
Calc: threaded

Perhaps it is intended that you can't change column size, if this would change width of the table. But in this case I would expect a warning / information.

cc: Design-Team
Comment 2 Heiko Tietze 2020-01-07 14:04:53 UTC
What you do with column size is to distribute the total width, 17cm in my case. To make the whole table smaller use Table > Width in the same dialog. => WFM
Comment 3 Timur 2020-01-08 13:11:32 UTC
There are multiple possible solutions to this bug report:
1. shrink table if single column (as bug report that I support)
2. give a warning (alternative to 1.)
3. explain in Documentation (in any case), where this is not explained at https://help.libreoffice.org/6.5/en-US/text/swriter/01/05120100.html
Comment 4 Heiko Tietze 2021-06-21 07:34:49 UTC
It depends on how you change the table width, it works with table properties > Table: Alignment=left, Width=10cm (changes spacing right to 7cm). It does not work with table properties > Columns: [x] Adapt table width, Remaining space=7cm (after setting alignment=left). However, with two columns the second procedure meets the expectation and sets table width automatically. 

This is at least inconsistent and we should adjust the table width on single columns too.
Comment 5 QA Administrators 2023-06-22 03:14:41 UTC Comment hidden (obsolete)
Comment 6 Dieter 2023-07-29 09:47:30 UTC
Still present in

Version: 7.6.0.1 (X86_64) / LibreOffice Community
Build ID: 776eaf34564cbf3f034a0ba1fd1d5c32ff9ccf1c
CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Calc: CL threaded

Additional information
In "Column Width" dialog you can't change column width with arrows, if table has only one column. So part of the solution would also be, that you can't change width with typing.
Comment 7 Kira Tubo 2023-10-11 19:06:33 UTC
Reproduced in:

Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 1ec2e39cf4d5fe0a592bc783fd8bcdc4345c8cbd
CPU threads: 6; OS: Windows 10.0 Build 22621; UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded

Also reproduced in 3.3 with following steps:

1. Insert a table in a Writer document with 1 column and 2 rows
2. Right click on table
3. Click "Table" within context menu
4. In Columns tab, update Column Width to a value smaller than default (e.g. changing 6.93" to 5.4")
5. Click OK

Result: column width is not updated