Comment on attachment 8401684
Implement WakeLockListener on Linux to disable screensaver while video is 
playing

Review of attachment 8401684:
-----------------------------------------------------------------

This is the behaviour we want (locking video irrespective of whether
we're fullscreen or not), but someone who has a clue about Linux should
also review this. Karl?

::: widget/gtk/nsAppShell.cpp
@@ +93,5 @@
> +                                           FREEDESKTOP_SCREENSAVER_OBJECT,
> +                                           FREEDESKTOP_SCREENSAVER_INTERFACE,
> +                                           p_method);
> +        }
> +        else {

} else {

@@ +120,5 @@
> +                                     DBUS_TYPE_STRING, &application,
> +                                     DBUS_TYPE_STRING, &reason,
> +                                     DBUS_TYPE_INVALID);
> +        }
> +        else {

} else {

@@ +391,1 @@
>      return nsBaseAppShell::Init();

You should probably remove the listener during shutdown too.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to firefox in Ubuntu.
https://bugs.launchpad.net/bugs/434476

Title:
  screensaver starts while playing HTML5 videos

Status in The Mozilla Firefox Browser:
  Confirmed
Status in “firefox” package in Ubuntu:
  Confirmed
Status in “firefox-3.5” package in Ubuntu:
  Triaged

Bug description:
  Binary package hint: firefox-3.5

  karmic alpha6 + updates

  - click on a .ogv video link
  - after watching some time, screensaver starts.

  ProblemType: Bug
  Architecture: amd64
  Date: Tue Sep 22 08:45:53 2009
  DistroRelease: Ubuntu 9.10
  NonfreeKernelModules: nvidia
  Package: firefox 3.5.3+build1+nobinonly-0ubuntu2
  PackageArchitecture: all
  ProcEnviron:
   LANG=de_AT.UTF-8
   SHELL=/bin/bash
  ProcVersionSignature: Ubuntu 2.6.31-10.34-generic
  SourcePackage: firefox-3.5
  Uname: Linux 2.6.31-10-generic x86_64

To manage notifications about this bug go to:
https://bugs.launchpad.net/firefox/+bug/434476/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to