Bug 481114

Summary: Enable "Underline files" by default
Product: [Applications] konsole Reporter: Antti Savolainen <antti.savo>
Component: generalAssignee: Konsole Developer <konsole-devel>
Status: REPORTED ---    
Severity: wishlist CC: fanzhuyifan, nate
Priority: NOR Keywords: usability
Version: 23.08.4   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=481115
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Antti Savolainen 2024-02-09 10:11:53 UTC
SUMMARY
By default Ctrl+clicking a file path does not open them. If you enable the "Underline files" setting, that is found in Settings -> Configure Konsole... -> Profiles -> Edit... -> Mouse -> Miscellaneous, you can allow Ctrl+clicking filepaths to open them. In my opinion this should be enabled by default so that tools don't have to rely on file:// for the same functionality. This was discussed briefly on Invent https://invent.kde.org/sdk/kdesrc-build/-/issues/144#note_867753

STEPS TO REPRODUCE
1. run `echo ~/.local/share/`
2. Ctrl+click on the generated filepath

OBSERVED RESULT
Nothing happens

EXPECTED RESULT
The filepath should open in a file browser by default

SOFTWARE/OS VERSIONS 
Linux: Arch Linux
KDE Plasma Version: 5.27.10
KDE Frameworks Version: 5.114.0
Qt Version: 5.15.12
Comment 1 Antti Savolainen 2024-02-09 10:19:24 UTC
Related bug 481115
Comment 2 fanzhuyifan 2024-02-09 16:47:06 UTC
Related: we might also want to show a tooltip on hover such that users know they can ctrl-click to open.
Comment 3 Nate Graham 2024-02-14 22:37:07 UTC
I agree, this is a better default setting IMO.

> Related: we might also want to show a tooltip on hover such that users know they can ctrl-click to open.
That too. Kate does this.
Comment 4 Bug Janitor Service 2024-02-15 00:15:38 UTC
A possibly relevant merge request was started @ https://invent.kde.org/utilities/konsole/-/merge_requests/956
Comment 5 fanzhuyifan 2024-03-09 02:58:30 UTC
Git commit f38304e76fd678b95855909cb0ae34f68d13a35d by Yifan Zhu.
Committed on 09/03/2024 at 02:56.
Pushed by fanzhuyifan into branch 'master'.

profile: enable underline files and open file/links by direct click

M  +2    -2    src/profile/Profile.cpp

https://invent.kde.org/utilities/konsole/-/commit/f38304e76fd678b95855909cb0ae34f68d13a35d
Comment 6 Nate Graham 2024-03-11 23:07:39 UTC
It was reverted after complaints that the change made it harder to select links by double-click; re-opening.