Opened 11 years ago

Last modified 11 years ago

#12033 new defect

Accelerators does not work in menu with icons

Reported by: TNikolay Owned by:
Priority: low Milestone:
Component: wxMSW Version: stable-latest
Keywords: wxMenu Accelerator Cc: malcompl
Blocked By: Blocking:
Patch: no

Description

I just recompile my program with r64194 and noticed that keyboard accelerators does not work in menu with icon. Previously I used r63219 and there was not such problem. You can reproduce it with the menu sample

  1. Run it
  2. Press Alt+F in order to open File menu
  3. try to select Clear log (alt+l) or Exit (alt+x) from keyboard - does not work, but it work for any other menu item. I thinks that problem in menu item with icon.

I use Win XP 64

Change History (2)

comment:1 Changed 11 years ago by vadz

  • Cc malcompl added
  • Priority changed from normal to low
  • Status changed from new to infoneeded_new

Indeed, Ctrl+L doesn't work while the menu is open. However it seems to be the normal behaviour actually: if you open the "File" menu in Notepad, it behaves the same.

OTOH Ctrl+L and Alt+X work just fine for me if I don't open the menu. And the latter even works while it's opened too because pressing Alt dismisses the menu.

IOW I guess I don't see any problem here, neither under XP (32 bit) nor 7 (64 bit).

comment:2 Changed 11 years ago by TNikolay

  • Status changed from infoneeded_new to new

Yes, probably I have mistaken when write "Accelerators does not work", "Hot key in menu does not work" is more correctly.

if you open the "File" menu in Notepad, it behaves the same.

Strange, I don't see such problem in Notepad, all hot keys work fine for me.

Note: See TracTickets for help on using tickets.