Bug 94274 - Inconsistent default choice of text wrap around image (optimal) vs shape (through)
Summary: Inconsistent default choice of text wrap around image (optimal) vs shape (thr...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.4.4.3 release
Hardware: Other All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
: 154515 158217 (view as bug list)
Depends on:
Blocks: Anchor-and-Text-Wrap
  Show dependency treegraph
 
Reported: 2015-09-16 12:22 UTC by Katarina Behrens (Inactive)
Modified: 2023-11-27 09:45 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Katarina Behrens (Inactive) 2015-09-16 12:22:38 UTC
Have a text document, possibly with lot of text ready.

As per subject, the following scenario works:

1. Insert -> Image
2. Drag image somewhere to the middle of text block

=> Notice that 
   i) text wraps around the image somehow
   ii) Wrap sidebar panel (in Properties deck) appears

The following scenario however doesn't work:

1. Insert a shape (e.g using a toolbar button Standard Shapes, or one from Drawing toolbar, if active)
2. Drag shape somewhere to the middle of the text block

=> Notice that
   i) text doesn't wrap around the shape at all. It is however possible to set wrap by going to Format -> Wrap menu and picking one of the options and then it wraps, it just doesn't happen automatically
   ii) Wrap sidebar panel doesn't appear
Comment 1 Yousuf Philips (jay) (retired) 2015-09-20 10:45:39 UTC
Hi Bubli,

So the behaviour of inserting a shape is that it is set to wrap Through, while when inserting an image is that it is set to Optimal wrap. It would be difficult to know what the most suitable wrap setting to have by default for shapes as we dont have any usage metrics data to tell us, but i think it is fine as its easy to change the wrap in the toolbar and context menu.

I checked MSO and WPS and they have it as Through, while Calligra has it set to Optimal.

We'd have to modify officecfg/registry/data/org/openoffice/Office/UI/Sidebar.xcu and add '              Writer,   Draw,    visible ;' to WrapPropertyPanel in order for the wrap content panel to appear, but we'd also have to hide the 3 new controls that were recently added to the section, as they are not applicable for shapes.
Comment 2 Xisco Faulí 2020-03-09 13:28:20 UTC
Please add keyword 'needsUXEval' and CC 'libreoffice-ux-advise@lists.freedesktop.org' if input from UX is needed.
Comment 3 Stéphane Guillou (stragu) 2023-03-31 14:18:51 UTC
*** Bug 154515 has been marked as a duplicate of this bug. ***
Comment 4 Buovjaga 2023-11-27 09:45:38 UTC
*** Bug 158217 has been marked as a duplicate of this bug. ***