Screen locks in unity8 desktop session while playing a video

Bug #1662987 reported by Víctor R. Ruiz
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Canonical System Image
New
Undecided
Unassigned
Oxide
Confirmed
High
Unassigned

Bug Description

Test case.
- Open webbrowser-app.
- Go to http://www.youtube.com/
- Play a video.
- Wait a couple of minutes.

Expected result.
- Screen shouldn't lock.

Actual result.
- Screen is locked.

Tested in Xenial+Overlay

liboxideqt-qmlplugin: 1.19.7 / 1.20.4.

Víctor R. Ruiz (vrruiz)
summary: - Screens lock in unity8 desktop session while playing a video
+ Screen locks in unity8 desktop session while playing a video
Revision history for this message
Victor gonzalez (victor-gonzalez-0) wrote :

I confirm this happens to me in zesty too, I set different lock times but it always locks screen and music keeps playing with the screen off

Revision history for this message
Olivier Tilloy (osomon) wrote :

Confirmed. And as a matter of fact, it fails to inhibit screen blanking on unity7 too:

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=20481 label="webbrowser-app" peer_pid=19841 peer_label="unconfined"

It appears that on unity8 oxide also tries to call the org.freedesktop.ScreenSaver interface, instead of com.canonical.Unity.Screen. The logic to choose which interface to poke (https://git.launchpad.net/oxide/tree/shared/browser/device/power_save_blocker_linux.cc#n42) seems correct. I verified that XDG_SESSION_TYPE=="mir" in a unity8 session.

Changed in oxide:
status: New → Confirmed
importance: Undecided → High
tags: added: next-candidates
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.