Arrow keys broken in gitk

2 messages, 2 authors, 2016-06-15 · open the first message on its own page

Arrow keys broken in gitk

From: Roland Lutz <hidden>
Date: 2016-06-15 23:04:18

Hi,

in gitk on Debian jessie (Git version 2.1.4), the left/right arrow keys 
don't work in the text input fields.  When I click into the SHA ID field 
or either search field and press the left or right arrow key, nothing 
happens.  I'd expect the text cursor to move one character forward or back.

Roland

Re: Arrow keys broken in gitk

From: Sven van Haastregt <hidden>
Date: 2016-06-15 23:05:52

Roland Lutz <rlutz <at> hedmen.org> writes:
 > in gitk on Debian jessie (Git version 2.1.4), the left/right arrow
 > keys don't work in the text input fields.  When I click into the SHA
 > ID field or either search field and press the left or right arrow
 > key, nothing happens.  I'd expect the text cursor to move one
 > character forward or back.

Confirming the problem with Tk 8.6 for git 2.4.6.  The <home> and <end> 
keys are also affected inside text fields.  Running gitk with Tk 8.5 
(i.e., wish8.5) gives the expected behaviour.

It seems changes to the text and entry widget bindings in Tk 8.6 are 
causing the problem.  Quoting http://wiki.tcl.tk/22115 :

``The text widget's default bindings seem to have changed pretty 
considerably - a lot of things are now handled via custom events instead 
of direct bindings (notably things which move the cursor and alter 
selection)''

Sven
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help