Skip to content

Blank window on OS X with tk 8.6.9 builds after ha441bb4_1000 #37

@JimBiardCics

Description

@JimBiardCics

Issue: Simple Tk-based application produces a blank window for tk 8.6.9 builds after ha441bb4_1000. The simple application

from tkinter import *

root = Tk()

w = Label(root, text = 'Hello, world.')

w.pack()

root.mainloop()

produced the expected results with tk 8.6.9 build ha441bb4_1000, but with builds ha441bb4_1001 or h2573ce8_1002, the window had no visible contents. The window frame was OK, but the interior was all white.

I found this problem with an application with a more complex UI. Moving the cursor around the window seemed to indicate that the widgets were present (the cursor changed to a text entry caret over the locations of text widgets, for example), but all pixels in the window were white. If I tried to resize the window the entire contents turned black. The window title contained the expected contents.


Environment (conda list):

Details
# packages in environment at /Users/jbiard/miniconda3/envs/TkTest:
#
# Name                    Version                   Build  Channel
bzip2                     1.0.8                h01d97ff_0    conda-forge
ca-certificates           2019.6.16            hecc5488_0    conda-forge
certifi                   2019.6.16                py37_1    conda-forge
libcxx                    8.0.0                         4    conda-forge
libcxxabi                 8.0.0                         4    conda-forge
libffi                    3.2.1             h6de7cb9_1006    conda-forge
ncurses                   6.1               h0a44026_1002    conda-forge
openssl                   1.1.1c               h01d97ff_0    conda-forge
pip                       19.2.1                   py37_0    conda-forge
python                    3.7.3                h93065d6_1    conda-forge
readline                  8.0                  hcfe32e1_0    conda-forge
setuptools                41.0.1                   py37_0    conda-forge
sqlite                    3.29.0               hb7d70f7_0    conda-forge
tk                        8.6.9             h2573ce8_1002    conda-forge
wheel                     0.33.4                   py37_0    conda-forge
xz                        5.2.4             h1de35cc_1001    conda-forge
zlib                      1.2.11            h01d97ff_1005    conda-forge

Details about conda and system ( conda info ):
Details
     active environment : TkTest
    active env location : /Users/jbiard/miniconda3/envs/TkTest
            shell level : 4
       user config file : /Users/jbiard/.condarc
 populated config files : /Users/jbiard/.condarc
          conda version : 4.7.10
    conda-build version : 3.10.9
         python version : 2.7.15.final.0
       virtual packages : 
       base environment : /Users/jbiard/miniconda3  (writable)
           channel URLs : https://conda.anaconda.org/conda-forge/osx-64
                          https://conda.anaconda.org/conda-forge/noarch
                          https://conda.anaconda.org/jevans/osx-64
                          https://conda.anaconda.org/jevans/noarch
                          https://conda.anaconda.org/pelson/osx-64
                          https://conda.anaconda.org/pelson/noarch
                          https://repo.anaconda.com/pkgs/main/osx-64
                          https://repo.anaconda.com/pkgs/main/noarch
                          https://repo.anaconda.com/pkgs/r/osx-64
                          https://repo.anaconda.com/pkgs/r/noarch
          package cache : /Users/jbiard/miniconda3/pkgs
                          /Users/jbiard/.conda/pkgs
       envs directories : /Users/jbiard/miniconda3/envs
                          /Users/jbiard/.conda/envs
               platform : osx-64
             user-agent : conda/4.7.10 requests/2.19.1 CPython/2.7.15 Darwin/18.7.0 OSX/10.14.6
                UID:GID : 1079:20
             netrc file : /Users/jbiard/.netrc
           offline mode : False

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions