barcodrod.io icon indicating copy to clipboard operation
barcodrod.io copied to clipboard

[FR] Make links clickable (or double-clickable)

Open Gitoffthelawn opened this issue 10 months ago • 3 comments

This is related to #24, but instead of having links auto-copied to the clipboard or auto-opened, I would simply like them clickable (or double-clickable) within the barcodrod app to open in the default browser. Currently, it seems the typical way to open a link from barcodrod is to manually copy it to the clipboard and then paste in into a browser's address bar. Having the ability to click on a link will be a time-saver.

Whether or not it would be best to be single-click or double-click is certainly open for discussion. Single-click will mimic common browser behaviour, but double-click offers a little more protection against accidentally launching a bad link.

Gitoffthelawn avatar Jan 23 '25 05:01 Gitoffthelawn

Hi @Gitoffthelawn, I'm hesitant to convert the decoded text field to Rich Text with a hyperlink in case of unintended copy paste issues. That said, wanted to make sure you're aware of this feature-

For every decoded QR/barcode, a check is run against the result string to determine if it's in a URI format. If there's an app on that device registered to launch that URI format, a button becomes available to open the decoded result.

Image

Image

And it works for non-URLs as well: Image

Let me know your thoughts.

MarkHopper24 avatar Jan 23 '25 16:01 MarkHopper24

normally sufficient

GravuTrad avatar Apr 09 '25 00:04 GravuTrad

Hi @Gitoffthelawn, I'm hesitant to convert the decoded text field to Rich Text with a hyperlink in case of unintended copy paste issues. That said, wanted to make sure you're aware of this feature-

For every decoded QR/barcode, a check is run against the result string to determine if it's in a URI format. If there's an app on that device registered to launch that URI format, a button becomes available to open the decoded result.

...

And it works for non-URLs as well: ...

Let me know your thoughts.

Thanks for pointing that out. For some reason, that button, as well as the one immediately to its left, are always dimmed (disabled).

Gitoffthelawn avatar May 26 '25 09:05 Gitoffthelawn