Re: Cycle Windows keyboard shortcut - WORKAROUND
Re: Cycle Windows keyboard shortcut - WORKAROUND
- Subject: Re: Cycle Windows keyboard shortcut - WORKAROUND
- From: Otto Poellath <email@hidden>
- Date: Sat, 10 Aug 2002 14:02:45 +0200
Hi,
I found a very simple workaround for my problem and thought I'd share:
Find the nib file containing the main menu of the cocoa application you
want fixed (usually in
/Applications/SomeApp.app/Contents/Resources/English.lproj/MainMenu.nib,
but could be named different of course). Make a backup.
Open the nib in InterfaceBuilder. If it won't open, the info.nib and
classes.nib inside MainMenu.nib/ are probably missing. Go find a
info.nib and classes.nib in another app's nib file and copy them to
MainMenu.nib/. Make a note to yourself to remove those after you're done.
Add a menu item to the Window menu (I call it Cycle Windows) and assign
a shortcut (I use Cmd-^).
Add an action named _cycleWindows: to FirstResponder.
Make FirstResponder's _cycleWindows: action the target of your menu
item. You probably know how to do this.
Save the nib, because you're done. Works like a charm - finally!
Regards,
-Otto.
p.s.: Gibbons, for some reason my reply to your email bounced twice.
Hi,
I recently asked about the broken (for some non-US keyboard layouts)
"Cycle Windows" keyboard shortcut in 10.1 and wether it would be fixed
in Jaguar. Someone from Apple (sorry I lost your email) agreed that
it's broken and assured me this would be fixed in Jaguar.
So when I finally got my hands on a system running Jaguar (the WWDC
beta) yesterday, the first thing I did was try to cycle windows on a
german keyboard layout (using Cmd-^, which is the key left to the "1"
key on german keyboards), and to my great disappointment, it didn't
work in Console, Mail or TextEdit:
2002-08-06 18:59:46.524 Console[433] [NSCFString characterAtIndex:]:
Range or index out of bounds
2002-08-06 19:01:15.304 Mail[434] [NSCFString characterAtIndex:]: Range
or index out of bounds
2002-08-06 19:03:40.545 TextEdit[432] [NSCFString characterAtIndex:]:
Range or index out of bounds
Could someone _please_ tell me that this _will_ be fixed in the final
Jaguar release? Anyone?
TIA,
-Otto.
ps: for me, this is by far the most counter-productive and most
annoying bug in OS X.
Hi,
it appears the "Cycle Windows" keyboard shortcut is broken for at least
some keyboard layouts (see below) in 10.1 (because some non-US keyboard
layouts use the backtick key to produce accented characters).
I searched TFM, mamasam and the web to find out what method should
actually get called by hitting Command- `, but came up with nil. I
assumed this would send a message to NSDocumentController,
NSWindowController or NSApplication, but I couldn't find anything
suitable.
Can anyone help?
TIA,
-Otto.
ps: Also if somebody could tell me whether this will be fixed in
Jaguar,
I'd appreciate it.
> http://www.omnigroup.com/applications/omniweb/faq/
>
> In OmniWeb 4.1, the "Cycle Windows" keyboard shortcut stopped
working!
> Where did it move to?
>
> Starting in Mac OS 10.1, Apple implemented a system-wide shortcut to
> cycle through the windows of any Cocoa application. The shortcut is
> "Command- `" ; on a North American keyboard layout, the key you want
is
> just to the left of the "1" key. We'd really rather have a shortcut
> that works across all applications than to have our users learn
> different shortcuts for just OmniWeb, so we've adopted this behavior
in
> OmniWeb.
> That said, this isn't a perfect solution; the key shortcut can't by
> typed on certain other keyboard layouts; if you'd like to see this
> change, please send your feedback to Apple so they can address the
> problem you're having: then it will not only be fixed in OmniWeb, but
> also in Mail, TextEdit, and the other Cocoa applications you use.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.