Tk Source Code

Artifact [810e70bd]
Login

Artifact 810e70bde7d57c975bb9a34e2a6c1643e9c7835e5e321ee22c61af087d343d38:

Attachment "1d8b7124b6 - X11: Photo images not drawn correctly for 32-bit visuals.tcl" to ticket [1d8b7124] added by fvogel 2023-11-21 21:44:39.

# 1d8b7124b6 - X11: Photo images not drawn correctly for 32-bit visuals

pack req Tk
toplevel .t -visual {truecolor 32}
image create photo im1 -file /home/francois/Documents/tcltk/fossil/tk/library/demos/images/earthmenu.png
button .b -image im1   ; pack .b   ; # no pb (64 bits visual)
button .t.b -image im1 ; pack .t.b ; # shows the bug (32 bits visual)