New submission from rovf:

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.

----------
components: Tkinter
messages: 218736
nosy: rovf
priority: normal
severity: normal
status: open
title: Tkinter + OSX + Spaces : Multiple file dialogues created
type: behavior
versions: Python 3.4

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue21521>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to