Menu

#1107 cascade with -accelerator looks wrong

obsolete: 8.5.4
open-accepted
2
2008-08-19
2001-12-01
No

If I create a cascade menu item and give it an
accelerator it looks wrong. The accelerator overwrites
the cascade items label from the left.

Now I know it doesn't particularly make sense to have
an accelerator for a cascade, but the man page doesn't
say you can't, and suggests that if you do the
accelerator appears on the right.

Here's how to reproduce:

menu .m
.m add cascade -label "Cascade" -accelerator "X"
. configure -menu .m

When I do the above on my box (win2k, tcl 8.2, 8.3 and
8.4) I see "Xascade"

Discussion

  • Jeffrey Hobbs

    Jeffrey Hobbs - 2002-08-08

    Logged In: YES
    user_id=72656

    This only applies to cascades and commands placed in the
    toplevel menu row, which should not have accelerators.
    While the drawing of this should be fixed, this should also not
    be done anyway.

     
  • Jeffrey Hobbs

    Jeffrey Hobbs - 2002-08-08
    • priority: 5 --> 2
     
  • Todd Helfter

    Todd Helfter - 2008-08-19

    Logged In: YES
    user_id=92123
    Originator: NO

    On Linux, I don't see the accelerator at all. Will retest on windows.

     
  • Todd Helfter

    Todd Helfter - 2008-08-19
    • milestone: --> obsolete: 8.5.4
    • status: open --> open-accepted
     
MongoDB Logo MongoDB