Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: bc4306ede96604069b8b34ffec39eae65274af10
Ticket: 1032257fffffffffffffffffffffffffffffffff
menubutton fg color changes unexpectedly
User & Date: reowen on 2004-09-22 00:18:27
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    I noticed the following bizarre behavior under MacOS X 
    10.3.4 with Tcl/Tk Aqua 8.4.7: if I have a button using a 
    gray50 bitmap and I change its foreground color, the color 
    of the text of all menubuttons on the same toplevel 
    also changes to that same new color!
    
    Here is a procedure to see this:
    
    menubutton .mb -text sometext
    pack .mb
    button .b -bitmap gray50
    pack .b
    .b configure -fg blue
    
    * Click on the title bar of the topevel window to bring it to 
    the front.
    * Move the mouse over the menubutton (without clicking!)
    * Observe that the color of the menubutton's text changes 
    to blue! Why???
    
    I sure hope this is a bug and not a feature. I can't imagine 
    why this behavior should be normal, and I don't see this 
    strange behavior under unix (nor, I think, under some 
    earlier versions of aqua Tcl/Tk but I've not tried reverting to 
    find out for sure).
    
    On the other hand, under aqua Tk I've not found any 
    *proper* way to change the color of the text or the 
    background for a menubutton, which has been a great 
    source of grief. Pity that this bug doesn't make a useful 
    workaround for that problem.
    
  4. foundin changed to: "obsolete: 8.4.7"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "reowen"
  9. subsystem changed to: "None"
  10. title changed to: "menubutton fg color changes unexpectedly"
  11. type changed to: "Bug"