[Bug 1647895] Re: Tablet suspends while playing video or audio in browser

2016-12-07 Thread Alexandros Frantzis
** No longer affects: repowerd (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1647895

Title:
  Tablet suspends while playing video or audio in browser

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1647895/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1647895] Re: Tablet suspends while playing video or audio in browser

2016-12-07 Thread Olivier Tilloy
** Changed in: oxide
 Assignee: (unassigned) => Olivier Tilloy (osomon)

** Changed in: oxide
   Importance: Undecided => High

** Changed in: oxide
   Status: New => In Progress

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1647895

Title:
  Tablet suspends while playing video or audio in browser

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1647895/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1647895] Re: Tablet suspends while playing video or audio in browser

2016-12-07 Thread Launchpad Bug Tracker
** Merge proposal linked:
   https://code.launchpad.net/~osomon/oxide/+git/oxide/+merge/312647

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1647895

Title:
  Tablet suspends while playing video or audio in browser

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1647895/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1647895] Re: Tablet suspends while playing video or audio in browser

2016-12-07 Thread Olivier Tilloy
I can’t install the terminal app on my frieza at the moment, but on my
arale I’m seeing the following values for those environment variables:

XDG_CURRENT_DESKTOP=Unity
DESKTOP_SESSION=ubuntu-touch
XDG_SESSION_TYPE=mir
GDMSESSION=ubuntu-touch
XDG_SESSION_DESKTOP=ubuntu-touch

Given those values, base::nix::DesktopEnvironment
GetDesktopEnvironment() will return DESKTOP_ENVIRONMENT_UNITY, which
explains why oxide instantiates the FDO implementation of
PowerSaveBlocker.

It appears lightdm is responsible for setting XDG_CURRENT_DESKTOP, and
it sets it to the value of the "X-LightDM-DesktopName" key in
/usr/share/lightdm/sessions/ubuntu-touch.desktop.

I assume changing that value to e.g. "Unity8" would have lots of
undesirable side effects, so we probably need to patch oxide to be
cleverer at guessing the desktop environment.

** Changed in: oxide
Milestone: None => branch-1.20

** Also affects: oxide/1.19
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1647895

Title:
  Tablet suspends while playing video or audio in browser

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1647895/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1647895] Re: Tablet suspends while playing video or audio in browser

2016-12-07 Thread Olivier Tilloy
I’m seeing this in /var/log/syslog when starting the playback of a
youtube video in the browser:

Dec  7 09:51:10 ubuntu-phablet dbus[2791]: apparmor="DENIED"
operation="dbus_method_call"  bus="session"
path="/org/freedesktop/ScreenSaver"
interface="org.freedesktop.ScreenSaver" member="Inhibit" mask="send"
name="org.freedesktop.ScreenSaver" pid=4647 label="webbrowser-app"
peer_pid=3088 peer_label="unconfined"


It looks like oxide is using the wrong PowerSaveBlocker implementation. The 
corresponding code is 
https://git.launchpad.net/oxide/tree/shared/browser/device/power_save_blocker_linux.cc#n34.

** Also affects: oxide
   Importance: Undecided
   Status: New

** Also affects: oxide/1.18
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1647895

Title:
  Tablet suspends while playing video or audio in browser

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1647895/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1647895] Re: Tablet suspends while playing video or audio in browser

2016-12-07 Thread Alexandros Frantzis
Thanks for reporting. Please attach /var/log/syslog and
/var/log/repowerd.log from an affected device, as these will help us
debug the issue.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1647895

Title:
  Tablet suspends while playing video or audio in browser

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1647895/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1647895] Re: Tablet suspends while playing video or audio in browser

2016-12-06 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: repowerd (Ubuntu)
   Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1647895

Title:
  Tablet suspends while playing video or audio in browser

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1647895/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs