Tk Source Code

View Ticket
Login
Ticket UUID: 1862340
Title: systemMetalBackground produces black
Type: Bug Version: None
Submitter: nobody Created on: 2008-01-02 18:05:35
Subsystem: 30. Color Names Assigned To: das
Priority: 5 Medium Severity:
Status: Closed Last Modified: 2008-01-05 18:28:56
Resolution: Later Closed By: das
    Closed on: 2008-01-05 11:28:56
Description:
In the list of supported colors at http://www.tcl.tk/man/tcl8.4/TkCmd/colors.htm we have some Mac specific colors.

systemModelessDialogBackgroundActive works fine and provides the Pinstripe texture, systemMetalBackground doesn't and provides black.

Example:

pack [::label .l -text "Hello world." -background systemMetalBackground]

This is on Tcl/Tk 8.4.16 (Activestate release).
User Comments: das added on 2008-01-05 18:28:56:
Logged In: YES 
user_id=90580
Originator: NO

this is a know issue, systemMetalBackground only works with window compositing enabled, which we cannot turn on at this point as it forces use of HIView (which is difficult to reconcile with the X11-style redraw algorithm used by Tk).