PDA

View Full Version : menu shortcut not always working




Chirone
Apr 11, 2009, 03:33 AM
hi all,

i've come across a most intricate problem...

there are two NSViews, one of which has a table to display rows of information (i currently don't have access to a mac so i can't tell you the exact name of the UI components i'm refering to), and another NSView which i think the originaly developer was drawing on

there is a menu item which can be triggered by pushing option + i

this shortcut, however, only works sometimes...

when the user clicks on the table they can push option + i and the method that is meant to be called gets called.
when the user clicks on the NSView they can push option + i and nothing happens...
however, actually using the menu to do the command works
even the other shortcut option + o works

any idea what's happening?

is option + i a cursed command or something? :(

it's really confusing...



Chirone
Apr 12, 2009, 11:28 PM
changed the short cut to control + i and it started working....
any idea why?

lee1210
Apr 12, 2009, 11:31 PM
Maybe cmd+i is reserved for italicizing in that view? This is a wild guess.

-Lee

Chirone
Apr 12, 2009, 11:40 PM
made a mistake

it was originally option + i that was to be pushed

i changed the first post now...

still confusing...

oh well.... i guess it's not important now anyway