Version: (using KDE KDE 3.2.0)
Installed from: Gentoo Packages
Compiler: gcc 3.3.2
Many Flash files use keyboard events, such as for interactive games. In Konq, however, the plugin doesnt receive keyboard events and thus any flash files that rely on the keyboard are useless.
Please provide an example site...
sorry, i thought i had. here:
I do not see the problem. If you put the mouse over the flash plugin and then press the the TAB key, the keyboard events are handled by the plugin. This is exactly how Mozilla works as well. So what exactly is the problem ?
I never remember needing to press tab. The flash plugin should accept keyboard events under the same conditions as anything as, following normal focus rules. Preferably, it should accept keyboard input whenever the mouse is over the flash movie, or perhaps according to window focus rules.
in any case, the need to press tab is obscure and a hinderance.
I can confirm that this problem is real. Example: http://av02c.kicks-ass.org/pelaabeta.php.
If you try to move paddle with cursor buttons, some times it works, and moretimes it won't. If you try it with mozilla, it works allways.
As I said, it works sometimes, but usually won't.
BUT, if I have multiple tabs open, and after loading page-with-flash switch to another tab an back, keyboard events seems to work.
Another example is the game N. I will attach an SWF file. Try to run this in Konqueror and it won't react to keyboard events, which makes it impossible to play it in Konqueror. The prompt says "press [spacebar] to begin" after you click "new game" on the main screen, but pressing the spacebar has no effect - regardless of whether you pressed TAB, moved the mouse cursor over the game, clicked in the game, or anything else. Konqueror doesn't send keyboard events to the game in any situation I've tried.
Created attachment 5569 [details]
a ninja game in Flash
Navigate to this Flash file in Konqueror and try to play it. It is impossible
because Konqueror doesn't pass it keyboard any events.
*** Bug 79983 has been marked as a duplicate of this bug. ***
*** Bug 80579 has been marked as a duplicate of this bug. ***
I can confirm the described problem. I encountered it while playing the sixth and seventh Yetisports game (www.yetisports.org). Strangely, the flash plugin did recieve keyboard events when I pressed on a letter (e.g. 'b'), but not when I pressed the arrow keys.
I also noticed how you can make the keyboard work for the Ninja game: Open it in a new tab, select the tab, change back to another tab and back to the tab with the ninja game.
Reproduced with testcases.
inst->_toplevel is getting the key events at first. Switching tabs and back results in _form getting the events as required. Very strange.
*** Bug 99267 has been marked as a duplicate of this bug. ***
Another confirmed case is with the following Flash game: http://www.miniclip.com/gamefiles0304/heli2miniclip.swf Under Konq the keyboard presses appear to be ignored. When trying the same test with Firefox all required key presses DO work.
Confirmed this is still a problem in 3.4.0
The problem is still there in 3.4.3...
And also still a problem in 3.5.0 Beta 2
Problem still exists in in KDE3.5. Workarounds like pressing tab or switching to another tab just won't work. Please fix this. This is VERY annoying.
Also present in 3.5.1, I was trying to play: http://www.teagames.com/games/bmxstar/play.php
Still not fixed in KDE 3.5.4
This seems to be fixed with the new flashplayer beta 9 which was released today.
I checked the games from Comment #2 and Comment #19, they both work with version 9, but not with version 7.
I can also confirm that this works with the new flash player (KDE 3.5.5). Given how long this bug has been around, and that the new plash player is such a huge step up from the old one, is it worth keeping this bug open?
The keyboard events works for me as well with the new flash player beta. So go ahead and close this bug.
Closing per the last comments.