Bug 417950

Summary: konsolepart lacks a way to redirect file click events
Product: [Applications] konsole Reporter: FeepingCreature <default_357-line>
Component: kpartAssignee: Konsole Developer <konsole-devel>
Status: REPORTED ---    
Severity: wishlist    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

Description FeepingCreature 2020-02-20 20:27:28 UTC
When using the "Underline files" feature in the konsolepart embedded in kdevelop, files are underlined and can be clicked. However, clicking them opens the file in a separate application instead of the open kdevelop session, as one may expect.

There is already 'open!' to open a file in the kdevelop session from the konsole. However, konsole offers no way to make click events actually use this command. Adding this functionality would be a cheap way to make the konsolepart more useful. (Another similarly useful feature would be including line and column numbers in the file event, so that kdevelop can move the cursor to the right spot when clicking on an error or warning.)

To be useful, this feature depends on https://bugs.kde.org/show_bug.cgi?id=416376 .