Bug 496818 - Open Links plugin only works for one URL per line
Summary: Open Links plugin only works for one URL per line
Status: RESOLVED FIXED
Alias: None
Product: kate
Classification: Applications
Component: general (show other bugs)
Version: 24.08.3
Platform: openSUSE Linux
: NOR minor
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-11-29 02:58 UTC by Grósz Dániel
Modified: 2024-11-29 06:28 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Grósz Dániel 2024-11-29 02:58:44 UTC
SUMMARY
If more than one link is recognized in a line, both are underlined, and hovering either shows the "Ctrl+Click to open link" tooltip, but only the first one can actually be opened, and only the first one is highlighted in blue and with a pointer cursor when hovered while holding Control.

STEPS TO REPRODUCE
0. Enable the Open Links plugin.
1. Enter https://example.com https://example.com
2. Ctrl+click the second one.

OBSERVED RESULT
Nothing.

EXPECTED RESULT
https://example.com is opened in the browser.

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20241126
KDE Plasma Version: 6.2.3
KDE Frameworks Version: 6.8.0
Qt Version: 6.8.0
Kernel Version: 6.11.7-1-default (64-bit)
Graphics Platform: X11
Comment 1 Waqar Ahmed 2024-11-29 06:28:51 UTC
This is fixed in master/24.12