https://bugs.freedesktop.org/show_bug.cgi?id=85762

            Bug ID: 85762
           Summary: AutoSize for width on Frame works incorrectly when a
                    one-word line is longer than previous lines
           Product: LibreOffice
           Version: 4.3.3.1 rc
          Hardware: Other
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: pa...@landau.ws

Created attachment 108798
  --> https://bugs.freedesktop.org/attachment.cgi?id=108798&action=edit
Writer document illustrating the example in the description

In some circumstances, AutoSize on a Frame fails to expand the width
sufficiently.

Specifically, this happens when a line contains a single word that is longer
than all previous lines.

Curiously, this does not happen to all of my Frames, but when it happens, it is
reliably replicable.

Attached is a sample document.

TO DUPLICATE

1. Create a new Writer document, size A4.

2. Insert a Frame. Check AutoSize on both Width and Height.

3. In the text area of the Frame, set the text large (e.g. 88 pt) and type
"Check it's worthwhile" (or any words where the first line is shorter than the
last word). Alternatively, type "Check this is worthwhile" and delete letters
from the first word.

This can be extended to having more than two lines, e.g. "Check that this
wording is always worthwhile to use."

WHAT HAPPENS

When the a line with a single word is longer than any previous line, the frame
width decreases, causing the second word to wrap.

This happens in A4 or Letter, and in Portrait or Landscape (with suitable text
sizes and word lengths).

WHAT SHOULD HAPPEN

The frame should keep its width sufficient for the second line, allowing the
second word to remain intact.

TESTED ON OPERATING SYSTEMS

o Ubuntu 14.04 64-bit
o Windows 7

TESTED ON LIBREOFFICE VERSIONS

4.3.3.1
4.4.0.0.alpha1

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to