# Re: Arrow keys broken in gitk

1 messages from 2015-07-24 to 2015-07-24. Participants: Sven van Haastregt.
Thread: https://gitlist.dev/t/39935

## Sven van Haastregt, 2015-07-24 19:39

Subject: Re: Arrow keys broken in gitk
Message-ID: <55B29475.6010902@gmail.com>
URL: https://gitlist.dev/e/55B29475.6010902%40gmail.com

```
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

```
