[Libreoffice-bugs] [Bug 135437] Table goes outside the page when changing column width with adapt table with enabled

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sat Feb 20 21:39:31 UTC 2021


https://bugs.documentfoundation.org/show_bug.cgi?id=135437

--- Comment #3 from zivan.miljkov at gmail.com ---
I was able to successfully replicated the bug on 
Version: 7.0.0.0.alpha1 (x64)
Build ID: 6a03b2a54143a9bc0c6d4c7f1...
CPU threads: 12; OS: Windows 10.0 Build 19042; UI render: Skia/Vulkan; VCL:
win; 
Locale: en-US (en_US); UI: en-US
Calc: threaded

The steps and videos were significant to replicate the behaviour. I did a
little more investigation and found the issue can be also reproduced with
slightly modified steps and the additional information were found when the
application corrected the issue. 

Precondition:
• In the following example measured unit set in the Options is set to
centimeters (cm) 
• Total table width is 17cm
• Example file is used
(https://bugs.documentfoundation.org/attachment.cgi?id=163936)

Scenario:
1. Open file from the precondition in LibreOffice Writer
2. Position the cursor on one table cell and press right-mouse click
3. The popup menu is opened and from the menu press on the “Table properties”
option
3.a. “Table properties” dialog is opened
4. Change Alignment from “Center” to “From left”
5. Go to Columns tab
5.a. Current values are Remaining space: 4.00; Column width 1: 12.00; Column
width 2: 1.00 
5.b. Check “Adapt table width”, enter 14 into column 1 and press Tab button (or
do focus out)
5.c. Current values are update to - Remaining space: 3.00; Column width 1:
13.00; Column width 2: 1.00
5.d. Press OK -> Table is updated correctly
6. Open “Table properties” dialog
7. Go to Columns tab
7.a. Current values are Remaining space: 3.00; Column width 1: 13.00; Column
width 2: 1.00
7.b. Check “Adapt table width”, enter 17 into column 1 and press Tab button (or
do focus out)
7.c. Current values are update to - Remaining space: 0.00; Column width 1:
16.00; Column width 2: 1.00
8. Press OK 

Actual result:
- Table width is updated correctly: Column width 1: 16.00; Column width 2: 1.00
(OK)
- Remaining space stayed at 2.00 cm (Not OK)
o See attachment ID_135437_20210220.mp4
o This behavior is happening on all Measurement units

Expected result:
- Remaining space is updated to 0.00 cm

Additional steps:
9. Open “Table properties” dialog
10. Go to Columns tab
10.a. Current values are Remaining space: 0.00; Column width 1: 16.00; Column
width 2: 1.00
10.b. Go to Table tab
10.c. Press OK
11. Remaining space is adjusted correctly to 0.00.

Note: to change units into Centimeters, you need to follow steps:
- Go to: Tools -> Options -> LibreOffice Driver -> General
- On the right find Setting section, in the “Measurement unit” drop down choose
Centimeter and press OK.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20210220/9f9c3b07/attachment.htm>


More information about the Libreoffice-bugs mailing list