[New-bugs-announce] [issue21521] Tkinter + OSX + Spaces : Multiple file dialogues created

rovf report at bugs.python.org
Sun May 18 10:55:40 CEST 2014

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

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 <report at bugs.python.org>

More information about the New-bugs-announce mailing list