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

            Bug ID: 160162
           Summary: Hyperlink to Draw page does not update after change in
                    page position, since LO 6.4
           Product: LibreOffice
           Version: 6.4.0.3 release
          Hardware: x86-64 (AMD64)
                OS: All
            Status: UNCONFIRMED
          Keywords: bibisected, bisected, regression
          Severity: normal
          Priority: medium
         Component: Draw
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: stephane.guil...@libreoffice.org
                CC: k...@libreoffice.org
            Blocks: 107733

Steps:
1. Open Draw
2. Add two extra pages, to have 3 in total
3. On page 1, add a text box and write some text in it
4. Select some text, Ctrl + K to add a link > Document > Target in Document >
Target button > Click "Page 3" > Apply > Close
5. Ctrl + click on the link: it jumps to page 3
6. Remove page 2
7. Ctrl + click again on page 1 link

Result: no jump to target. Links to "#Page 3" still.
Expected: goes to page 2 (new position of original page 3). Links to "#Page 2".

Impress is not affected.
Still repro in recent trunk build:

Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: f42363c51672a5b3685b0b9b11e932680530dce3
CPU threads: 8; OS: Linux 6.5; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: CL threaded

And on Windows 11.

Bibisected with linux-64-6.4 to first bad build
[af1f648888333a06fc35bec76967d652367b1cf2] which points to:

commit  942d1d2ea59bf4605f2c464a6b29c967fa9f8de8
author  Muhammet Kara   Wed Oct 23 09:50:26 2019 +0300
committer       Muhammet Kara   Wed Oct 23 11:17:08 2019 +0200
tdf#112126: Correct naming for pages in Draw
Reviewed-on: https://gerrit.libreoffice.org/81364

(Before that commit, same steps can be followed with "Slide" instead of "Page".
Link would update as expected.)

Muhammet, could you please have a look?


Referenced Bugs:

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

Reply via email to