← Back to team overview

ubuntu-webapps-bugs team mailing list archive

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

 

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
WebApps bug tracking, which is subscribed to Oxide.
https://bugs.launchpad.net/bugs/1647895

Title:
  Tablet suspends while playing video or audio in browser

Status in Canonical System Image:
  New
Status in Oxide:
  New
Status in Oxide 1.18 series:
  New
Status in Oxide 1.19 series:
  New
Status in repowerd package in Ubuntu:
  Confirmed

Bug description:
  In frieza build 246 (20161206) the tablet will suspend while video or
  audio is playing in the browser. This did not happen in releases a few
  days ago.

  Steps to reproduce
  1) Set lock when idle to 1 minute
  2) Play a youtube video
  3) Tablet suspends after 1 minute, stopping the playback.

  Expected result
  The idle timer should not start until playback has finish

  Also see Bug #1602739

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