<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_UNCONFIRMED "
title="UNCONFIRMED - xdg-open path is hardcoded"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=108591">108591</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>xdg-open path is hardcoded
</td>
</tr>
<tr>
<th>Product</th>
<td>LibreOffice
</td>
</tr>
<tr>
<th>Version</th>
<td>5.3.0.3 release
</td>
</tr>
<tr>
<th>Hardware</th>
<td>All
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux (All)
</td>
</tr>
<tr>
<th>Status</th>
<td>UNCONFIRMED
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>LibreOffice
</td>
</tr>
<tr>
<th>Assignee</th>
<td>libreoffice-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>lvernschrock@gmail.com
</td>
</tr></table>
<p>
<div>
<pre>Description:
Ideally, LibreOffice would look in the PATH for xdg-open and use it if found.
If it can't find it in the PATH nor at /usr/bin/xdg-open, then it should
display a reasonable error message via the GUI. Something like:
"LibreOffice needs xdg-open to open links, but could not find it."
This causes a problem for NixOS which doesn't install software under /usr, but
uses symlinks to added packages to the PATH. I suppose this could also be a
problem on other *nix distributions if a non-root user wants to use a custom
xdg-open by adding it to a folder in the PATH before /usr/bin.
(I put the earliest version affected to 5.3.0.3 since that is the earliest I've
tested, but I'm sure the problem exists in earlier versions as well.)
Steps to Reproduce:
1. Place xdg-open somewhere in your PATH, but not in /usr/bin/xdg-open
2. Launch LibreOffice Calc from a terminal emulator
3. Type a URL in a cell and hit the enter key
4. Hold down Ctrl and click the link.
Actual Results:
In the terminal emulator, the following message prints:
sh: /usr/bin/xdg-open: No such file or directory
No message is displayed to the user.
Expected Results:
LibreOffice should find xdg-open and use it to open the link, causing your
default browser to pop up and load the page.
Reproducible: Always
User Profile Reset: No
Additional Info:
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:53.0) Gecko/20100101
Firefox/53.0</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>