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

            Bug ID: 147953
           Summary: Autosize text frame stops working
           Product: LibreOffice
           Version: 7.0 all versions
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: [email protected]
          Reporter: [email protected]

Steps to replicate:

1. In Writer, insert a frame.
2. Set its width to AutoSize
3. Enter at least two paragraphs of text in the text frame
4. Open the Character Map in Windows and copy any character from it (this is
the only 100% reliable way I know to force this bug.)
5. Paste the character(s) into the Writer document.

Result:

The text frame becomes 100% wide and cannot be made smaller anymore. Undo does
not fix the problem, the document is now "corrupt".


This is causing a headache for myself and others in my organization that need
to use a lot of these text frames. With the Character Map this problem happens
all the time. Otherwise it happens sporadically and I don't know why. If the
characters are pasted without formatting then there is no problem. I am not
sure if the bug only occurs during pasting or can be triggered by other things
too.

I narrowed the cause of the problem to one line in the settings.xml inside the
.odt file. The line sets FrameAutowidthWithMorePara to true. If it is set to
false there is no problem. (Also note that the problem is not noticeable if the
frame only contains one paragraph.) What on earth is this
FrameAutowidthWithMorePara setting? Why does it exist and what causes it to
flip sometimes when pasting text? And why can't it be unflipped?

Tested in 7.1.4 and 7.3.1.3, but I believe it is an old bug.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to