[Libreoffice-bugs] [Bug 143736] New: FILEOPEN ODT: Shape with hyperlink is lost when reopen file

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Wed Aug 4 23:34:32 UTC 2021


https://bugs.documentfoundation.org/show_bug.cgi?id=143736

            Bug ID: 143736
           Summary: FILEOPEN ODT: Shape with hyperlink is lost when reopen
                    file
           Product: LibreOffice
           Version: 7.3.0.0 alpha0+ Master
          Hardware: x86-64 (AMD64)
                OS: Windows (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: rb.henschel at t-online.de

Created attachment 174092
  --> https://bugs.documentfoundation.org/attachment.cgi?id=174092&action=edit
Several kind of shapes

Open attached file. It contains some shapes of several kind (not all possible
kinds).
For each of the shapes do:
    Click on shape so that it is selected.
    Press Ctrl+K to open Hyperlink dialog.
    Enter a valid web address, e.g. http://libreoffice.org. Click OK.
Save the document.
Verify for each shape, that the hyperlink works.
close the file.

Reopen the file.
severe error: only custom shape and text box are loaded. The other shapes are
missing.
Further error: The text box has lost the hyperlink.

Adding a hyperlink to a shape is a new feature. In case it is intended, that it
works only for custom shapes, then it should not be possible to add a hyperlink
to another kind of shape. Of cause it would be better to improve the
implementation, that setting an hyperlink works for all kind of shapes.

The shapes are written to file as content of an <draw:a> element. That syntax
looks good to me and the validator finds no errors. So it is likely an import
error.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20210804/d6f21ceb/attachment-0001.htm>


More information about the Libreoffice-bugs mailing list