joplin icon indicating copy to clipboard operation
joplin copied to clipboard

Unable to click any hyperlinks

Open AlexNduta opened this issue 3 months ago • 9 comments

Operating system

Linux

Joplin version

2.13.15(prod, linux)

Desktop version info

Joplin 2.13.15 (prod, linux)

Client ID: b004e148f5cb4b5599fec4870acef301 Sync Version: 3 Profile Version: 44 Keychain Supported: No

Current behaviour

I have two types of links on my notebooks:

  1. URLs I just copy-pasted randomly from a web page
  2. URL that I used the insert/Edit feature in Joplin

unfortunately, none of the links open up by default. I have to copy the link manually from the notebook and paste it in a browser. NB: I am running on Debian 12 Bookworm. I highly doubt its a base OS issue. image

This is a video of me demonstrating the issue. unless I copy and paste the link manually, I cannot open the link. Screencast from 2024-03-25 08-24-28.webm

Expected behaviour

I am sure this feature was intended to work through a redirect. I expected that, clicking the link would redirect me to my default webpage.

Logs

No response

AlexNduta avatar Mar 25 '24 05:03 AlexNduta

Does it work in 2.14? I think this has been fixed

laurent22 avatar Mar 25 '24 11:03 laurent22

Just updated and still no changes. Update details below:

Joplin 2.14.20 (prod, linux)

Client ID: b004e148f5cb4b5599fec4870acef301 Sync Version: 3 Profile Version: 46 Keychain Supported: No

AlexNduta avatar Mar 25 '24 12:03 AlexNduta

Hey @AlexNduta, I just looked at your screen recording and I think the issue lies in the fact that you are using the Rich text editor. Clicking directly only works in markdown mode (in the right preview panel). If you want to open links instantly in Rich Text mode instead, you can hold the CTRL (or equivalent) button while clicking.

DarkFalc0n avatar Mar 25 '24 14:03 DarkFalc0n

Also, there are certain limitations to using the Rich Text Editor. If you decide to switch to Markdown editor, you can directly click the links in the right preview column

DarkFalc0n avatar Mar 25 '24 14:03 DarkFalc0n

If you want to open links instantly in Rich Text mode instead, you can hold the CTRL (or equivalent) button while clicking.

If it does work with ctrl, updating the tooltip text for links could be helpful. For example, Libreoffice Writer shows the following when hovering over a link: screenshot: Libreoffice writer suggests ctrl-clicking on a link Joplin, however, just shows the link: screenshot: Joplin: Hovering over a link shows a tooltip with just the content of the link

Thanks @DarkFalc0n, It worked. I could have never figured that out. I think what @personalizedrefrigerator is suggesting sounds practical because its part of self-documentation.

AlexNduta avatar Mar 25 '24 17:03 AlexNduta

I think the tooltip handling is done together for all types of editors (md and richtext). However, I think altering only the richtext editor hyperlink tooltips would be the way to go.

DarkFalc0n avatar Mar 25 '24 21:03 DarkFalc0n

I have a similar problem with Joplin 2.14.20 on Windows. I posted this: https://discourse.joplinapp.org/t/web-links-in-joplin-windows-dont-work/37170

Someone told me about Ctrl + click on the link. That works, however, focus doesn't change to the web browser. Works fine on Android though!

243JohnM avatar Mar 28 '24 20:03 243JohnM

If it does work with ctrl, updating the tooltip text for links could be helpful. For example, Libreoffice Writer shows the following when hovering over a link: screenshot: Libreoffice writer suggests ctrl-clicking on a link

For this issue we'd like to implement this then, if possible. If not possible maybe we can look at making the link clickable by default instead?

laurent22 avatar Apr 15 '24 17:04 laurent22