sillysloft / fluxbox

Fluxbox Window Manager (Mirror)
http://fluxbox.org/news/
Other
0 stars 1 forks source link

mouse events didn't works well with adobe flash player #955

Open sillysloft opened 14 years ago

sillysloft commented 14 years ago

Description: on some flash movies mouse events (such as clicks on buttons start/stop and seek) didn't work as it should. Visualy it may appears as button flashing with mouse clicks, but no action from adobe flash player.

Tested systems: Debian testing, Ubuntu 9.10, Arch Linux, Fedora 12. Browser: Firefox 3.5.3. Adobe Flash Player: 10.0.32.18. X server: 1.6.x, 1.7.0. Fluxbox: 1.1.1 packaged with all listed systems, git from 20091008 tested on Debian. Other WMs that works without this problem: xmonad, awesome, sawfish, openbox (all tested on Debian).

Example of flash movies which triggers the problem: http://www.viddler.com/simple/47185a8c/ http://www.viddler.com/simple/47185a8c/

Reported by: nobody

sillysloft commented 14 years ago

Correct another url to example: http://media.viz.com/flash/omv/index.php?x=mermaidsaga/omv01

Original comment by: *anonymous

sillysloft commented 14 years ago

Same problem. Right clicking on the button to bring the flash menu, then left clicking on the button eventually generates the action. Bug with random videos from different sites (youtube, megavideo), but not all the videos of these sites and not all sites...

System : Debian Sid Browser : Epiphany browser & Midori (webkit based) Adobe Flash Player : idem than igor1st Xserver : xorg 1.7.4 Fluxbox 1.1.1 idem than igor1st

This bug is not on openbox with same configuration, but is present in pekwm.

Original comment by: *anonymous

sillysloft commented 14 years ago

This isn't fluxbox's fault. Something got updated recently that broke flash's handling of send_event. I haven't narrowed it down yet, but I think it was gtk+-2.18.3. You can work around it in the fluxbox source by removing or commenting the contents of FluxboxWindow::grabButtons() in src/Window.cc. This will have the side effect that you won't be able to focus windows by clicking on them, but I never do that anyway. I'll get a real workaround in the source soonish.

Original comment by: mark-t

sillysloft commented 14 years ago

Running your browser with GDK_NATIVE_WINDOWS=1 should fix this issue. I'll still get some changes into fluxbox eventually so this isn't necessary (and eventually flash should fix their gtk code), but this should work for now.

Original comment by: mark-t

sillysloft commented 14 years ago

Many thanks mark-t, this tirck is working for me.

Original comment by: nobody

sillysloft commented 8 years ago

very most likely bug #1000 (passive grab on active windows)

Original comment by: baghira-style