Bug 19488 - Cannot scroll webpage with arrow keys if mouse is in the flash
Summary: Cannot scroll webpage with arrow keys if mouse is in the flash
Status: ASSIGNED
Alias: None
Product: swfdec
Classification: Unclassified
Component: plugin (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: swfdec ml
QA Contact: swfdec ml
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-09 14:17 UTC by Jon Dufresne
Modified: 2009-01-09 18:14 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Jon Dufresne 2009-01-09 14:17:56 UTC
This is using swfdec 0.8.4 and epiphany 2.24.1 with gecko-1.9 all from Fedora 10 repositories. This bug correlates with flash objects so I believe it is a bug with swfdec as opposed to the other modules. If you believe this is either an epiphany or gecko bug I would be happy to file this bug in the correct place.

I can not scroll a web page vertically using the arrow keys when the mouse pointer is inside a flash object.

Steps to repeat:
* Go to a youtube video page.
* Click anywhere in the web page beside the flash object and scroll vertically with arrow keys to make sure the web page has focus.
* Place mouse pointer inside the flash and rest the mouse.
* Try to scroll the web page vertically with the arrow keys, notice that you can not.
Comment 1 Benjamin Otte 2009-01-09 15:04:46 UTC
This is definitely partially Swfdec's fault. But I think it's a Mozilla problem, too. At least the last time I asked about it, I was told that Mozilla doesn't handle events that plugins don't handle, so I never bothered implementing it.

I wonder if it works with Adobe's plugin (even on Windows).
Comment 2 Jon Dufresne 2009-01-09 15:14:47 UTC
(In reply to comment #1)
> I was told that Mozilla
> doesn't handle events that plugins don't handle, so I never bothered
> implementing it.

Is it be possible to forward the unhandled events to Mozilla?
Comment 3 Benjamin Otte 2009-01-09 15:19:42 UTC
Yeah, you can return FALSE if you didn't handle an event.
The current code (both inside Swfdec and Swfdec-mozilla) doesn't do that yet, but in theory, it could, if Adobe's player does the same thing.
Comment 4 Jon Dufresne 2009-01-09 18:14:53 UTC
If you give me a little hint as to where to look at this, I'd be interested in trying to write a patch. This bug affects me quite a bit due to the layout of some websites.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.