Bug 90424 - UI: Hyperlink to target in document replaces text with reference because Further Settings Text is blank
Summary: UI: Hyperlink to target in document replaces text with reference because Furt...
Status: RESOLVED DUPLICATE of bug 86845
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.4.1.2 release
Hardware: x86-64 (AMD64) All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisectRequest, regression
Depends on:
Blocks:
 
Reported: 2015-04-03 00:01 UTC by Gordo
Modified: 2015-12-17 08:51 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gordo 2015-04-03 00:01:33 UTC
1. New Text Document.
2. Type “Test1” and Return.
3. Type “test2” and Return.
4. Type “test3” and Return.
5. Type “test4” and Return.
6. Select “test2”.
7. Insert → Bookmark → type “123” and OK.
8. Select “test4”.
9. Insert → Bookmark → type “456” and OK.
10. Select “Test1”.
11. Insert → Hyperlink → Document* → Target in Document icon.
*Text in Further Settings is blank

12. In Target in Document dialogue →  select “123” in Bookmarks → Apply → Close.
13. In Hyperlink dialogue, click Apply* → Close.
*Text in Further Settings is “#123”.

Expected Result:
“Test1” in document is underlined.
Result:
“Test1” has been replaced by “#123”.

14. Select “test3”.
15. Insert → Hyperlink → Document* → Reset# → Target in Document icon.
*Text in Further Settings is blank
#Text in Further Settings is “test3”.

16. In Target in Document dialogue →  select “456” in Bookmarks → Apply → Close.
17. In Hyperlink dialogue, click Apply → Close.

Result:
“test3” in document is underlined.
One time, clicking Apply updated “test3” correctly, but then on Close it reverted to “#456”.

Alternate:
12.  In Target in Document dialogue →  select “123” in Bookmarks → Apply → Close.
13.  In Hyperlink dialogue, click Apply OK.
Result:
“Test1” has been replaced by “#123”.
14. Undo Insert Hyperlink and leave “Test1” selected.
15. Insert → Hyperlink → Document → Target in Document icon.
16. In Target in Document dialogue →  select “123” in Bookmarks → Apply → Close.
Result:
“Test1” in document is underlined.

Before selecting the target you need to click on Reset to fill in the Text field.

I put version 4.4.1.2 because I saw it there before I updated.

Version: 4.4.2.2
Build ID: c4c7d32d0d49397cad38d62472b0bc8acff48dd6
Comment 1 A (Andy) 2015-04-03 12:26:02 UTC
(In reply to Gordo from comment #0)

[...]

> 13. In Hyperlink dialogue, click Apply* → Close.
> *Text in Further Settings is “#123”.
> 
> Expected Result:
> “Test1” in document is underlined.
> Result:
> “Test1” has been replaced by “#123”.

Reproducible with LO 4.4.1.2, Win 8.1 (Note: "#123" is underlined)

[...]

> 17. In Hyperlink dialogue, click Apply → Close.
> 
> Result:
> “test3” in document is underlined.
> One time, clicking Apply updated “test3” correctly, but then on Close it
> reverted to “#456”.

What do you mean with "One time, clicking Apply ..."?  I am not sure if I understand that right.
 

> Alternate:

[...]

> 16. In Target in Document dialogue →  select “123” in Bookmarks → Apply →
> Close.
> Result:
> “Test1” in document is underlined.

Reproducible with LO 4.4.1.2, Win 8.1
Comment 2 Gordo 2015-04-03 12:47:21 UTC
(In reply to A (Andy) from comment #1)
> (In reply to Gordo from comment #0)
> 
> What do you mean with "One time, clicking Apply ..."?  I am not sure if I
> understand that right.

There was a one time occurence or it happened this one time.  I was trying different combinations of how I selected the bookmarks (double clicking and not clicking Apply, selecting and clicking Apply) and clicking either OK, Apply, or Close in the Hyperlink.  While the Hyperlink dialogue was open and after selecting target and clicking Apply, the document kept the text but after I clicked on Close it changed to the target reference.  It was just a minor observation and something that I couldn't repeat.
Comment 3 A (Andy) 2015-04-03 13:01:31 UTC
(In reply to Gordo from comment #2)
> (In reply to A (Andy) from comment #1)
> > (In reply to Gordo from comment #0)
> > 
> > What do you mean with "One time, clicking Apply ..."?  I am not sure if I
> > understand that right.
> 
> There was a one time occurence or it happened this one time.  I was trying
> different combinations of how I selected the bookmarks (double clicking and
> not clicking Apply, selecting and clicking Apply) and clicking either OK,
> Apply, or Close in the Hyperlink.  While the Hyperlink dialogue was open and
> after selecting target and clicking Apply, the document kept the text but
> after I clicked on Close it changed to the target reference.  It was just a
> minor observation and something that I couldn't repeat.

Thanks for your very fast reply.  I could also not reproduce this specific issue/behaviour.
Comment 4 Matthew Francis 2015-04-04 09:05:44 UTC
Unclear if there is one issue here or more than one, so let's deal with comment 0 step 1 to step 13 and see where that gets us.

1-13 work as expected on Linux / LO 3.3.0.4, so this is a regression.

-> Keywords: regression
Comment 5 Buovjaga 2015-04-04 13:15:49 UTC
(In reply to Matthew Francis from comment #4)
> Unclear if there is one issue here or more than one, so let's deal with
> comment 0 step 1 to step 13 and see where that gets us.
> 
> 1-13 work as expected on Linux / LO 3.3.0.4, so this is a regression.
> 
> -> Keywords: regression

Works ok in 4.2, too.

Ubuntu 14.10 64-bit
Version: 4.2.0.4
Build ID: 05dceb5d363845f2cf968344d7adab8dcfb2ba71
Comment 6 Buovjaga 2015-04-04 13:17:28 UTC
*** Bug 90283 has been marked as a duplicate of this bug. ***
Comment 7 Matthew Francis 2015-04-13 05:25:43 UTC

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