Opened 6 years ago

Closed 5 years ago

Last modified 5 years ago

#57357 closed defect (fixed)

Tkinter test fails with macos Mojave

Reported by: vsuorant (Ville) Owned by: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Priority: Normal Milestone:
Component: ports Version:
Keywords: mojave Cc: radarhere (Andrew Murray)
Port: tk py-tkinter

Description (last modified by ryandesign (Ryan Carsten Schmidt))

This fails only on OSX 10.14 (Mojave). The same configuration works on OSX 10.13 with both systems having Xcode10 installed

I installed (compiled from source):

  • gcc5
  • python27 (2.7.15)
  • tk@8.6.8_4+quartz

Running:

import Tkinter
Tkinter._test()

brings up an all black window without buttons or text on Mojave. The same test works fine on High Sierra.

Change History (9)

comment:1 Changed 6 years ago by vsuorant (Ville)

Description: modified (diff)
Keywords: mojave added

comment:2 Changed 6 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Keywords: tk tkinter removed
Owner: set to MarcusCalhoun-Lopez
Port: py-tkinter added; tkinter removed
Status: newassigned

comment:3 Changed 6 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

This seems to be a problem with Tk.
the Tcl script

package require Tk
grid [ttk::button .b -text "Hello World"]

fails as well when tk is installed with the +quartz variant.
Tcl/Tk's bug reporting system seems to be down.
When the system comes back up, I will attempt to do more research.

comment:4 Changed 6 years ago by vsuorant (Ville)

I see. It looks like there is already a Tk ticket opened for this: https://core.tcl.tk/tk/tktview?name=09e18e42d7

comment:5 Changed 6 years ago by radarhere (Andrew Murray)

Cc: radarhere added

comment:6 Changed 6 years ago by radarhere (Andrew Murray)

Looks like Mojave fixes for Tk will hopefully be a part of Tk 8.6.9 - http://code.activestate.com/lists/tcl-core/20199/ - which might be released at the start of November - http://code.activestate.com/lists/tcl-core/20198/

comment:7 Changed 6 years ago by sneakerheadfarb

My button and dropdown text is not appearing (functionality is fine) and I believe it is the same issue. Button and dropdown text is visible and works as expected before packaging with Pyinstaller but after packaging with Pyinstaller button and dropdown text never appears, and this is only occurring on Mojave. On High Sierra I can still see button and dropdown text before and after packaging with Pyinstaller. Please help! :(

comment:8 Changed 5 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Resolution: fixed
Status: assignedclosed

comment:9 Changed 5 years ago by radarhere (Andrew Murray)

Thanks very much

Note: See TracTickets for help on using tickets.