Menu

#2441 -default active on Aqua fails

obsolete: 8.5.2
open
5
2014-08-27
2008-04-15
No

When I specifiy -default active for a button I expect it to be blue but it isn't. Moreover, the focus ring is not drawn either, see script:

toplevel .t
wm title .t "Press Tab"
pack [ttk::frame .t.f -padding 40]
set w .t.f
ttk::button $w.b1 -text "Plain"
ttk::button $w.b2 -text "-default normal" -default normal
ttk::button $w.b3 -text "-default active" -default active
ttk::button $w.b4 -text "-default disabled" -default disabled

grid $w.b1 $w.b2 $w.b3 $w.b4 -padx 10

Discussion

  • Joe English

    Joe English - 2008-05-04

    Logged In: YES
    user_id=68433
    Originator: NO

    What OS version? Any custom settings in the OSX "Appearances" preferences?

    For me (OSX 10.4.11), the '-default active' button does show up blue (as long as the containing toplevel has focus/is active).

    It doesn't pulse (that won't get fixed for a while), and the focus ring isn't visible (that one is now fixed in CVS), but it does show up blue.

     
  • Mats Bengtsson

    Mats Bengtsson - 2008-05-05

    Logged In: YES
    user_id=108900
    Originator: YES

    I have 10.5.2. No custom settings.
    Tested also 10.3.9 (Tcl/Tk 8.5.2) and there the active button is blue but still no focus ring.
    Seems Apple did it again...

     
MongoDB Logo MongoDB