This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author rovf
Recipients rovf
Date 2014-05-18.08:55:39
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1400403340.1.0.400733156313.issue21521@psf.upfronthosting.co.za>
In-reply-to
Content
I'm running this on OSX 10.6 (SnowLeopard) with the OSX "Spaces" feature enabled (i.e. several virtual desktops).

This is my (complete) program:

from tkinter.filedialog import asksaveasfilename
pathname=asksaveasfilename(initialdir='.',title='gaga')

This has the following odd behaviours:

- The file dialogue opens, but when I switch to another space, the file dialogue is open there too, as a *separate* file dialogue. I.e., when I go back to the original space, select a file and exit the dialogue, my program continues running (for instance, when called from an interactive python shell, I get the prompt again), but on the other space, the dialogue is still open.

- I also noticed that the parameter initialdir='.' is NOT honoured, i.e. the file dialogue starts on the topmost directory.

BTW, the same behaviour is also in Python 2.6.
History
Date User Action Args
2014-05-18 08:55:40rovfsetrecipients: + rovf
2014-05-18 08:55:40rovfsetmessageid: <1400403340.1.0.400733156313.issue21521@psf.upfronthosting.co.za>
2014-05-18 08:55:40rovflinkissue21521 messages
2014-05-18 08:55:39rovfcreate