Bug 408288 - Missing support for hyperlink
Summary: Missing support for hyperlink
Status: RESOLVED WORKSFORME
Alias: None
Product: konsole
Classification: Applications
Component: emulation (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR minor
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-06-04 12:52 UTC by Franco Traversaro
Modified: 2020-12-03 04:34 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Franco Traversaro 2019-06-04 12:52:05 UTC
SUMMARY
Gnome Terminal and iTerm2 introduced the support to ANSI escape codes per hyperlinks. Such codes are now adopted by PHP framework Symfony in various components such symfony/console, that is broadly adopted by a lot of other PHP projects.

Konsole, at the moment, badly manages such sequences, leaving trailing backslashes.


STEPS TO REPRODUCE
1. printf '\e]8;;http://example.com\e\\This is a link\e]8;;\e\\\n'

OBSERVED RESULT
\This is a link\


EXPECTED RESULT
This is a link

In the best case, the text has a dotted underline and the user can Ctrl+Click it to open the link;
In the worst case, all ecape codes are completely ignored and only the text is rendered.


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Kubuntu 19.04
KDE Plasma Version: 5.15.4
KDE Frameworks Version: 5.56.0
Qt Version: 5.12.2

ADDITIONAL INFORMATION
Comment 1 Franco Traversaro 2019-06-04 13:21:52 UTC
Sorry, Nicolas Grekas from Symfony team pointed me that this bug could be a duplication of https://bugs.kde.org/show_bug.cgi?id=379294

I think that having a full support could be fantastic, but also degrading gracefully should be a viable option.
Comment 2 Egmont Koblinger 2019-06-04 14:26:18 UTC
The backslash appearing is bug 231405.
Comment 3 Justin Zobel 2020-11-03 03:43:57 UTC
Franco I've just tested your printf line on current konsole from git master and cannot reproduce the issue, can you please confirm it is resolved.
Comment 4 Bug Janitor Service 2020-11-18 04:33:52 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 5 Bug Janitor Service 2020-12-03 04:34:08 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!