[issue26376] Tkinter root window won't close if packed.

2020-10-19 Thread Terry J. Reedy


Terry J. Reedy  added the comment:

I just reproduced this too with Airbook Mohave.  When IDLE's Shell is running, 
it is linked to an execution subprocess that is initially invisible, unless and 
until the user creates a visible window.  Tk() does this.  On Windows, a tk 
Window icon appears when I mouse over the IDLE taskbar icon.  On Mac, a new 
python rocket icon, also used for Python Launcher, appears.  And it becomes the 
active app for the Apple menu bar, making it more tied to the OS than on 
Windows.  In either case, I can switch between IDLE and tk windows by clicking 
icons or sub-icons.

When I click the red close button on the tk window, it disappears, but the 
rocket app icon is still there.  Clicking it maybe restores the window, which 
was hidden, not closed.  Or I may have to right click the rocket and then 'tk'. 
 Right-clicking the rocket and then 'quit' fails to close.  But trying to 
modify the tk window may fail with 'app destroyed' even though it can be made 
visible.  Closing the parent IDLE closes the Window.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26376] Tkinter root window won't close if packed.

2020-10-19 Thread Ned Deily


Ned Deily  added the comment:

Unfortunately, I can reproduce it, or at least odd behavior when run from an 
IDLE.app edit window on with 3.9.0 on macOS 10.15. By observing the macOS Dock 
while running this, it looks like a second Python app instance is created while 
running this. We have seen similar behavior as documented in Issue38946. I have 
an idea what's going on there which I'll try to look at this week.  Let's close 
this as a duplicate so it's not forgotten.

--
resolution: out of date -> duplicate
stage:  -> resolved
status: pending -> closed
superseder:  -> IDLE on macOS 10.15 Catalina does not open double-clicked files 
if app already launched

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26376] Tkinter root window won't close if packed.

2020-10-19 Thread Ronald Oussoren


Ronald Oussoren  added the comment:

I cannot reproduce this issue with Python 3.9 (Python.org installer). 

Both with "Run Module" and in the interactive shell (both in IDLE) the window 
will close properly.  In both cases the window it too small to show the 
minimise and maximise buttons (as in the original screenshots), but that's not 
something we can fix on the Python side. 

I propose closing this issue as "out of date".

--
resolution:  -> out of date
status: open -> pending

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26376] Tkinter root window won't close if packed.

2016-02-24 Thread Sam Yeager

Sam Yeager added the comment:

This occurs even when the window is large and/or packed with multiple elements.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26376] Tkinter root window won't close if packed.

2016-02-23 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

If the problem is that the window is too small to contain the close icon, this 
is not Python issue. May be this is Tk issue or end application issue.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26376] Tkinter root window won't close if packed.

2016-02-23 Thread Sam Yeager

Sam Yeager added the comment:

It's almost certainly only found on OSX. I'm currently taking a Python class of 
approximately 150 students, and at least two of us independently found this 
issue on our respective Macs.

IDLE and Python are the same version (v3.4.4). The info window lists Tk as 
version 8.5.18, which matches the version ActiveTcl.

I'm not familiar with pythonw.exe as I've been using Mac.

Entering "idle 3.4" at Terminal opens IDLE as a separate app and Terminal waits 
until the app is closed. While running the script in the app, the issue 
persists.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26376] Tkinter root window won't close if packed.

2016-02-23 Thread Terry J. Reedy

Terry J. Reedy added the comment:

I was running from IDLE when I said no problem on Windows, so this is OSX 
specific.  Are you running same version of python  (splash message) and tcl/tk? 
 (on IDLE, Help => About IDLE).  Does Python on OSX have equivalent of 
pythonw.exe?  If you start IDLE at terminal and then run from IDLE, do you see 
and error message in the terminal?

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26376] Tkinter root window won't close if packed.

2016-02-22 Thread Sam Yeager

Sam Yeager added the comment:

Ran script on Terminal. The issue disappears, and everything works normally.

Running through IDLE, the issue returns. Sorry, Terry.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26376] Tkinter root window won't close if packed.

2016-02-19 Thread Terry J. Reedy

Terry J. Reedy added the comment:

No problem on Windows either, where the minimum window width is wide enough to 
acommodate all 3 frame buttons (-  []  X).

Please run your test.py directly, either in the terminal or however else one 
does so on OSX, without IDLE, to make absolutely sure that IDLE has no effect 
on the behavior.  (It really ought not to.)

--
components:  -IDLE
nosy: +terry.reedy

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26376] Tkinter root window won't close if packed.

2016-02-19 Thread Sam Yeager

Changes by Sam Yeager :


Added file: http://bugs.python.org/file41973/2 After closing root window.png

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26376] Tkinter root window won't close if packed.

2016-02-19 Thread Sam Yeager

Sam Yeager added the comment:

I've reverted to ActiveTcl 8.5.18. Issue persists.

Uploading screenshots before and after attempting to close root window.

--
Added file: http://bugs.python.org/file41972/1 Before closing root window.png

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26376] Tkinter root window won't close if packed.

2016-02-17 Thread Ned Deily

Ned Deily added the comment:

Also note that installing ActiveTcl 8.6.x has no effect if the tkinter in use 
was linked with an 8.5 version of Tcl/Tk, as the one you are using apparently 
was. Make sure you have installed the latest version of ActiveTcl 8.5.x and try 
again.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26376] Tkinter root window won't close if packed.

2016-02-17 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

What do you mean with "properly"? All looks good to me on Linux.

--
nosy: +serhiy.storchaka

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26376] Tkinter root window won't close if packed.

2016-02-17 Thread Sam Yeager

Changes by Sam Yeager :


Removed file: http://bugs.python.org/file41942/Screen Shot 2016-02-17 at 
10.00.21 AM.png

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26376] Tkinter root window won't close if packed.

2016-02-17 Thread Sam Yeager

New submission from Sam Yeager:

Using the following code, the root window will not close properly when the 
close icon is clicked:

from tkinter import *
rootWin = Tk()
l = Label(rootWin, text="foo")
l.pack()

Similar issue occurs with Tk.grid().


OS: Mac OS X 10.10.5
Python IDE: IDLE 3.4.4
tkinter.TkVersion: 8.5
tkinter.TclVersion: 8.5
ActiveTcl: 8.6.4

--
components: IDLE, Macintosh, Tkinter
files: Screen Shot 2016-02-17 at 10.00.21 AM.png
messages: 260400
nosy: Sam Yeager, ned.deily, ronaldoussoren
priority: normal
severity: normal
status: open
title: Tkinter root window won't close if packed.
type: behavior
versions: Python 3.4
Added file: http://bugs.python.org/file41942/Screen Shot 2016-02-17 at 10.00.21 
AM.png

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com