Bug 123898 - Long frame content not consistently aligned
Summary: Long frame content not consistently aligned
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
6.3.0.0.alpha0+
Hardware: All All
: medium normal
Assignee: Samuel Mehrbrodt (allotropia)
URL:
Whiteboard: target:6.3.0
Keywords:
: 123899 (view as bug list)
Depends on:
Blocks:
 
Reported: 2019-03-06 12:02 UTC by Samuel Mehrbrodt (allotropia)
Modified: 2019-03-12 09:10 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Bugdoc (13.33 KB, application/vnd.oasis.opendocument.text)
2019-03-06 13:08 UTC, Samuel Mehrbrodt (allotropia)
Details
expected (35.85 KB, image/png)
2019-03-06 13:12 UTC, Samuel Mehrbrodt (allotropia)
Details
actual (35.59 KB, image/png)
2019-03-06 13:12 UTC, Samuel Mehrbrodt (allotropia)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Samuel Mehrbrodt (allotropia) 2019-03-06 12:02:07 UTC
Attached bugdoc has a number of frames with content not fitting in the frame.
When opening the doc, some frames have triangles on both sides of the frame, some have only triangles on the right side.
When clicking into a frame, content might jump to the left, so that only the right triangle is shown.

This should be made consistent. Probably content should align left and only the right triangle should be shown on loading.
Comment 1 Samuel Mehrbrodt (allotropia) 2019-03-06 12:08:18 UTC
*** Bug 123899 has been marked as a duplicate of this bug. ***
Comment 2 Samuel Mehrbrodt (allotropia) 2019-03-06 13:08:19 UTC
Created attachment 149765 [details]
Bugdoc
Comment 3 Samuel Mehrbrodt (allotropia) 2019-03-06 13:12:34 UTC
Created attachment 149766 [details]
expected
Comment 4 Samuel Mehrbrodt (allotropia) 2019-03-06 13:12:51 UTC
Created attachment 149767 [details]
actual
Comment 5 Durgapriyanka 2019-03-06 17:04:32 UTC
Thank you for reporting the bug. I can confirm the bug is present. If I click on the content, the triangle keeps moving from right to left and left to right.

Version: 6.3.0.0.alpha0+
Build ID: b6b28931435e44aca92b8c0e1659f701e3ed1a87
CPU threads: 2; OS: Windows 6.1; UI render: default; VCL: win; 
TinderBox: Win-x86@42, Branch:master, Time: 2019-01-30_06:57:04
Locale: en-US (en_US); UI-Language: en-US
Calc: threaded
Comment 6 Samuel Mehrbrodt (allotropia) 2019-03-07 16:02:01 UTC
I found out this happens only with when the textbox content has multiple lines.
Comment 7 Commit Notification 2019-03-12 09:09:49 UTC
Samuel Mehrbrodt committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/+/86567ebde2d38c44aae93064b8c102f365641f81%5E%21

tdf#123898 Fix frame content misaligned

It will be available in 6.3.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.