[GH-ISSUE #226] Messages with links not selectable #183

Closed
opened 2026-05-07 00:21:09 +02:00 by BreizhHardware · 2 comments

Originally created by @StoyanDimitrov on GitHub (Apr 28, 2022).
Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/226

Messages with auto-linked text can not be selected by tap over the text, any text not only link. Tapping over empty area successfully selects message.

Originally created by @StoyanDimitrov on GitHub (Apr 28, 2022). Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/226 Messages with auto-linked text can not be selected by tap over the text, any text not only link. Tapping over empty area successfully selects message.
Author
Owner
<!-- gh-comment-id:1113315308 --> @binwiederhier commented on GitHub (Apr 29, 2022): Maybe this https://medium.com/@Saketme/a-better-way-to-handle-links-in-textview-27bb70b2d31c (https://github.com/saket/Better-Link-Movement-Method) is a solution.
Author
Owner

@binwiederhier commented on GitHub (May 1, 2022):

Fixed in github.com/binwiederhier/ntfy-android@4771ccc6c0

I also tried the link movement method above, which highlights links nicely when they are clicked and allows for long-click options. However, the long click does not work properly because the long-click-select-row logic interferes with it. So for now I won't add this. It'd be nice though to open a menu to "copy" or "open" the link on long click

<!-- gh-comment-id:1114311034 --> @binwiederhier commented on GitHub (May 1, 2022): Fixed in https://github.com/binwiederhier/ntfy-android/commit/4771ccc6c0e98892299b50f3eeef3a92acfba8c0 I also tried the link movement method above, which highlights links nicely when they are clicked and allows for long-click options. However, the long click does not work properly because the long-click-select-row logic interferes with it. So for now I won't add this. It'd be nice though to open a menu to "copy" or "open" the link on long click
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ntfy#183
No description provided.