Bug 138126 - Anchor image as character when inserting it into an caption frame
Summary: Anchor image as character when inserting it into an caption frame
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.4.7.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
: 149458 (view as bug list)
Depends on:
Blocks: Anchor-and-Text-Wrap Caption
  Show dependency treegraph
 
Reported: 2020-11-11 08:59 UTC by Telesto
Modified: 2023-05-19 15:08 UTC (History)
6 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 Telesto 2020-11-11 08:59:15 UTC
Description:
Anchor image as character when inserting it into an caption frame

Steps to Reproduce:
1. Insert an image to Writer -> anchored "to character"
2. Insert caption -> Image anchor changes 'to paragraph"

Actual Results:
To paragraph

Expected Results:
As character, to make it less easy to drag they image outside the frame


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.1.0.0.alpha1+ (x64)
Build ID: 5a96093f0ecee53432bdf35f247edd6deb501baf
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: nl-NL (nl_NL); UI: en-US
Calc: CL
Comment 1 Telesto 2020-11-11 09:00:21 UTC
Also in
Versie: 4.4.7.2 
Build ID: f3153a8b245191196a4b6b9abd1d0da16eead600
Locale: nl_NL
Comment 2 Heiko Tietze 2020-11-11 09:04:04 UTC
Don't see advantage from To Paragraph when the image is placed within a frame. So I agree with keeping the value. What do you think, Regina?
Comment 3 Telesto 2020-11-11 09:09:17 UTC
(In reply to Heiko Tietze from comment #2)
> Don't see advantage from To Paragraph when the image is placed within a
> frame. So I agree with keeping the value. What do you think, Regina?

FWIW: default is 'to character' I proposed change 'as character'. Keep they existing is not what I asked for :-).
Comment 4 Heiko Tietze 2021-06-28 13:53:23 UTC
You are right, the anchor is changed automatically and should be "As Character" rather than At Paragraph".
Comment 5 Dieter 2022-06-06 16:44:52 UTC
*** Bug 149458 has been marked as a duplicate of this bug. ***
Comment 6 Dieter 2022-06-06 16:46:51 UTC
(In reply to Heiko Tietze from comment #2)
> Don't see advantage from To Paragraph when the image is placed within a
> frame. So I agree with keeping the value. What do you think, Regina?

I'm not an expert at all, but since anchor of image is now at beginning of the caption frame, it might be the expected result: Image is "connected" with caption frame - sounds logic to me.

Regina?
Comment 7 Justin L 2023-04-18 16:09:55 UTC
What Telesto is asking for is what happens when saved to DOCX format - it round-trips as an AS-CHAR inside a drawing object.

However, in ODT format it remains a TO-PARA image inside an SwFrame.
Comment 8 Justin L 2023-05-19 15:08:31 UTC
So the main benefit is for eventual export to MS Formats (bug 96579)