Download it now!
Bug 83824 - EDITING: Adjusting table borders in web layout is incorrect when table alignment set to center
Summary: EDITING: Adjusting table borders in web layout is incorrect when table alignm...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
(earliest affected)
Inherited From OOo
Hardware: Other All
: medium normal
Assignee: Not Assigned
Depends on:
Blocks: Writer-Web-Layout
  Show dependency treegraph
Reported: 2014-09-13 19:05 UTC by Eyal Rozenberg
Modified: 2019-12-03 23:35 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:

1 of 3: After switching back to Page Layout (251.14 KB, image/png)
2014-09-13 19:05 UTC, Eyal Rozenberg
2 of 3: After scrolling (309.83 KB, image/png)
2014-09-13 19:05 UTC, Eyal Rozenberg
3 of 3: After aligning table to Center (319.59 KB, image/png)
2014-09-13 19:05 UTC, Eyal Rozenberg
ODT document for reproducing the bug (14.65 KB, application/vnd.oasis.opendocument.text)
2019-12-03 23:34 UTC, Eyal Rozenberg

Note You need to log in before you can comment on or make changes to this bug.
Description Eyal Rozenberg 2014-09-13 19:05:03 UTC
Created attachment 106228 [details]
1 of 3: After switching back to Page Layout

I've done something like the following:

- Created a table in Print Layout mode
- Aligned the table to Center
- Switched to Web Layout
- Changed some column widths (increased, decreased, dragged left and right, including the outer borders)
- Switched back to Print Layout

Now, I've reached a situation where the rightmost cell of the table ends beyond the page margin - and I see the table borders (not the contents) drawn beyond the border. Scrolling up and down or realigning the table leave the drawn bits-of-border, but resizing the window etc. make them disappear. 

See screenshots.
Comment 1 Eyal Rozenberg 2014-09-13 19:05:34 UTC
Created attachment 106229 [details]
2 of 3: After scrolling
Comment 2 Eyal Rozenberg 2014-09-13 19:05:55 UTC
Created attachment 106230 [details]
3 of 3: After aligning table to Center
Comment 3 Yousuf Philips (jay) (retired) 2014-09-14 18:31:37 UTC
Hello Eyal,

Thank you for submitting the bug. I can confirm that the bug is available in 3.3.0 and 4.3.3 on Linux. Seems that when the adjustment is being made in web layout, its not taking into consideration the table alignment being centered.

Build ID: f3cdb7804a26c5cf0623d9b83130594f83372768
TinderBox: Linux-rpm_deb-x86@45-TDF, Branch:libreoffice-4-3, Time: 2014-09-12_04:11:44
Comment 4 Eyal Rozenberg 2014-09-14 20:06:24 UTC
Thank you and everyone doing work on this great project! I wish I had time to contribute more seriously than the occasional bug report...
Comment 5 Yousuf Philips (jay) (retired) 2014-09-14 22:46:27 UTC
Thank you for taking the time to report the bug and whenever you do get more time to contribute, there are many teams that the project has that you can be a part of. If you have 5 or more minutes to spare a day, why not help translate libreoffice into hebrew, as it is 83% complete currently.
Comment 6 tommy27 2016-04-16 07:25:51 UTC Comment hidden (obsolete)
Comment 7 Eyal Rozenberg 2016-04-16 07:53:35 UTC
Can't reproduce this with LO, marking WORKSFORME.
Yousuf: If you still see this manifest, do reopen.
Comment 8 Yousuf Philips (jay) (retired) 2016-04-16 14:25:34 UTC
Still reproducible for me.

Build ID: 92d7fef02574051826e46a3a7e3d33a1afa062d7
CPU Threads: 2; OS Version: Linux 4.2; UI Render: default; 
TinderBox: Linux-rpm_deb-x86_64@70-TDF, Branch:master, Time: 2016-04-14_03:19:54
Locale: en-US (en_US.UTF-8)
Comment 9 QA Administrators 2017-10-23 13:59:35 UTC Comment hidden (obsolete)
Comment 10 QA Administrators 2019-12-03 14:20:54 UTC Comment hidden (obsolete)
Comment 11 Eyal Rozenberg 2019-12-03 23:34:41 UTC
Created attachment 156281 [details]
ODT document for reproducing the bug

Reproduction instructions:

1. Open attached document in Print View.
2. Switch to Web View.
3. Drag the rightmost border rightwards somewhat (other border changes may also work).
4. Switch back to Print View.

This shifts the (single-cell) table _way_ to the right, beyond the edge of the line.
Comment 12 Eyal Rozenberg 2019-12-03 23:35:49 UTC
Bug still manifests with:

Build ID: 5030be4e85179147476b1e441eb618fb6ed58235
CPU threads: 4; OS: Linux 5.2; UI render: default; VCL: gtk3; 
TinderBox: Linux-rpm_deb-x86_64@86-TDF, Branch:master, Time: 2019-11-28_20:14:48
Locale: en-US (en_IL); UI-Language: en-US