Keyboard shortcut. JVM bug?

I have an applet where I want to simulate keyboard shortcuts standard windows behaviour.
I want to be able to navigate between Components by pushing alt + some key.
I have a key- listener catching key events, testing isAltDown() and transferring focus. It all works just fine...
Now, if I have focus in a java.awt.TextField, or java.awt.TextArea, and push for instance alt+a, I get an 'a' typed in the TextComponent in addition to the transfer of focus.
This happens only when running Sun plugin for IE.
Is it supposed to happen?
How do I stop this from happening?
Thx,
Ragnvald

Solved.
- I forgot to consume() the event.
Now it works on any VM!

Similar Messages

  • BUG: KEYBOARD SHORTCUT KEYS DO NOT ALWAYS ACTIVATE A SERVICE (A WORKFLOW)

    BUG: KEYBOARD SHORTCUT KEYS DO NOT ALWAYS ACTIVATE A SERVICE (A WORKFLOW)
    When you assign a keyboard shortcut to a Service (such as a Service Workflow created in Automator) using the System Preferences > Keyboard > Shortcuts, if that shortcut key combination includes the Command key, pressing that shortcut will always successfully activate the Service. No problem there.
    However, shortcut key combinations that do not include the Command key (for example, the shortcut key combo Ctrl-Shift-D) WILL NOT activate the Service in any newly opened application, until you click on the Services Menu option in that application.
    As soon as you click on the application's Services Menu, this seems to bind the shortcut key combo to the Service, and thereafter, that keyboard shortcut will activate the Service in that particular app. But if you then quit and reopen the app, you'll find the Service will once again lose its binding to the shortcut key combination and will thus fail to work again.
    This means that shortcut key combinations such as Ctrl-D, Ctrl-Shift-D, F15, Alt-F15, etc are not really viable shortcuts for Services, because they will not work in any newly-opened application until you click on the Services Menu in that application.
    This bug thus greatly limits the shortcuts that you can employ for Services, because you can only reliably use shortcut key combos that contain the Command key. This is a fault that Apple really needs to fix. This is a very old glitch: I notice it is present in Snow Leopard 10.6.8, as well as Yosemite 10.10.1.
    This bug does not apply to application shortcuts, however, or to other shortcuts in the Shortcuts Preference Pane, just to Services shortcuts (including the Mac's default Services, or any Services you make yourself using Workflows on the Automator software).
    To give some examples:
    The following keyboard shortcuts for Services WILL NOT work until you click on the Services Menu in the application you are using (and they will cease working again when you quit and reopen the app):
    Ctrl-X
    Ctrl-Shift-X
    Ctrl-Alt-X
    Ctrl-Alt-Shift-X
    Alt-X
    Alt-Shift-X
    F1, F2, F3, etc
    So until Apple fixes this bug, the above type of key combinations, that do not contain the Command key, are best avoided as shortcuts for Services. It is particularly unfortunate that function keys F1 to F19 do not work reliably, as these would make great single-key shortcuts to Services.
    However, the following sort of keyboard shortcuts for Services, all containing the Command key, once set up will always work without fail:
    Command-Alt-X
    Command-Ctrl-X
    Command-Shift-X
    Command-Ctrl-Shift-X
    Command-Alt-Ctrl-Shift-X
    Command-F1, Command-F2, Command-F3, etc
    So all the above can be reliably used as shortcuts to Services.
    Here X denotes keyboard keys such as A, B, C, 1, 2, 3, =, \, [, etc.
    Note that even for keyboard shortcuts containing the Command key, you may very occasionally need to click the Services Menu to get them to work initially in an application (notably in the System Preferences application itself). But if this is necessary, it is just required once when they are first set up, and thereafter the shortcuts containing the Command key will always work without fail.
    The above was tested on Yosemite 10.10.1, but most likely applies to other versions of OS X as well, as I believe this bug is an old one. This bug is definitely present in Snow Leopard 10.6.8, because I have observed this same fault in an old Mac I have that runs Snow Leopard.
    I have reported this bug to Apple, so hopefully they will see my report and act upon it. However, it might be an idea if others also report this problem of Services shortcuts not working property, to ensure that Apple get the message. You can report a bug to Apple via their bug feedback page here.

    Exactly where do you want to use a GO BACK "shortcut" in Bridge?  Maybe I don't even understand what you mean by Go Back.  Bridge is only a file browser, nothing more. It doesn't open, edit, manipulate or save files at all.
    Are you simply referring to going back to view a folder that you viewed before?
    Please don't take this a criticism.  As someone who will gladly pay money not to have to learn any shortcuts at all, I'm just puzzled and curious, that's all.

  • Fit Frame to Content Bug in InDesign CC? Keyboard shortcut not working

    Using InDesign CC 9.1 in Mountain Lion, recently installed and has been working fine except I noticed that the keyboard shortcut for Fit Frame to Content won't work, even though the other frame fitting shortcuts work. I searched this forum and elsewhere to see if there was any reported bug for this but came up with bubkis.
    When using the contextual menu option or toolbar button for Fit Frame to Content I don't have any problem. I thought perhaps my own set of shortcuts had overridden this default shortcut somehow so I reverted to the default set without any luck. I quit and re-opened ID with the default shortcut set, no luck either.
    In the Keyboard Shortcuts menu options, when I try to assign Opt-Cmd-C it does say it's already assigned to that function. I'm at a loss here to understand why this one particular function isn't working as a shortcut. Any ideas why? What can I do? Thanks.

    It's working for me in InDesign CC on the same operating system.
    Here's a couple ideas:
    Make sure there's not a Mac OS X system shortcut already set to this shortcut. Go to System Preferences > Keyboard Shortcuts and check all the tabs for existing system shortcuts (I didn't find any but maybe you had set one). InDesign CC now gives preference to the system.
    You could also try restoring your InDesign preferences.

  • Photoshop tablet bug, keyboard shortcuts temporarily won't work

    Hello
    I've noticed a strange bug with photoshop when working with a pen and tablet. I was wondering if anybody else has experienced this issue. I'm using the CC version on the latest Mac OS
    While working on an illustration I'll frequently use keyboard shortcuts. command+z, i, r, z, option, etc. Someties after making a stroke with the brush tool, I'll go to undo with command+option+z and nothing will happen. Other keyboard shortcuts do the same thing—no response.
    I've found that to fix this, you have to click the canvas again to make photoshop the active program or something to that effect.
    This is incredibly annoying and seems to happen at random. Has this happened to anybody else? Any suggestions on how to fix this problem?

    I'm also experiencing the same bug. As far as I know I don't use Maverick (If it's possible ).
    I'm on a MacBookpro With mac os x 10.9.1. Using photoshop CS6.
    The problems only occur when I'm using my tablet (Wacom intuos 4).
    Photoshop does seem to be the active program running because when I try to switch tools (and photoshop doesn't respond) I can still use the active tool. For instance if I have my brush selected and press "e" it still continues to draw instead of erase.
    I'm using my shortcuts a lot while drawing so it's getting a bit frustrating.
    Does anyone have a solution or work around? Will a reinstall of photoshop do the trick?
    For me the problems started after I traveled to a diferent timezone (not sure if it's related though). My photoshop was set to korean instead of European. I switched it back but it didn't solve the problem.  Before this my photoshop worked perfectly on this exact setup for a year.
    Any advice is most welcome.

  • BUG: Changing text colours within a text block: Keyboard shortcuts problem (Photoshop CS5)

    In earlier versions of Photoshop, I could double click a Paragraph Text to edit it, then select individual words and change their colours using the Ctrl+Backspace and Alt-Backspace keyboard shortcuts (to change them to either Background or Foreground colours).
    In PhotoShop CS5, Alt+Backspace is OK, but Ctrl-Backspace deletes the highlighted word! Not good. I believe this is a bug, can it be fixed to revert to the old behaviour?
    (Photoshop CS5 Extended x64 on Windows 7 x64)

    I fully understand what you're saying, and while I'm all for compatibility, user interface change cannot be accomplished without, well, change.
    Imagine, for example, that thousands of people could have reported that they couldn't delete the prior word with Ctrl-Backspace while using the T tool in Photoshop, while they could with every other application on their systems.  Imagine that none of the users like you reported that they were happy with things the way they already are.
    Perhaps the best approach in a situation like this would have been for Adobe to add a configuration option somewhere to allow individual users to make the choice.  But EVEN THEN there's a push from the Marketing types to simplify the number of choices given to customers, probably because doing so reduces support costs (imagine, for example, someone brainlessly setting it to your flavor of Ctrl-Backspace, then calling support to complain that they can't delete the prior word as they have always been able to do).  There are a lot of requests on this forum that read like "I must have changed a setting somewhere, but I'll be darned if I can find it."
    Microsoft and Adobe have both moved lately in this direction (reducing choices and configurability), reportedly to "reduce the cognitive load" on presumably ever less intelligent users, with ill effects in many cases.  Unfortunately, "you can have it any way you like so long as it's our way" seems to be the way of the future.
    -Noel

  • [BUG] Adobe Bridge does not support OSX 10.10's "Go Back" keyboard shortcut and does not have a custom one.

    Adobe Bridge does not support OSX 10.10's "Go Back" keyboard shortcut which is `command + shift + [` and does not have a custom one.
    I tried "delete" key which is backspace for Windows. It will do delete identical to "delete X" key (which is delete key for Windows).
    Sidenote: `command + shift + \` is to go back in views (switch views), not folder structure.

    Exactly where do you want to use a GO BACK "shortcut" in Bridge?  Maybe I don't even understand what you mean by Go Back.  Bridge is only a file browser, nothing more. It doesn't open, edit, manipulate or save files at all.
    Are you simply referring to going back to view a folder that you viewed before?
    Please don't take this a criticism.  As someone who will gladly pay money not to have to learn any shortcuts at all, I'm just puzzled and curious, that's all.

  • How do I change the keyboard shortcut for Cycle through open documents in PS CC for Mac?

    Sorry to bug the community with such a seemingly inconsequential task, but I am seriously tired of using the awkward default keyboard shortcut for cycling through open docs in PS.  I'd like to change it to what I am used in in Chrome, which is Cmd+Option+[left] or {right} arrow keys.  I noticed this is not a command listed in the in keyboard shortcuts, for whatever reason.  Where on Earth can I change this? 
    If it is not possible to do it by default, is there a plug-in or a change to the code that will allow this basic functionality? 
    Thanks again guys and gals!

    As far as I know, you can't. It's "hard wired" in.  Not even Edit > Keyboard Shortcuts is allowed  to change it.
    However I did find this tip:
    Anyway i never found tabs in Adobe application useful, instead i prefer the old school method: simply switch off tabs feature via illustrator/ preferences/ user interface/ open documents as tabs. Then in Mac preferences panel, under keyboard, just search for the “focus on next application window” field (under menu, keyboard and text) and assign a shortcut if the default option doesn't fit you. And there is now you can easily switch between open documents!.
    The best part of this is that it can be used in all mac applications, not only Adobe ones. And remember, if you want this working on Indesign, Photoshop, etc be aware of first switch off the tab features so that the system could “see” multiple documents opened not only one single tabbed document.
    Gene

  • Is there a way to use Frame 8 keyboard shortcuts in 9?

    I understand that there is a new UI, but my coworker wants to remain on Frame 8 if he can't use the shortcuts he's been using for 15 years (muscle memory lasts a long time). Is there any way (a preference maybe) to use the F8 shortcuts? I saw a trick for scrolling through paragraph styles starting with the same letter using the down arrow. (Hello Adobe? It is not reasonable to suggest having headings names start with a unique letter. There are huge and current books that have all their tags already. And there are only but so many letters.) If there is no way to use F8, is there a table somewhere of what to do now?
    Thanks so much.
    jen

    quabbinjen wrote:
    So here are a few specific problems:
    1. Ctrl 8 and 9 make you use the down arrow key to cycle through letters. How would I change the ini file so that I could just keep hitting the letter?
    2. When I start typing something and then realize I've hit the wrong letter, it seems I need to backspace to the begining to correct it. I used to be able to just start up with the correct letter.
    3. Sometimes I hit Ctrl 9 and I do not get the small box where the style names display, I only see the arrow that I then need to mouse over to and click to list the styles. Why is that?
    4. If I accidently hit Ctrl 8 when I wanted 9 (for example), I have to hit escape and then start again. Previously, hitting the correct sequence twice would get me where I wanted.
    That's all I can think of now...I appreciate the assistance...jen
    The operation of the menu that opens with Ctrl+8 and similar commands has changed in recent releases. It's not clear if it's due to a bug or a design intention. You can ask for a bug fix or feature enhancement at Adobe - Feature Request/Bug Report Form.
    Search FrameMaker help for Keyboard Shortcuts for lists of useful shortcuts. Even if you open a menu with a different shortcut - say Escape q p, or Escape q c (quick paragraph or character format list) instead of Ctrl+8 or 9, the menu still misbehaves.
    I haven't tried typing a different shortcut with the Escape-key method, while in a "wrong" one, to see if that works as you remember the Ctrl+ method, but it's more keystrokes than typing Escape.
    It's not customizable in maker.ini.
    There are third-party keystroke recorder utilities that may be useful. For example, you could invoke a shortcut that opens a Ctrl+ or Escape-key menu, then types the specific command you want (without mis-typing) and executes it. Search for keystroke macro recorders on Google.
    HTH
    Regards,
    Peter
    Peter Gold
    KnowHow ProServices

  • Keyboard shortcuts no longer work iOS 8.3. Triple tap Home button on Bluetooth keyboard no longer works either. Help!

    Since updating my iPad Third Generation ("New iPad") to iOS 8.3, Keyboard Shortcuts no longer work. Also on my Logitech EasySwitch Bluetooth Keyboard, triple tapping the home button on it no longer works to trigger Accessibility, even though that is still set up for triple tap in Settings and continues to work on the iPad itself. How can I get these functions back? Wah!

    TEmporary solution at iOS 8.3 keyboard shortcuts. Old bug reappeared.

  • A Mail keyboard shortcut I set sometimes works and sometimes doesn't - why?

    Using the keyboard shortcut panel I changed the keyboard shortcut for "Send" to CMD+E.
    After quitting and restarting Mail I can see in the menus that this is showing CMD+E now.
    Problem is - when composing a message sometimes CMD+E works and the mail gets sent and sometimes I just get a beep and nothing happens.
    Why would that be?
    doug
    iMac G5 20" / iSight   Mac OS X (10.4.5)   1.5 GB RAM

    My point is that the behavior that motivated your post is not necessarily a bug itself. The bug is somewhere else. The reason sometimes it works as you expect and sometimes it doesn't could very well be that sometimes the other command is enabled (thus causing it to be chosen) and sometimes it isn't (thus causing Send to be chosen).
    Actually, I've just tried it, out of curiosity, and the Edit > Find > Use Selection for Find is indeed sometimes enabled and sometimes disabled when a new message is created depending on where the cursor is located, so I maintain that what you call second bug is probably not a bug at all. Rather it's expected behavior resulting from a conflict that you've introduced.
    The bug is somewhere else, namely whatever it is that prevents the Keyboard Shortcuts preference pane to realize that there is a conflict and whatever it is that causes the shortcut to disappear from the other command when its menu is displayed. But that's not what is causing the behavior that motivated your question. That behavior is the expected behavior when two commands have the same keyboard shortcut and the one that gets the first chance at handling the command is sometimes enabled and sometimes disabled.
    Does it sound like I have it right?
    Almost.
    iMac G5 17" (iSight)   Mac OS X (10.4.4)  

  • A possible solution for "foreight language keyboard shortcut" problem...

    Hi(Bonjour)!
    Everyone know the problem of losy keyboard layout when Final Cut is used with foreight language keyboard. We loose the COMMAND-Q shorcut.
    As PieroF suggested in many posts in final cut express forum, there is a workaround:
    "+I just installed Leopard and I ran into this keyboard shortcut problem.+
    +I can confirm that:+
    +a. the problem exists also with the Italian keyboard (in addition to other languages, as pointed by other posters)+
    +b. the workaround I described in my previous answer works fine :+
    +- close FCE (if open)+
    +- open System Preferences/International/Language+
    +- drag English to the first place on top of the other languages+
    +- drag your own language (Italian in my case) again on top of English (at the end the window will show the same original settings, but something happened in the heart of Leopard...)+
    +- close System Preferences+
    +- open FCE: now all shortcuts work as expected, and are correctly listed with their corresponding menu commands+
    +It's a workaround, it's not convenient (I'd better have this bug fixed), but apparently you have to apply it only once for each system startup.+
    Piero "
    As stated by Piero, you have to follow this procedure after each computer startup.
    I found a way to restore the COMMAND-Q shortcut with the keyboard and mouse system pref panel.
    Simply add Final Cut application and add a +custom shotcut+. Be careful to type exactly the "Quit Final Cut Express" menu.
    This solution allows to restart the computer.
    It's work with Final Cut Express and Final Cut Pro under Leopard 10.5.4.
    Michel Boissonneault

    Hi Michel,
    I like your suggestion because the keyboard shortcuts defined in the system preferences do not require redefinition at each startup. So in theory we could define all missing/wrong shortcuts this way, and not only the cmd-Q as you suggested. Boring, but we could do it once for all.
    The only problem is that I don't know how to define shortcuts for submenus, for example "Render Selection/Both": it seems system preferences allows only to define shortcuts for the menu ("Render Selection" - in this case absolutely useless) but not for the submenu.
    Do you know a way ? (I looked in the help, which didn't... help).
    Piero

  • Assigning a new keyboard shortcut that isn't default

    In CS4, I'd like to to assign a keyboard shortcut to the
    "Smooth" tool (which comes up when you click pointer.) How can I do
    this? When I click on Tools Panel in the Keyboard Shortcut menu, it
    isn't an option and it also isn't listed in the Customize Tools
    menu. I figuring, if I replace one of the available tools with the
    smooth tool (again, not the one associated with pencil, but the one
    that appears when you click pointer), I can do it. But how can I
    replace or add to the available tools?
    I'm using a mac, tiger 10.11.4
    Thanks

    Sorry for such a slow response.  I've been up to my eyeballs in work recently! (not a bad thing).  Thanks Ronin for your help.  I did have a look at that link and there is some useful stuff there.
    As it turns out I solved the problem another way.  All I had to do was clear my synced settings and then re-sync!! can you believe that!  Now when I select keyboard shortcuts from the menu the window pops up and I can customize away.  Before, nothing happened when I selected keyboard shortcuts from the drop down menu!
    Maybe it's a weird solo bug that only happened to me, I hope no one else suffers this infuriating thing!
    Cheers

  • Mac upgrade to Yosemite, Adobe Indesign CS5 keyboard shortcuts not working -  t for text  - z for zoom - v for pointer etc

    So I upgraded my MACBOOK PRO (Retina, Mid 2012) 2.7 Ghz Intel Core i7
    to MAC OS X YOSEMITE
    Adobe Indesign CS5 generally works with some very annoying bugs.
    All major keyboard shortcuts that use a single key command have stopped working. and these happen to be the main ones I use all the time for editing...
    t for text
    z for zoom
    v for pointer
    It's annoying because now I have to keep  going back to the tool bar to change my cursor selection. It's just slowing me down.
    Annoying but workable.
    Has anyone else go this issue?
    An update or fix would be greatly appreciated.

    WARNING!!!
    I was contacted by  apparently a third party supplier called Adobe Systems via this forum
    They logged in to my computer via team viewer
    installed utorrent
    and proceed to download a cracked version of adobe cs6
    in the mean time saying on skype that Adobe no longer has Adobe CS6 on their server.
    This seemed very OFF to me and I disconnected the skype (and blocked Adobe Systems) and disconnected TeamViewer
    If I wanted a cracked version of Adobe CS6 I'm very capable of doing this kind of thing my self
    However I run a business I want to have a legitimate licensed copy of the software running for my staff.
    They were offering a fully licensed version of a Adobe Master Suite CS6 with my own unique ID for USD$400
    Again very OFF considering the upgrade from Adobe from Indesign CS5 to CS6 is almost AUD$1600
    I don't know how they got my email address from this forum but it seems that the adobe forum has been hacked!
    you have been warned!

  • Keyboard shortcuts not working in Illustrator CC for Mac

    I'm having a lot of problems using keyboard shortcuts in Illustrator CC for Mac. They'll will work intermittently. No keyboard issues anywhere else. Is this a bug, or something I can remedy on my end?

    I am having the exact same problem and it is really infuriating at times... I just switched from CS6 where I encountered no such problems.
    It seems that it usually happens when I switch to Finder or another application and back (altough it may only be Finder). The Illustrator window is still active because I can see Illustrator reacting when I press only CMD or ALT. However all keyboard shortcuts just stop working, for instance CMD+S, or V or any other toolbar shortcuts. To fix it I have to do a mouse click on a tool or menu command or something, and the shortcuts are back for a while...
    I am also running Illustrator v.17.0.0 and OS X 10.8.4 on a macbook Pro connected to a Thunderbolt Display and bluetooth mouse/keyboard.
    I sure hope this is picked up by Adobe soon, it is really messing with my workflow!

  • Different keyboard shortcuts in Adobe Reader 9 for navigation

    In Adobe Reader 9 (German) the keyboard shortcuts for navigation have changed obviously. In previous versions one can zoom in/out to window size with "CTRL-0". Now CTRL-0 zooms in (like CTRL-+ before). CTRL-1 seems to zoom out. Is this a bug or why does Adobe change the shortcuts in Adobe Reader 9 (btw: any other Adobe product uses the same shortcuts as older versions).
    Does anybody know, how to resize the document to window size via keyboard shortcut?
    Thanks in advance. Best regards.

    Hi!
    I was wondering about the exact same thing:
    http://www.adobeforums.com/webx/.59b65468
    I believe it is not a bug, just an unreasonable, stupid change.
    Thanks though, for mentioning that you actually can zoom in now using ctrl+0 (or ctrl+2 i guess)!
    For resizing to window size I use "ctrl+L", so if you are in zoomed mode you have to holde ctrl and hit L twice to jump to window size again. Hope that helped!
    -hell

Maybe you are looking for

  • Display doesn't work after power outage

    The electricity was knocked out in my neighborhood for a few hours and when it was finally restored I found that my display no longer works. It is getting no power at all. None of the lights on the front of the display are working--it's totally dead.

  • Extracting data from database table containg perticular string.

    hi every body , can any body provide me a solution for extracting the OT01 data from kna1 table where the OT01 ends with the string 'town' . exe : the O/P should be midTOWN newTOWN there is one more query i am not able to execute the following statem

  • My iphone 4 is stuck in the 'Connect to itunes' screen after updating to OS7.

    I have an iphone 4 which worked perfectly before. I went through the update process to the latest OS and now I can't get it to progress beyound the iphone setup screen. itunes sees it fine and reads it fine but whichever option I pick it goes through

  • Can't create a Content Type List Item on Visual Studio 2010

    Can't create a Content Type List Item on Visual Studio 2010

  • Help With MXMLC Ant task

    Hello all. I've been using the MXMLC servlet compiler that comes with the fds-tomcat tutorial. I have recently tried to compile with MXMLC using the ant task. The application compiles the swf correctly except it cant seem to find the spring services