Oct-23-2019, 03:50 AM
I am experiencing a Python menu issue on both of my Mac's. One Mac has macOS Catalina and Python 3.7.4 via pyEnv with Tcl/Tk 8.6.9 and the other has macOS Catalina and Python 3.8.0. via pyEnv and Tcl/Tk 8.6.9 and both area exhibiting the same behavior. This behavior did not exist before upgrading from macOS Mojave to macOS Catalina.
When I enter the following code in the terminal I get a small tk window that appears.
>$ python
>>> import tkinter as tk
>>> root = tk.Tk()
The menu at the top of the screen changes to a Python menu with the Apple logo and 'python File Edit Window Help' which does not respond to mouse clicks. I have to take focus from the python window either by CMD+tabbing out of the window (or click out) back to terminal or the desktop and then CMD+tab (or click) back to the python window to give it focus and then the menu at the top responds to mouse clicks.
If you are running Catalina and you execute the above code, do you get the same behavior, or does your menu respond to mouse clicks before taking focus from python?
I don't know how to figure out if this is macOS issue (most likely), Python issue, or a Tcl/Tk issue.
When I enter the following code in the terminal I get a small tk window that appears.
>$ python
>>> import tkinter as tk
>>> root = tk.Tk()
The menu at the top of the screen changes to a Python menu with the Apple logo and 'python File Edit Window Help' which does not respond to mouse clicks. I have to take focus from the python window either by CMD+tabbing out of the window (or click out) back to terminal or the desktop and then CMD+tab (or click) back to the python window to give it focus and then the menu at the top responds to mouse clicks.
If you are running Catalina and you execute the above code, do you get the same behavior, or does your menu respond to mouse clicks before taking focus from python?
I don't know how to figure out if this is macOS issue (most likely), Python issue, or a Tcl/Tk issue.