https://bugs.freedesktop.org/show_bug.cgi?id=83662

          Priority: medium
            Bug ID: 83662
          Assignee: [email protected]
           Summary: Some Writer images not visible in Navigator
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: [email protected]
          Hardware: Other
            Status: UNCONFIRMED
           Version: 4.3.1.2 release
         Component: Writer
           Product: LibreOffice

Observed on OSX 10.9.4 / LO 4.3.1.2 and 4.4 master

It is possible to create an ODT which contains an image that does not display
under "Images" within Navigator. An example is attached which contains two
images, only one of which can be seen in Navigator.

(Note: Due to bug 83493, this document may load very slowly due to the presence
of externally linked images)


Within the content.xml of the document, the problem appears to relate to the
fact that the first <draw:frame> doesn't have a "draw:name" attribute:

            <text:p text:style-name="Standard">
                <draw:frame text:anchor-type="as-char" svg:y="0cm"
draw:z-index="0" draw:style-name="gr1" draw:text-style-name="P4"
svg:width="3.372cm" svg:height="1.371cm">
                    <draw:image
xlink:href="http://ask.libreoffice.org/m/tdf/media/images/tdf-logo.png?v=7";
xlink:type="simple" xlink:show="embed" xlink:actuate="onLoad">
                        <text:p/>
                    </draw:image>
                </draw:frame>
            </text:p>
            <text:p text:style-name="P3">
                <draw:frame draw:style-name="fr1" draw:name="Image1"
text:anchor-type="as-char" svg:width="7.853cm" svg:height="3.193cm"
draw:z-index="1">
                    <draw:image
xlink:href="http://ask.libreoffice.org/m/tdf/media/images/tdf-logo.png?v=7";
xlink:type="simple" xlink:show="embed" xlink:actuate="onLoad"/>
                </draw:frame>
            </text:p>


The problematic image was inserted using a Python script, and it seems likely
there's no way of creating such a document using the Writer interface alone.

Possibly the solution is to always generate a name on insertion / file load if
it is missing?

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to