Bug 480315

Summary: "mouse click in input line moves cursor" is broken
Product: [Applications] konsole Reporter: radagast <shiny.bell7976>
Component: emulationAssignee: Konsole Developer <konsole-devel>
Status: RESOLVED NOT A BUG    
Severity: normal CC: fanzhuyifan
Priority: NOR    
Version: 22.12.3   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description radagast 2024-01-25 12:50:37 UTC
SUMMARY
The feature doesn't work with either bash or zsh. As far as I understand, it is supposed to work at least with bash out of the box. If extra configuration is required for zsh, I'd be grateful for steps.

STEPS TO REPRODUCE
1. Enable the "mouse click in input line moves cursor" option
2. Reload the configuration or restart the shell with the updated profile
3. Type something in the shell and left-click in the input line

OBSERVED RESULT
Cursor doesn't move in the shell

EXPECTED RESULT
Cursor does move in the shell input line

SOFTWARE/OS VERSIONS
OpenSUSE Leap 15.5
KDE Plasma Version: 5.27.9 (on X11)
KDE Frameworks Version:  5.103.0
Qt Version: 5.15.8

ADDITIONAL INFORMATION
Originally reported here https://discuss.kde.org/t/mouse-click-does-not-move-cursor/9978
Comment 1 fanzhuyifan 2024-01-27 02:43:20 UTC
Hi, you would need to set up semantic shell integration for this to work: https://gitlab.freedesktop.org/Per_Bothner/specifications/blob/master/proposals/semantic-prompts.md#fish-shell