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

Hossein <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|[email protected] |[email protected]
                   |desktop.org                 |
             Status|NEW                         |ASSIGNED

--- Comment #2 from Hossein <[email protected]> ---
If you try renaming the slides to "P1, P2, and P3" and then remove "P2", you
will see that the link is no longer updated, but as the page number is also no
longer updated, the link will continue to work.

So, there are 2 things here. When a page is renamed and/or removed, or a new
page is created in the middle of others:
1. Renaming the pages is done to update its name according to its position,
which is only done when original name is preserved. Here, "Page" is used
instead of "Slide", and renaming works. If you remove "Page 2", "Page 3"
becomes "Page 2".
2. Changing the links to keep them up-to-date. This is also done only when the
name "Slide" is preserved.  It does not currently work with "Page".

I am changing SdDrawDocument::UpdatePageRelativeURLs() to fix this issue.

Another issue, I see many duplicate names of "Default" in the latest version
when trying to insert links via "Target in Document":

Notes > Default
Handouts > Default
Master Page > Default

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to