Bug 506340

Summary: Dolphin sends Ctrl-E/Ctrl-U to terminal interfering with user shell key bindings
Product: [Applications] dolphin Reporter: br4qua
Component: panels: terminalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: REPORTED ---    
Severity: normal CC: dolphin-bugs-null
Priority: NOR    
Version First Reported In: 25.04.2   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description br4qua 2025-06-29 13:33:15 UTC
Dolphin sends Ctrl-E followed by Ctrl-U to clear terminal lines when syncing directories
This interferes with user-defined shell key bindings (like Fish shell's bind \ce)
Happens can be seen when the use has navigated to a different directory, and presses F4 a few times.
This is improper behavior - file managers should not send shell control characters
Should use proper terminal escape sequences instead

Standard terminal control sequences would be:
ESC[E or ESC[999C to move cursor to end of line
ESC[2K to clear the entire line
ESC[K to clear from cursor to end of line

SUMMARY
Terminal panel sends unexpected Ctrl+E and Ctrl+U sequence, instead of Standard terminal control sequences


STEPS TO REPRODUCE
1. Set up Fish shell binding: bind \ce 'echo "hello bug triggered 1"', bind \cu 'echo "hello bug triggered 2"'
2. Navigate to a different directory, Press F4 for konsole.
3. Triggers the Ctrl-E binding and Ctrl-U unexpectedly

OBSERVED RESULT
> hello bug triggered
hello bug triggered 2


EXPECTED RESULT
Not having these triggered

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: ?
KDE Plasma Version: not running on plasma
KDE Frameworks Version: 25.04.2
Qt Version: 6.?

ADDITIONAL INFORMATION
Possibly seen in other shells.  I am unsure if this should be filed under dolphin or konsole.