Bug 84697 - shape looses wrap setting, when textbox is added
Summary: shape looses wrap setting, when textbox is added
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.4.0.0.alpha0+ Master
Hardware: Other All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Anchor-and-Text-Wrap
  Show dependency treegraph
 
Reported: 2014-10-05 20:17 UTC by Regina Henschel
Modified: 2018-11-06 14:56 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Dummy text with shape and wrap kind "No Wrap" (16.43 KB, application/vnd.oasis.opendocument.text)
2014-10-05 20:17 UTC, Regina Henschel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Regina Henschel 2014-10-05 20:17:03 UTC
Created attachment 107380 [details]
Dummy text with shape and wrap kind "No Wrap"

Open attached document.
Select shape and use "Add textbox" from context menu.
Notice, that the textbox is added at a wrong place (likely the same error as issue 84691).
Save the document and reopen.
Notice, the textbox is now centered in the shape as it should, but the wrap is wrong now. The shape has still set wrap kind "No Wrap", but the text is actually wrapping in kind "Page Wrap".
Comment 1 Regina Henschel 2014-10-05 20:31:08 UTC
Open Style and Formatting window in category "Frames".
The style "Frame" has the default wrap setting "Parallel". Set it to "No Wrap". Notice the wrap of the shape changes. Try other combinations: Set shape to "Before". Then set style Frame to wrap "Trough".

It seems, that the Frame-style and the shape wrap is not clearly separated.
Comment 2 Buovjaga 2014-11-14 19:21:45 UTC
I reproduced these all using the document provided.
When I tried from scratch, though, the wrap did not change after reopening. The text box did spawn under the shape.

Win 7 64-bit Version: 4.4.0.0.alpha2+
Build ID: b021b5983c62e266b82d9f0c5c6d8d8900553827
TinderBox: Win-x86@39, Branch:master, Time: 2014-11-12_01:10:08
Comment 3 QA Administrators 2015-12-20 16:06:17 UTC Comment hidden (obsolete)
Comment 4 Regina Henschel 2018-11-06 14:56:36 UTC
The initial wrong position of the text box is still there, but wrap settings are kept now. Tested in Version: 6.2.0.0.alpha1+ (x64)
Build ID: f825e6d4082c0d0beb1c95b881f6a2ee9bfc9161
CPU threads: 8; OS: Windows 10.0; UI render: GL; VCL: win; 
TinderBox: Win-x86_64@42, Branch:master, Time: 2018-11-05_00:20:26
Locale: de-DE (en_US); Calc: CL