git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Sven van Haastregt <svenvh@gmail.com>
To: Roland Lutz <rlutz@hedmen.org>
Cc: Paul Mackerras <paulus@samba.org>, git@vger.kernel.org
Subject: Re: Arrow keys broken in gitk
Date: Fri, 24 Jul 2015 20:39:33 +0100	[thread overview]
Message-ID: <55B29475.6010902@gmail.com> (raw)
In-Reply-To: alpine.DEB.2.11.1503281637160.7351@nimbus

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

             reply	other threads:[~2015-07-24 19:39 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-24 19:39 Sven van Haastregt [this message]
  -- strict thread matches above, loose matches on Subject: below --
2015-03-28 15:52 Arrow keys broken in gitk Roland Lutz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=55B29475.6010902@gmail.com \
    --to=svenvh@gmail.com \
    --cc=git@vger.kernel.org \
    --cc=paulus@samba.org \
    --cc=rlutz@hedmen.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).