Issue 116064 - picture with style with anchored "as character" inserts at wrong position
Summary: picture with style with anchored "as character" inserts at wrong position
Status: CONFIRMED
Alias: None
Product: Writer
Classification: Application
Component: editing (show other issues)
Version: DEV300m94
Hardware: PC Windows XP
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-11 21:03 UTC by Regina Henschel
Modified: 2017-05-20 11:19 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
Document with "as char" frame style (17.18 KB, application/3dr)
2011-03-17 10:36 UTC, michael.ruess
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description Regina Henschel 2010-12-11 21:03:51 UTC
1. Start with a new text document with some dummy text.
2. Insert a small picture (for example an icon) in linked kind with default
style 'Graphics'.
3. Right click the picture and change the anchor to 'as character'.
4. Cut and insert the picture in the middle of the text.
5. Create 'New Style from Selection' and name it for example 'PictureAsCharacter'.
6. Edit this Style and set Height to AutoSize. OK.
7. Set cursor somewhere inside the text, but not at the end.
8. Insert a small picture from file in linked kind, but now with your new style
'PictureAsCharacter'.

Notice, that the picture is indeed anchored as character, but it is not inserted
at cursor position, but at the end of the document.

9. Set the cursor inside the text and insert a small picture from file in linked
kind, but now use the build in style 'Formula' (which has as anchor 'as
character' as default).

Notice, that the picture is anchored as character, but again it is not inserted
at cursor position, but at the end of the document.

10. Now modify the style "Graphics" in this way:
      Go to tab 'Organizer' and change 'linked with' to 'Formula'.
      Go to tab 'Type' and click on button 'Standard'. Notice settings change to
those seen in style 'Formula'.

11. Repeat step 7 and 8.
12. Repeat step 9.

Notice, now the picture is inserted at cursor position.

Expected behavior: The picture is always inserted at cursor position.
Comment 1 michael.ruess 2011-03-17 10:36:35 UTC
Created attachment 76128 [details]
Document with "as char" frame style
Comment 2 michael.ruess 2011-03-17 10:38:14 UTC
MRU->OS/OD: see attached document. When inserting a graphic with pre-assigned frame style "PictureAsCharacter" it will be inserted not at the cursor position.
Comment 3 Marcus 2017-05-20 11:19:57 UTC
Reset assigne to the default "issues@openoffice.apache.org".