Bug 90283

Summary: Document Hyperlink pointing towards a page within the current document replaces the selected text
Product: LibreOffice Reporter: actionmystique <actionmystique>
Component: DrawAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: fdbugs, ilmari.lauhakangas
Priority: medium Keywords: bibisectRequest, regression
Version: 4.4.0.3 release   
Hardware: x86-64 (AMD64)   
OS: All   
Whiteboard:
Crash report or crash signature: Regression By:

Description actionmystique 2015-03-27 15:16:16 UTC
Current Issue:
-------------
Select a text anywhere within the document
Ctrl K -> Document -> the selected text disappears from the box "Text"

Target -> Target in Document -> Choose a slide number -> Apply -> Close -> OK

The slide number replaces the previously selected text, instead of inserting the hyperlink "behind" the selected text like with an Internet hyperlink.

We have to insert the selected text again in the "text" box to avoid that behavior.

Expected behavior:
-----------------
Selecting "Document" after "ctrl K" should not remove the selected text from the text box.
Comment 1 Buovjaga 2015-04-04 12:15:40 UTC
Reproduced with 4.4 Win/Linux.
Not reproduced with 4.2.

Win 7 Pro 64-bit, Version: 4.4.2.2
Build ID: c4c7d32d0d49397cad38d62472b0bc8acff48dd6
Locale: fi_FI

Ubuntu 14.10 64-bit 
Version: 4.4.2.2
Build ID: 40m0(Build:2)
Locale: en_US

Version: 4.2.0.4
Build ID: 05dceb5d363845f2cf968344d7adab8dcfb2ba71
Comment 2 Buovjaga 2015-04-04 13:17:28 UTC
Well there is a (newer) duplicate. It is about Writer, but apparently the code is shared. I'll close this one.

*** This bug has been marked as a duplicate of bug 90424 ***
Comment 3 Matthew Francis 2015-04-13 05:26:10 UTC

*** This bug has been marked as a duplicate of bug 86845 ***
Comment 4 Robinson Tryon (qubit) 2015-12-17 08:50:20 UTC
Migrating Whiteboard tags to Keywords: (bibisectRequest)
[NinjaEdit]