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

            Bug ID: 160174
           Summary: Impress/Draw internal link update sometimes erroneous
                    depending on how slide/page order is changed
           Product: LibreOffice
           Version: Inherited From OOo
          Hardware: x86-64 (AMD64)
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Impress
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: stephane.guil...@libreoffice.org
                CC: hoss...@libreoffice.org
            Blocks: 107733, 112598

Created attachment 193085
  --> https://bugs.documentfoundation.org/attachment.cgi?id=193085&action=edit
test ODP

Steps:
0. Make sure you use English or French UI (so you don't hit bug 139472)
1. Open attachment (it has text on Slide 1 linked to Slide 3); test internal
link
2. Drag-and-drop Page 2 to third position in Slide Sorter

Result A: link now points to Page 2, which is correct

3. Reload the document
4. Drag-and-drop Page 3 to second position in Slide Sorter

Result B: link now points to a non-existent Page 4
Expected: same as result A.

Steps 2-3 are optional, they only demonstrate that the end order of pages is
the same in both cases, but the step 4 action does not update the link
properly.

If testing with Draw, make sure you use a build that includes
c1f097854f89f35cfc0f097a10384014042b95d6 (the fix for bug 160162)

Repro in recent trunk build as well as OOo 3.3 (when Draw Pages were still
"Slides", pre-6.4). But back then, even step 2 updated the link wrong.
Repro on Ubuntu 22.04 and Windows 11.

Could be related to how the Slide Sorter sends updates, or how
SdDrawDocument::UpdatePageRelativeURLs() in sd/source/core/drawdoc2.cxx works.


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=107733
[Bug 107733] [META] Hyperlink bugs and enhancements
https://bugs.documentfoundation.org/show_bug.cgi?id=112598
[Bug 112598] [META] Slide sorter bugs and enhancements
-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to