Overview
| Artifact ID: | bc4306ede96604069b8b34ffec39eae65274af10 |
|---|---|
| Ticket: | 1032257fffffffffffffffffffffffffffffffff
menubutton fg color changes unexpectedly |
| User & Date: | reowen on 2004-09-22 00:18:27 |
Changes
- assignee changed to: "nobody"
- cmimetype changed to: "text/plain"
- 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.
- foundin changed to: "obsolete: 8.4.7"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "reowen"
- subsystem changed to: "None"
- title changed to: "menubutton fg color changes unexpectedly"
- type changed to: "Bug"