[issue25309] askopenfilename crashes on XP with "Show pop-up description for folder and desktop items" on
New submission from alex wieder: Hi, This is my first bug report, so please be gentle if I don't stick to protocol correctly. I'm also tired from spending about 8 hours tracking down this problem. OS Affected: XP SP3 (maybe others as well, and I'm aware that python doesn't support xp anymore, but I have plenty of clients still on it). I suggest that you test this in more recent Windows versions as well. To reproduce: - Enable "Show Pop-up description for folder and desktop items" in Explorer->Tools->Folder Options->View. - Create a small python script that opens the askopenfilename dialog. - Open any local folder. - Hover the mouse over some files and wait for the pointer to turn into an hourglass as the system tries to gather information for the pop-up for that file. (pdf's are ideal for this as it takes a few seconds for the pop-up to appear.) - Once the pointer's an hourglass, double click on the file. Workaround: - Disable "Show Pop-up description for folder and desktop items" in Explorer->Tools->Folder Options->View and the problem goes away. -- components: Tkinter, Windows files: pickfile.py messages: 252248 nosy: alexwieder, paul.moore, steve.dower, tim.golden, zach.ware priority: normal severity: normal status: open title: askopenfilename crashes on XP with "Show pop-up description for folder and desktop items" on type: crash versions: Python 3.4 Added file: http://bugs.python.org/file40669/pickfile.py ___ Python tracker <http://bugs.python.org/issue25309> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue25309] askopenfilename crashes on XP with "Show pop-up description for folder and desktop items" on
alex wieder added the comment: Terry, thanks for your feedback. By crash, I mean python crashing with a Windows c005 error. I can't even capture that exception in a try...except structure. This is on an Intel Core2Duo 2.7GHz with 4 GB of RAM, with Acrobat Reader X installed, which might account for Windows Explorer's delay in gathering the pdfs' information and presenting it in the pop-up. It also happens on a virtual XP machine I use at my office (VirtualBox running on an i7-based linux box). I ran pickfile.py every way I could think of: with python's console interpreter, with the windows-based interpreter (no black console window showing up). In both cases I tried compiled and interpreted versions of it (.py & .pyc), and also from within Eclipse (regular run and debugger). As long as a user double-clicks on a file while Windows is still gathering information to display in the pop-up, it crashes. I will have access to win7 i5-based computers next week, so I can test then, but these will be much faster computers, so this issue might be moot. Python 3.4.3. I don't know how to check tkinter version, but it's the one that comes with the 3.4.3 python installer. Comment-per-line... I know, but I need to be able to read my own code six months from now (I still maintain code written by me 25 years ago and if it weren't for those, I'd be screwed sometimes). I realize that this particular program is quite obvious, but pickfile.py is just a slice of a much longer file. I'll remove obvious comments if I have to post again. -- ___ Python tracker <http://bugs.python.org/issue25309> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue25309] askopenfilename crashes on XP with "Show pop-up description for folder and desktop items" on
alex wieder added the comment: wish pickfile.tcl? Sorry. Too cryptic for me. I ran the following code from the python interpreter: import tkinter as tk tk.TclVersion tk.TkVersion Both return 8.6. -- ___ Python tracker <http://bugs.python.org/issue25309> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com