Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
JimBiardCics opened this issue Jul 31, 2019 · 2 comments
Open

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

JimBiardCics opened this issue Jul 31, 2019 · 2 comments

Comments

@JimBiardCics
Copy link

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):

# 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 ):
     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
@dmlutz2
Copy link

dmlutz2 commented Aug 19, 2019

Also seeing this issue with tk 8.6.9, trying both python 2.7.15 and 2.7.16, but I don't have full details at the moment

@deeuu
Copy link

deeuu commented Oct 29, 2019

I can also confirm this, no problem running the demo with8.6.9-ha441bb4_1000 on python 3.7.3/3.6.5:

python -m tkinter

but blank window for later builds.

(I'm on macOS 10.15)

Seems relevent to #36

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants