Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed3a.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.024 X-Spam-Evidence: '*H*': 0.95; '*S*': 0.00; 'subject:IDLE': 0.04; '21,': 0.07; 'utilizing': 0.09; 'cc:addr:python-list': 0.11; 'gui': 0.12; '(which,': 0.16; '*block*': 0.16; 'blocking': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'merely': 0.16; 'remembers': 0.16; 'prevent': 0.16; 'wrote:': 0.18; 'widget': 0.19; 'programming': 0.22; 'otherwise,': 0.22; 'cc:addr:python.org': 0.22; 'earlier': 0.24; 'mon,': 0.24; 'cc:2**0': 0.24; 'header:In-Reply-To:1': 0.27; 'point': 0.28; 'am,': 0.29; 'generally': 0.29; 'subject:) ': 0.29; 'message- id:@mail.gmail.com': 0.30; 'dialog': 0.31; 'file': 0.32; 'themselves': 0.32; 'maybe': 0.34; 'common': 0.35; 'johnson': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'there': 0.35; 'done': 0.36; 'should': 0.36; 'application': 0.37; 'window': 0.38; 'anything': 0.39; 'extremely': 0.39; 'even': 0.60; 'tell': 0.60; 'strictly': 0.61; 'further': 0.61; 'first': 0.61; 'subject:more': 0.64; 'between': 0.67; 'jul': 0.74; 'unaware': 0.84; 'to:none': 0.92; 'rick': 0.93; 'serious': 0.97 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:cc :content-type; bh=Z+39W84nrXVbM+n/n+vP4pjHYWyhqxWPouuB7lyRoXA=; b=A1dmDbQeCDmfOHbo/0AlOTXCQuCL8CKqrgI3unsYV5eWocJWo1udKwJgIYYo4YMD23 Kw1i3WoockgUAJAaPvfx2nrn9e4XaSBPvgmPkCXe2osproSryFjIr54+Nq2efcUfGrqs Rxvi6rY9jWLTvmThCiAmVn6IbRXMSJ36kxETVIslDQE5+JP2nOpZZ8pIF2l6Kwkaiqym UESt3/xLUm7KS3Y2RQ3LGyvhycGcGS+0uUcDPgNjKAHxgX1Gu3ERswiKQ8TSNETyqcAN rw/mgHkStBUbwACUyK9OUy0Fjm7+4HZ/Df84Gq4yAJ0IAFjb8Bpg81BGjRGv+Uh610SE +CsQ== MIME-Version: 1.0 X-Received: by 10.52.28.231 with SMTP id e7mr11352716vdh.55.1405904531206; Sun, 20 Jul 2014 18:02:11 -0700 (PDT) In-Reply-To: <53926733-5e65-482f-96bc-0171c6a93d59@googlegroups.com> References: <232acf45-096d-466a-aa75-06d8c378b128@googlegroups.com> <53cc376e$0$2898$e4fe514c@news.xs4all.nl> <53926733-5e65-482f-96bc-0171c6a93d59@googlegroups.com> Date: Mon, 21 Jul 2014 11:02:11 +1000 Subject: Re: PyWart(2.7.8) IDLE is more buggy than "Joe's apartment"! From: Chris Angelico Cc: "python-list@python.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 25 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1405904534 news.xs4all.nl 2845 [2001:888:2000:d::a6]:42754 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:74888 On Mon, Jul 21, 2014 at 8:44 AM, Rick Johnson wrote: > Filedialogs should be "truly modal", and like any modal > dialog, should present themselves to the user utilizing > blocking -- that is the whole point of "modal dialogs", to > *BLOCK* further execution of the application *UNTIL* the > user provides (generally speaking) an "answer" to a > "question". > > In order to facilitate *SMOOTH* interfacing between the user > and the modal dialog, the "contract of modal dialogs" must > be strictly obeyed: File dialogs can be modal or modeless. That's been true since the very first time I met them (which, admittedly, wasn't until the early 90s; maybe someone remembers earlier and can tell me if they were inherently modal 25+ years ago?), and there are good reasons for both operation styles. Even if your dialog is modal, it's extremely common to NOT block the application, but merely prevent interaction; otherwise, your main window won't repaint, which is generally considered to be a flaw. Rick, have you ever done any serious GUI programming in anything other than Tkinter? Are you seriously unaware of standard GUI widget functionality? ChrisA