Bug 415318 - Moving cursor with Ctrl+←/ Ctrl+→
Summary: Moving cursor with Ctrl+←/ Ctrl+→
Status: RESOLVED WORKSFORME
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: 19.12.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-12-18 14:41 UTC by volodyawork
Modified: 2019-12-24 11:45 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
add please description for every line (not clear for user) (66.09 KB, image/png)
2019-12-18 14:41 UTC, volodyawork
Details

Note You need to log in before you can comment on or make changes to this bug.
Description volodyawork 2019-12-18 14:41:28 UTC
Created attachment 124569 [details]
add please description for every line (not clear for user)

SUMMARY
1) Unfortunately, Ctrl+Left does not work for moving cursor... It is very useful feature.
2) Not clear behaviours for every shortcuts in profile settings... See attachments. 

STEPS TO REPRODUCE
1. type 2 words in terminal (for ex. "Hello world") 
2. try to move cursor from the end of line to the end of the first word with Ctrl+← (Ctrl+Left)  

OBSERVED RESULT
Nothing changed


EXPECTED RESULT
moving cursor to end of the first word (in ex. - between "Hello" and "world")


SOFTWARE/OS VERSIONS
Operating System: KDE neon 5.17
KDE Plasma Version: 5.17.4
KDE Frameworks Version: 5.65.0
Qt Version: 5.13.2
Kernel Version: 5.0.0-37-generic
OS Type: 64-bit



ADDITIONAL INFORMATION
Comment 1 Ahmad Samir 2019-12-19 11:43:25 UTC
Did you try resetting the keyboard scheme to the "defaults"? it should work by default. 

For more information about that widget examine the konsole handbook locallly, Konsole -> Help -> HandBook, or online https://docs.kde.org/stable5/en/applications/konsole/key-bindings.html
Comment 2 volodyawork 2019-12-19 16:38:38 UTC
keyboard scheme is "default" in Konsole.

In Terminator, gnome-terminal and other software this combination works fine.

But I have little global problem with my keybord mapping -> 
pairs: 
<> instead \|
\| instead #~

It can be related... But I think no.
Comment 3 Ahmad Samir 2019-12-20 17:21:18 UTC
In the profile settings dialogue on the keyboard tab when you select a keyboard bindings schema, there's a button on the right "Defaults" if it's not disabled/greyed try pressing it.
Comment 4 volodyawork 2019-12-21 19:29:47 UTC
it's not disabled : https://i.imgur.com/vpOvl9k.png
Comment 5 Ahmad Samir 2019-12-21 19:49:59 UTC
What's the output of:
bind -p | grep backward-word

Also, press Ctrl+v, then press Ctrl+back and post the output here.
Comment 6 volodyawork 2019-12-21 20:04:43 UTC
$ bind -p | grep backward-word
"\e\e[D": backward-word
"\e[1;5D": backward-word
"\e[5D": backward-word
"\eb": backward-word
# copy-backward-word (not bound)
# shell-backward-word (not bound)
# vi-backward-word (not bound)
Comment 7 volodyawork 2019-12-21 20:08:15 UTC
(In reply to Ahmad Samir from comment #5)

> Also, press Ctrl+v, then press Ctrl+back and post the output here.

^[[D
Comment 8 Ahmad Samir 2019-12-23 08:41:28 UTC
(In reply to volodyawork from comment #7)
> (In reply to Ahmad Samir from comment #5)
> 
> > Also, press Ctrl+v, then press Ctrl+back and post the output here.
> 
> ^[[D
If Ctrl + back work in xterm, could you please do the same (Ctrl+v ... etc) in xterm? and post the output. Thanks.
Comment 9 volodyawork 2019-12-23 13:10:18 UTC
(In reply to Ahmad Samir from comment #8)
> (In reply to volodyawork from comment #7)
> > (In reply to Ahmad Samir from comment #5)
> > 
> > > Also, press Ctrl+v, then press Ctrl+back and post the output here.
> > 
> > ^[[D
> If Ctrl + back work in xterm, could you please do the same (Ctrl+v ... etc)
> in xterm? and post the output. Thanks.

^[[1;5D


Thanks! :)
Comment 10 volodyawork 2019-12-23 13:13:33 UTC
Additional info:
I use KDE Neon linux https://distrowatch.com/table.php?distribution=kdeneon
Comment 11 Ahmad Samir 2019-12-23 14:54:56 UTC
Looking back at the screenshot in comment#4, the default keyboard schema in konsole is the one with (XFree 4) in its name, select that one then try again (when I looked at it earlier I was confused by the Russian (?) translation).
Comment 12 volodyawork 2019-12-24 11:37:18 UTC
(In reply to Ahmad Samir from comment #11)
> Looking back at the screenshot in comment#4, the default keyboard schema in
> konsole is the one with (XFree 4) in its name, select that one then try
> again (when I looked at it earlier I was confused by the Russian (?)
> translation).

Changed to XFree 4. It works!!! Thanks!!! 
I am sure - I had this bug after first running Konsole...
Comment 13 Ahmad Samir 2019-12-24 11:45:27 UTC
(In reply to volodyawork from comment #12)
> (In reply to Ahmad Samir from comment #11)
> > Looking back at the screenshot in comment#4, the default keyboard schema in
> > konsole is the one with (XFree 4) in its name, select that one then try
> > again (when I looked at it earlier I was confused by the Russian (?)
> > translation).
> 
> Changed to XFree 4. It works!!! Thanks!!! 
> I am sure - I had this bug after first running Konsole...

If you can test with a new user account and find that the XFree 4 isn't the default, please re-open this bug report.