13

When playing flash videos (youtube, vimeo, whatever) in full screen mode, using my keyboard shortcuts to adjust the volume always causes me to exit full screen mode. Unfortunately, they're my only way to adjust the volume, so it's really annoying.

1

2 Answers 2

16

This is a bug in the Flash player.

The volume keys on your keyboard are handled by gnome-settings-daemon, which uses a passive grab on the volume keys. The way that X works means that an application needs to have focus in order to receive keypress events, so, what happens when you press the volume keys is that the flash player window sees a FocusOut event as focus is moved temporarily to gnome-settings-daemon.

However, the FocusOut event has the mode set to NotifyGrab, and the flash player should be ignoring this event (it should only really respond when the mode is set to NotifyNormal, which would happen if you really did focus another window).

Hope that helps explain it a bit.

4
  • 2
    :-/ if I had a dollar for every answer which contains "this is a bug in the Flash player"...
    – scottl
    Nov 5, 2010 at 2:39
  • I too am sick of hearing the "this is a flash player bug" excuse. If there was a way to disable the volume notification window every time I change the volume on my laptop, that would also fix the problem.
    – Benjamin
    Jan 5, 2011 at 0:25
  • @Benjamin: What version of Ubuntu are you on? This bug was fixed for Maverick: bugs.launchpad.net/ubuntu/+source/flashplugin-nonfree/+bug/…
    – idbrii
    Apr 4, 2011 at 20:38
  • hopefully flash will die soon, so we aren't dependent on that unsecure, slow and buggy browser-plugin.
    – Joschua
    Jul 11, 2011 at 19:58
6

Chris's explanation was very good, and there is also a Launchpad bug with more information.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .