Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I often cycle through my Firefox tabs using Ctrl+Tab and Ctrl+Shift+Tab. But whenever it reaches a tab that is running a Flash (or similar) plugin, Ctrl+Tab and Ctrl+Shift+Tab won't work anymore, because Flash has the focus and overwrites the general keybindings. I have to stop and click outside of the Flash app to continue the cycling.

Basically, I hate that Flash hijacks the keyboard focus. I never use it anyway, i.e. I never use the keyboard to control certain elements within the Flash app. Can I turn it off, meaning, can I tell Flash not to overwrite Firefox' keyboard bindings?

share|improve this question
11  
I also find this very annoying and would love to see a solution! –  Palmin Nov 3 '10 at 22:20
    
Mine didn't do this in the past, strangely. It seems to have started when I upgraded Flash in about June 2012? The worst is that it hijacks my multimedia volume keys, so I can't adjust my system volume while watching YouTube. Insane. –  endolith Aug 22 '12 at 1:27
add comment

7 Answers

It's a known issue and according to this, the fix is accepted and ready to be implemented. No idea what's keeping them from doing so though.

https://wiki.mozilla.org/Plugins:AdvancedKeyHandling

share|improve this answer
    
The reason for this is most likely that it would be confusing to the user. The user's intent is not clear: perhaps pressing F5 has some function within the Flash player, and therefore should not refresh the page. A better example is the scroll wheel: should Firefox scroll the page up and down, while an embedded YouTube player wants to change the volume? I think that in the interest of maintaining the user experience, this hasn't been implemented (just as it hasn't been implemented on other browsers, such as Chrome). –  Paul Lammertsma Nov 10 '10 at 14:51
4  
why not implement it as an option but disable it by default, only to make interested users able to enable it explicitly in about:config ? –  naxa Nov 4 '12 at 22:01
add comment

The whole point of including keyboard shortucts in Flash -- and those ugly yellow borders that appear whenever you hit Tab and Flash has the focus -- is accessibility. Everything should be somehow accessible with the keyboard. Letting Flash randomly and unexpectedly steak focus, with no way to go back completely misses this goal, especially since most flash apps are mouse-driven anyway.

It doesn't have to be a single-key shortcut to get out--it can be Ctrl+Right Alt+Shift+Super+Left Alt+Up+Down+Up+Down+Asterisk, but it just has to be there somehow.

Apparently, this has been Bug 78414 in Firefox for ten years now.

share|improve this answer
1  
Mozilla <3 ignoring bugs. –  endolith Aug 22 '12 at 1:26
add comment

You have this problem with chrome and ie, too. I do not think its an pc/mac/somegear problem either: That tiny little missbehavior anoys me for years. Finally i just decided to do something. The recently read google hits refered to an osx enviroment. Those guys thought it would be a mac problem.

To those who might read this and have any technical background: my guess is, that this problem with a browser plugin (flash player) is identical to that problem a regular applications (or '') havappse. Best example would be antivir, catching focus to show up the own comercial window after updating. As i use antivar exclusive for private concerns, that keeps minimizing my fullscreen game-'window', which causes game crashes in some case.

In the case of antivir it is not necessarry to catch focus at all. For setting up the plugin within th browser 'sandbox' and keep playing the vid it might be essential. However - i can speak only for regular windows apps - when it were my app stealing the focus, i have no system build in chance to give the focus back to that application the user expect to process his input. Even giving it back to those apps my app stole from is not an easy option.

Even all those browse extensions are called 'add-in', most likly the word in has nothing to do with it. Anyone building an add-in would keep the process-logic capseld outside of the brwoser to work with i.e. the jre and providing only a minimal interface in the code of the add-in for displaying issues. Otherwise you could build seperate versions of process logic for each browser on top to the system issues - just compare watching youtube video on iphone and on android.

share|improve this answer
add comment

In Chrome, you can Alt+Tab to the next window, then Alt+Tab back. This is what I've found to be the fastest. When you come back to the Chrome window the keyboard access is regained by the browser, so you can use Alt+D to move to the address bar (or similar) to move on with life.

share|improve this answer
3  
Thanks for your insight, but the question here is tagged "Firefox". –  Otiel Jul 26 '13 at 9:16
add comment

You can use this add on: https://addons.mozilla.org/en-US/seamonkey/addon/focus-regainer/?src=userprofile, it is named "focus regainer", it solve your issue.

share|improve this answer
    
YES FINALLY THANK YOU SO MUCH. :D –  Owen_R Jun 17 '13 at 13:05
    
Sadly it does not give back the focus to Firefox automatically, you still have to hit a shortcut. –  Otiel Jul 26 '13 at 9:19
add comment

After no success searching for solution to this with the web, official website, firefox add-ons system, google search, etc. i created my own fix for this, DLL file that enables keyboard focus reverting by pressing F8 key (can be customized). Link and can read more about it here: http://ikk.byethost9.com/index.php?MainMenu=ff_ctrlt_fix Its for 32bit Firefox on Windows.

share|improve this answer
add comment

Folks, be aware that this is a Flash bug!!! The Flash developers (I mean the developers who build flash) ought to be lined up and shot. This is a programming mistake typical of somebody first-day-in-the-real-world that I can't believe has existed for years now (no mass outrage also shows how few use the keyboard, aka those people who do everything at a snail's pace with the mouse, but don't get me started on that).

When developing a plug-in/etc. you can subscribe to a OS event that gives you EVERY key a user hits. The plug-in/etc can examine the key, and then tell the OS, 1-I don't need that key so process it normally, or 2-I'm doing something with that key so I'll handle it and you ignore it. Most components don't even subscribe to this event, but Flash is super arrogant, and telling the OS "I WANT EVERY KEY". For Windows developers, this is ProcessDialogKey() or something of the like. Again they all ought to be shot, because they're basically saying "hey the browser shortcut keys, I'll eat those and do nothing with them!" Total idiots. Please note that this isn't a FOCUS issue. Most components run just fine with the focus and let the OS process the keys the plug-in/etc doesn't need (which is almost every key, I mean c'mon what keys does Flash need).

The other thing that is sooooo stupid about this, is anybody with any programming experience could walk into Adobe, pull up the code and fix this in 2 minutes.

This is not the only problem like this -- if you have Windows 7 64bit, opening a new window in FireFox that has a flash on the page will set focus back to the first FireFox window. This shows a complete lack of understanding of Windows programming and super-stupid use of Windows API functions like "BringWindowToTop()" etc. Here's a link: Windows 7 FireFox Window Switching with Flash

One last comment: THIS IS NOT A FIREFOX, CHROME, IE PROBLEM!!!

share|improve this answer
    
Awesome writeup, but a lot of rage ;) –  private_meta Jun 13 at 6:49
    
this is actually a pretty useful rant. –  rocketsarefast Jun 25 at 20:39
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.