Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

CB menu system confusion

(1/11) > >>

Pecan:
RE: bug #9942

SVN 3482 XP2

CB has a number of "duplicate" first letter menu items.
Eg., Open, Open default workspace, Close file, Close all files, etc.

When I invoke Alt-F O, CB currently jumps over the Open item and executes the  Open default workspace item. I verified this by setting a trap in the code.

When I invoke Alt-F Close, CB alternately jumps to all items beginning with C but always jumps over the Close item.

When I rename "Open default workspace" to "Xpen default workspace" Alt-F-Open then works.

I then modified the menu sample, attempting to duplicate the problem. I could not. It worked perfectly.

I made three menu items. EDummy1, EDummy2, &Exit. Alt-F-E alway exited.

What is the difference. Is there some OS options that is causing this?

artoj:
It still works for me, Alt+F, O always executes the open file dialog and Alt+F, C always executes Close (no jumping). :?

Windows XP x64 Pro
Default Windows theme
Control Panel - Display - Appearance tab - Effects - "Hide underlined letters for keyboard navigation untill I press the Alt key" is unchecked.

It also works on my laptop, Ubuntu Edgy, wx 2.6.3p2 (no jumping).

EDIT:

I also tested this on Vista and I get same results. Then only entries in File menu that cause jumping are Recent projects and Recent files menus but this is understandable; they both have the same accelerator key.

Pecan:

--- Quote from: artoj on January 19, 2007, 09:30:33 am ---It still works for me, Alt+F, O always executes the open file dialog and Alt+F, C always executes Close (no jumping). :?

--- End quote ---

Ok, so it must be a condition in the accerator tables that happens during startup.
I've turned off all &o in menu_menu.xrc except Open, but it still jumps to Open default workspace.

I took the second &r off Recent Files, and now Recent projects work ok.
But it still jumps over Close file to all the other C menu items.

Alt-File-Q has always worked ok.

Any guesses for me to look at anyone?

Pecan:

--- Quote from: artoj on January 19, 2007, 09:30:33 am ---It still works for me, Alt+F, O always executes the open file dialog and Alt+F, C always executes Close (no jumping). :?

It also works on my laptop, Ubuntu Edgy, wx 2.6.3p2 (no jumping).


--- End quote ---

How can it work on Ubuntu? I don't have any mnemonic underlines on my Dapper at all (except on the main menuBar). Is there an option for this?

When I use Alt-F-O or any Alt-F-anything, nothing happens on Dapper.

I also have *no* mnemonic underlines on andLinux Edgy menu items (excepting the main menuBar which has them).

What am I missing here. Might be a clue.

MortenMacFly:

--- Quote from: artoj on January 19, 2007, 09:30:33 am ---I also tested this on Vista and I get same results.

--- End quote ---
You've got Vista already??? :shock: And C::B works there in principle? Anything special to consider? Please tell me - that'd be great news! ;-)
With regards, Morten.

Navigation

[0] Message Index

[#] Next page

Go to full version