[Libreoffice-bugs] [Bug 115328] New: Impress: paragraph margins do not work correctly with AutoFit text boxes
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Wed Jan 31 11:14:38 UTC 2018
https://bugs.documentfoundation.org/show_bug.cgi?id=115328
Bug ID: 115328
Summary: Impress: paragraph margins do not work correctly with
AutoFit text boxes
Product: LibreOffice
Version: 6.0.0.3 release
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Impress
Assignee: libreoffice-bugs at lists.freedesktop.org
Reporter: sergio.callegari at gmail.com
Description:
When using autofit text boxes in impress, text is automatically scaled to fit
the box.
If some paragraphs have margins set to some width tighter than the box width,
they are respected as long as text is not scaled. When text is scaled the
margins are wrong.
Steps to Reproduce:
1. Open impress
2. Insert some text in a slide, using the default box that, by default, should
have autofit on (if it does not have autofit on, switch it on). Assure that the
text has multiple paragraphs. Also, assure that enough text is put in the box
that the autofit function can operate, by rescaling the text.
3. Put the text cursor in one paragraph. Now, go the the margins ruler and drag
the right margin pointer left. While you do so, a thin vertical line should
appear across the slide, indicating the actual place where the text should wrap
because of the margin. Choose some point about halfway through the slide text
box.
Actual Results:
Observe that the paragraph is actually been reflowed to a tighter right margin,
but not as much as it should. Text does not end at the place where the vertical
line appeared during the margin set, but to the right of it. The actual error
depends on the scaling that was applied because of autofit. The larger the
rescaling, the larger the error.
Expected Results:
The paragraph should be reflown ending at the place where the vertical line
appeared during the margin set.
Reproducible: Always
User Profile Reset: No
Additional Info:
I think that LibO forgets to "internally adjust" the after text indent
according to the scaling.
[Information automatically included from LibreOffice]
Locale: en-US
Module: PresentationDocument
[Information guessed from browser]
OS: Linux (All)
OS is 64bit: yes
User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:58.0) Gecko/20100101
Firefox/58.0
--
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/20180131/457143c3/attachment.html>
More information about the Libreoffice-bugs
mailing list