Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #28188

Re: Tkinter bug in Entry widgets on OS X

Path csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!news.musoftware.de!wum.musoftware.de!news.babsi.de!open-news-network.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <arnodel@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.003
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'subject:bug': 0.05; 'that?': 0.05; 'key.': 0.07; 'inserted': 0.09; 'received:mail- vc0-f174.google.com': 0.09; 'tab': 0.09; 'unexpected': 0.09; 'cc:addr:python-list': 0.10; 'assume': 0.11; 'aug': 0.13; 'inputs': 0.16; 'subject:Entry': 0.16; 'subject:Tkinter': 0.16; 'walzer': 0.16; 'wrote:': 0.17; "shouldn't": 0.17; 'widget': 0.17; '>>>': 0.18; '(not': 0.20; 'trying': 0.21; 'supposed': 0.21; "i'd": 0.22; 'cc:2**0': 0.23; 'insert': 0.23; 'kevin': 0.23; 'random': 0.24; 'cc:no real name:2**0': 0.24; 'cc:addr:python.org': 0.25; 'header:In-Reply-To:1': 0.25; 'am,': 0.27; 'message-id:@mail.gmail.com': 0.27; 'interface': 0.27; 'key,': 0.29; 'received:209.85.220.174': 0.29; 'character': 0.29; 'handled': 0.29; "i'm": 0.29; 'fri,': 0.30; 'interface,': 0.33; 'entry': 0.33; 'agree': 0.34; 'received:google.com': 0.34; 'text': 0.34; 'doing': 0.35; 'expected': 0.35; 'received:209.85.220': 0.35; 'received:209.85': 0.35; 'but': 0.36; 'should': 0.36; 'does': 0.37; 'why': 0.37; 'rather': 0.37; 'received:209': 0.37; 'subject:: ': 0.38; 'things': 0.38; 'nothing': 0.38; 'header:Received:5': 0.40; 'think': 0.40; 'strange': 0.62; 'different': 0.63; 'therefore': 0.65; 'box.': 0.65; 'august': 0.66; '1st': 0.81; 'happened.': 0.84; 'moron': 0.84; 'to:addr:ntlworld.com': 0.84; 'navigate': 0.91
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=omllgMUy9DkIHoM1HiUTEKtjTt06FiEnpoeku7kcZPg=; b=zP84aY6rBgQkSEvBd5jy8WQIdk6sSq1ucvW7v4/kCK/ODsemXpyYCsbaF8Cyf8ZFTJ dQzHBPwHRksfXNDCjRqn1/fOGLCc1XpBCgKIYg/fsvBkmMD/nw/kNDUz+6VUnAYAmO9I ZwTqwtdYTWH4jKz29MZ47OWrcMujL2uQP7190YyMcgtcNVCFjgMVxQLu2BjeTvkAWGUv qgFfxoAYrvh8xADcMWXXQZZpUYyJKMfQXaSBlvTZS2/Nknv7WNH+zHyEcvG986dy583O zC2QGsV68HGXbjlyStoY1Et+FL0fEPzEQVFsZKs9RAhGdZy4/u3syC7n6ssRokKFRzIg OxbQ==
MIME-Version 1.0
In-Reply-To <hW40s.4177$905.750@fx27.am4>
References <mailman.4004.1346408318.4697.python-list@python.org> <k1qhgn$me0$1@dont-email.me> <mailman.4.1346426294.27098.python-list@python.org> <k1qkpa$d1g$1@dont-email.me> <hW40s.4177$905.750@fx27.am4>
Date Fri, 31 Aug 2012 20:05:14 +0100
Subject Re: Tkinter bug in Entry widgets on OS X
From Arnaud Delobelle <arnodel@gmail.com>
To Alister <alister.ware@ntlworld.com>
Content-Type text/plain; charset=UTF-8
Cc python-list@python.org
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.8.1346439921.27098.python-list@python.org> (permalink)
Lines 30
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1346439921 news.xs4all.nl 6961 [2001:888:2000:d::a6]:44866
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:28188

Show key headers only | View raw


On 31 August 2012 16:41, Alister <alister.ware@ntlworld.com> wrote:
> On Fri, 31 Aug 2012 11:21:14 -0400, Kevin Walzer wrote:
>
>> On 8/31/12 11:18 AM, Arnaud Delobelle wrote:
>>
>>
>>> I'm not trying to do anything.  When a user presses the UP or DOWN
>>> arrow, then a strange character is inserted in the Entry box.  I'd
>>> rather nothing happened.
>>>
>> Why is the user doing that? If they are trying to navigate to a
>> different part of the interface, they need to use the tab key, not the
>> arrow key. It's not a multi-line text widget and shouldn't be expected
>> to work like one.

So you make software that only behaves well when the user does what
they're supposed to do?

> I agree that it is unexpected in a single line entry box but isn't the 1st
> rule of user interface design to assume the user is a moron & will do
> things they are not supposed to do?
>
> Therefore invalid inputs should be handled gracefully (not just insert
> random characters) which is what I think the original poster is
> suggesting.

Indeed.

-- 
Arnaud

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Tkinter bug in Entry widgets on OS X Arnaud Delobelle <arnodel@gmail.com> - 2012-08-31 11:18 +0100
  Re: Tkinter bug in Entry widgets on OS X Kevin Walzer <kw@codebykevin.com> - 2012-08-31 10:25 -0400
    Re: Tkinter bug in Entry widgets on OS X Arnaud Delobelle <arnodel@gmail.com> - 2012-08-31 16:18 +0100
      Re: Tkinter bug in Entry widgets on OS X Kevin Walzer <kw@codebykevin.com> - 2012-08-31 11:21 -0400
        Re: Tkinter bug in Entry widgets on OS X Alister <alister.ware@ntlworld.com> - 2012-08-31 15:41 +0000
          Re: Tkinter bug in Entry widgets on OS X Arnaud Delobelle <arnodel@gmail.com> - 2012-08-31 20:05 +0100
          Re: Tkinter bug in Entry widgets on OS X Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2012-08-31 15:30 -0400
          Re: Tkinter bug in Entry widgets on OS X Peter Otten <__peter__@web.de> - 2012-09-01 12:30 +0200
          Re: Tkinter bug in Entry widgets on OS X Arnaud Delobelle <arnodel@gmail.com> - 2012-09-01 13:56 +0100
    Re: Tkinter bug in Entry widgets on OS X "Russell E. Owen" <rowen@uw.edu> - 2012-09-13 13:33 -0700

csiph-web