Bug 65436

Summary: FORMATTING: Hyperlink dialog 'open url' button always cuases "File Not Found" error
Product: LibreOffice Reporter: Jim Avera <jim.avera>
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED WONTFIX    
Severity: normal CC: serval2412
Priority: medium    
Version: 4.0.3.3 release   
Hardware: Other   
OS: All   
Whiteboard: BSA Confirmed:4.2.0.1:OSX
Crash report or crash signature: Regression By:
Attachments: Demo containing a hyperlink and instructions for seeing the bug.
test.odt - demo file (contains instructions)

Description Jim Avera 2013-06-05 22:27:20 UTC
Created attachment 80372 [details]
Demo containing a hyperlink and instructions for seeing the bug.

If a hyperlink is edited with rightclick->Edit Hyperlink, then clicking on the icon to the right of the Target (URL) field opens a browser window which always gets a "file not found" error.  The URL given to the browser is always "http://" 

Steps to reproduce:

Open the attached demo document and examine the hyperlink it contains (instructions are in the document).  
Operating System: Ubuntu
Version: 4.0.3.3 release
Comment 1 Dominique Boutry 2013-10-15 15:22:53 UTC
Typical documentation issue...

What for is The "square icon immediately to the right of the Target field" ?
- intuitivly, to open the target URL (may be to check its value)
- missed ! the Online Help says : to "Open a Web browser in which you can load the desired URL. You can then copy and paste the URL in the Target field.".

So you are supposed to use firstly the button, secondly the target field, and not the opposite. It works on my system...
However, I agree that getting a error message when "opening a (empty) web browser" is not fair.

LibO 4.0.5.2 on Win7.
Comment 2 retired 2014-01-03 13:24:16 UTC
What Domunique says.

And honestly I don't get what that button is supposed to do. Should it grad an URL from a browser? MouseOver says "Open Web browser, copy an URL, and paste it to target field" aha. What does that mean? And If I am supposed to do that, why is there this button?

This needs some cleanup > NEW

Confirmed:4.2.0.1:OSX
Comment 3 Joel Madero 2015-05-02 15:44:03 UTC Comment hidden (obsolete)
Comment 4 Jim Avera 2015-05-04 01:12:44 UTC
Created attachment 115294 [details]
test.odt - demo file (contains instructions)
Comment 5 Jim Avera 2015-05-04 01:25:06 UTC
Bug still there in 4.4.2.0.0+ (v=4.4)

IMO the expected behavior for clicking the icon is to open a browser to display whatever is in the Target field.   Anything else seems pointless or unnecessarily cumbersome.


P.S. I updated the test.odt file to change the instructions slightly (in 4.4 you don't select the URL first to enable Rightclick->Edit Hyperlink, but just put the mouse anywhere in the URL.

Also, there is a difference from LO3.3.0 when you click the icon:

LO3.3 opens a web browser displaying file:///opt/libreoffice_3.3.0.4/basis3.3/share/template/en-US/internal/url_transfer.htm (on my system), which has a message explaining how to *create* a hyperlink.   So maybe this square icon was intended to be some kind of "help" function ??

LO4.4 just opens "http://" when you click the icon; there is no file named"url_transfer.htm" in the 4.4 distribution, so maybe there's a packaging glitch and the "http://" is some kind of fall-back behavior (if so, it would be more helpful to show a message listing the missing file name and/or where to find it online).
Comment 6 Julien Nabet 2016-05-27 13:00:13 UTC
Following https://bugs.documentfoundation.org/show_bug.cgi?id=98885, this bug is now obsolete.