Bug 439196

Summary: Binding CTRL-J in readline's inputrc breaks Dolphin's sendCdToTerminal functionality
Product: [Applications] dolphin Reporter: Eduard <e.bachmakov>
Component: panels: terminalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: REPORTED ---    
Severity: normal CC: kfm-devel
Priority: NOR    
Version: 21.04.2   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Annotated demo of issue.

Description Eduard 2021-06-26 20:51:23 UTC
Created attachment 139679 [details]
Annotated demo of issue.

SUMMARY
cd's are no longer run for you but rather appear as literals your line editor.

STEPS TO REPRODUCE
0. Have bash as your shell
1. Add 'Control-j: menu-complete' to your .inputrc (or unbind via "...: nop")
2. Open dolphin
3. Open terminal component via F4 shortcut
4. Observe results

OBSERVED RESULT
Current directory does NOT change. The ' cd $target' string now in current input buffer/line editor.

See annotated screenshot.

Note that pressing "Enter" still works just as expected.

EXPECTED RESULT
Changed directory.

SOFTWARE/OS VERSIONS
KDE Frameworks Version: 5.83.0
Qt Version: Qt 5.15.2 (built against 5.15.2)