Issue 116143 - Image (picture/graphic) alternative text (title and description) disappears when changing anchor from paragraph to character
Summary: Image (picture/graphic) alternative text (title and description) disappears w...
Alias: None
Product: Writer
Classification: Application
Component: editing (show other issues)
Version: OOO320m12
Hardware: All All
: P3 Normal with 4 votes (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
Keywords: accessibility, data_loss
: 127055 (view as issue list)
Depends on:
Reported: 2010-12-15 21:54 UTC by christophestrobbe
Modified: 2016-07-28 18:04 UTC (History)
8 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: 4.1.2
Developer Difficulty: Medium


Note You need to log in before you can comment on or make changes to this issue.
Description christophestrobbe 2010-12-15 21:54:15 UTC
Changing the image anchor from "To paragraph" (the default) to "To Character"
(or "To Page" or "As Character") makes the image's text alternatives (i.e. title
and description) disappear. Changing the anchor back from "To Character" to "To
Paragraph" has the same effect. ("Undo" does not restore the text alternatives.)

Steps to reproduce the issue:
1. Create a new document; enter a few paragraphs of text.
2. Between two of the paragraphs, add an image through the menus Insert >
Picture > From file...
3. Right-click on the image, go to "Description" and fill in the fields Title
and Description. Quit the Description dialog.
4. (Save the document.)
5. Right-click on the image, go to "Anchor" and change the value from "To
Paragraph" to any of the other values. Quit the dialog.
6. Right-click on the image, go to "Description" and check the values Title and
Description: they are now empty.

Current workaround: set the anchor first, and then the Title and Description.
Few people will be aware of the disappearing Title and Decription and think of
the workaround.
The title and description are needed for blind users (or any screen reader
users) and for exporting to audio books (e.g. in the DAISY format, with the OOo
extension odt2daisy). In other words, it's an accessibility issue.
Comment 1 michael.ruess 2010-12-22 13:18:07 UTC
MRU->OS: changing the anchor of a graphic from "to paragraph" to  "as character"
will delete the assigned entry "alternative text" of the graphic's properties.
Comment 2 Oliver Specht 2010-12-27 11:11:51 UTC
->od: While re-anchoring the object the "(*pPlusData).aObjTitle" is removed. 
Changing target, platform, OS

>	svxcoremi.dll!SdrObject::~SdrObject()  
 	swmi.dll!SwFlyDrawObj::`scalar deleting destructor'()  
 	swmi.dll!SwFlyDrawContact::`vector deleting destructor'() 
 	swmi.dll!SwFlyInCntFrm::`vector deleting destructor'()
 	swmi.dll!SwDoc::SetFlyFrmAnchor(SwFrmFmt & rFmt={...}, SfxItemSet &
rSet={...}, unsigned char bNewFrms=0) 
 	swmi.dll!SwDoc::SetFlyFrmAttr(SwFrmFmt & rFlyFmt={...}, SfxItemSet & rSet={...})  
 	swmi.dll!SwFEShell::SetFlyFrmAttr(SfxItemSet & rSet={...})  
Comment 3 Martin Hollmichel 2011-03-16 11:45:11 UTC
set target 3.x since not relevant for 3.4 release.
Comment 4 genomart 2011-08-26 09:23:20 UTC
Dear everybody,

It is possible to resolv this bug in new Open Office version ?

Best regards,
Comment 5 Balazs.Klein 2012-06-01 07:13:40 UTC
You can also loose properties of multiple images at the same time without actually changing the image itself.

Extremely annoying when working with many images in a table.

Steps to reproduce:
1. Create new document
2. Insert table 2*2
3. Paste an image into each cell
4. Add alternative text/description/title to each image
5. Select first row and press Table/Insert/Rows/Before
6. The row is inserted but when checking the images all added texts are gone

To us its not an accessibility issue, we store info with the images that is used by automatic processing later.
Comment 6 V Stuart Foote 2013-07-25 14:06:41 UTC
Setting accessibility keyword and increasing importance to normal. Correct handling of graphic object meta data--especially holding what is set during editing is a key requirement for useful assistive technologies.
Comment 7 djibril 2015-02-06 19:20:43 UTC

I have the same problem since 2012. When We will have a solution for this bug ?

Best Regards
Comment 8 oooforum (fr) 2016-07-28 07:30:09 UTC
*** Issue 127055 has been marked as a duplicate of this issue. ***
Comment 9 lapsap7+ooo 2016-07-28 09:37:46 UTC
Could someone modify the title of this bug to include the keywords "title" and "description"?  I didn't find this bug when doing a search.

On the other hand, "undo" does restore the alternative texts, but it's very tricky: you have to do many "undo" and then "redo" one by one to find out which one restores the alt texts.

Yes, many "undo".  For example, if you think one "undo" is enough, then do four "undo" instead. And do "redo" once, check the alt text.  If it's not there, another "redo" and check the alt text again. Normally, the alt text is restored between the 2nd and 4th redo, but I'm not sure of the pattern or why it does this!
Comment 10 Marcus 2016-07-28 18:02:47 UTC
(In reply to lapsap7+ooo from comment #9)
> Could someone modify the title of this bug to include the keywords "title"
> and "description"?  I didn't find this bug when doing a search.