Message from discussion
Slow program exit after using wxFileDialog. Help diagnosing?
Received: by 10.204.129.9 with SMTP id m9mr1850925bks.1.1352848285387;
Tue, 13 Nov 2012 15:11:25 -0800 (PST)
X-BeenThere: wxpython-users@googlegroups.com
Received: by 10.204.147.90 with SMTP id k26ls8331403bkv.5.gmail; Tue, 13 Nov
2012 15:11:18 -0800 (PST)
Received: by 10.204.130.141 with SMTP id t13mr1039801bks.3.1352848278397;
Tue, 13 Nov 2012 15:11:18 -0800 (PST)
Received: by 10.204.130.141 with SMTP id t13mr1039800bks.3.1352848278377;
Tue, 13 Nov 2012 15:11:18 -0800 (PST)
Return-Path: <gruncu...@gmail.com>
Received: from mail-lb0-f171.google.com (mail-lb0-f171.google.com [209.85.217.171])
by gmr-mx.google.com with ESMTPS id t1si925120bkt.1.2012.11.13.15.11.18
(version=TLSv1/SSLv3 cipher=OTHER);
Tue, 13 Nov 2012 15:11:18 -0800 (PST)
Received-SPF: pass (google.com: domain of gruncu...@gmail.com designates 209.85.217.171 as permitted sender) client-ip=209.85.217.171;
Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of gruncu...@gmail.com designates 209.85.217.171 as permitted sender) smtp.mail=gruncu...@gmail.com; dkim=pass header...@gmail.com
Received: by mail-lb0-f171.google.com with SMTP id gf7so4393515lbb.16
for <wxpython-users@googlegroups.com>; Tue, 13 Nov 2012 15:11:18 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20120113;
h=mime-version:date:message-id:subject:from:to:content-type;
bh=w6ssfREf7rtirhaDw4Am1CGrUt/AIdL8h0ZtqOb5sOw=;
b=p6mAjnXl0fRuI2yvhEzX+XOQLB7ek4+gSNP5MAQU7rcl2qYq3mfMVJrA37GgdCzFR4
/F+Njh7Z1h5V+5i3hU5s0Fw4/lHdKwm7oWlrZkWyYqSAnuFqqlZXbgnmhk3MeMq9QJDl
BC5mikcQPTVsS+WqxA/3t+auJ6BiKxppE+6lyP5i1MKmn+xybuphAx49UrcK3o0kFj0+
2XyV39K2VPtPfYvPTeTYeY0Si7Tx/PSmrWrL/wMjd1w04fFdWN/L16MYLHVs1UM5Hh9+
EKi4QGQy5DPz93ypmeWAlAiPO5qG1t0spZIUBXTfcuGrovAmKP1FnklF+jUuJ0VkQaaZ
Uj5w==
MIME-Version: 1.0
Received: by 10.112.51.175 with SMTP id l15mr9353285lbo.120.1352848278005;
Tue, 13 Nov 2012 15:11:18 -0800 (PST)
Received: by 10.114.29.167 with HTTP; Tue, 13 Nov 2012 15:11:17 -0800 (PST)
Date: Tue, 13 Nov 2012 18:11:17 -0500
Message-ID: <CAEgSZfJW1v=iAEqXHsNNisfyKkAKj-aSmUC91sQoOkOLgok...@mail.gmail.com>
Subject: Slow program exit after using wxFileDialog. Help diagnosing?
From: grunculus <gruncu...@gmail.com>
To: wxpython-users@googlegroups.com
Content-Type: text/plain; charset=ISO-8859-1
Hi All,
Again returning to Mike's FileDialog example -
http://www.blog.pythonlibrary.org/2011/02/10/wxpython-showing-2-filetypes-in-wx-filedialog/
I'm using Win7 (32-bit) on a recent laptop:
Python Platform: win32
Python Version: 2.7.2 (default, Jun 12 2011, 15:08:59) [MSC v.1500
32 bit (Intel)]
wxPython version: 2.9.2.4 msw (classic)
If I run the program from a command prompt and select no files and
simply close the program using the upper right X icon, the program
closes instantly and I get the command prompt back instantly.
If I run the program from a command prompt, hit the Open File Dialog
button, hit the Cancel button to close the file dialog, then close the
wx window via the upper-right X, it takes a long time for the command
prompt to return (5s or longer). Similarly if I select ~ 6 files then
close the wx window via the X - it takes about 5 s for the prompt to
return. Under some combinations of selecting files, canceling, etc.,
it has taken much longer for the prompt to return.
It feels like something isn't getting released inside wxPython
properly, but I have no idea what is causing the issue nor how to
debug it. I haven't tried any other wxPython versions.
(Other wxPython scripts I have here that use the Win32 package to call
the native file dialog don't seem to have this issue.)
Any pointers?
Thanks.
Cheers,
Scott.