| Ticket UUID: | 487861 | |||
| Title: | cascade with -accelerator looks wrong | |||
| Type: | Bug | Version: | obsolete: 8.5.4 | |
| Submitter: | boakley | Created on: | 2001-12-01 17:12:13 | |
| Subsystem: | 13. Win Menus | Assigned To: | fvogel | |
| Priority: | 2 | Severity: | Minor | |
| Status: | Closed | Last Modified: | 2016-03-20 09:57:51 | |
| Resolution: | Fixed | Closed By: | fvogel | |
| Closed on: | 2016-03-20 09:57:51 | |||
| Description: |
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" | |||
| User Comments: |
fvogel added on 2016-03-20 09:57:51:
Fix (for Windows) merged to trunk and core-8-6-branch. fvogel added on 2016-03-13 21:57:38: Fix proposed in branch bug-487861ffff fvogel added on 2016-03-13 21:06:25: On Linux Deban 6.0 with core-8-6-branch there is indeed no accelerator displayed at all. So Linux is OK, and Windows needs to be fixed by removing the accelerator. No idea regarding Mac. fvogel added on 2016-03-11 16:02:00: In Windows 7 with fossil trunk (8.7a0) or 8.5.15, I see "CascadeX" which I guess is OK as far as rendering is concerned. tmh added on 2008-08-19 09:56:08: Logged In: YES user_id=92123 Originator: NO On Linux, I don't see the accelerator at all. Will retest on windows. hobbs added on 2002-08-08 07:19:15: 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. | |||
Home
Timeline
Branches
Tags
Forum
Tickets
Download
Wiki