[nonblockswap] video playing a bit after screen off and after unlock

Bug #1308735 reported by kevin gunn
20
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Mir
Invalid
Undecided
Unassigned
qtubuntu-media
New
High
Jim Hodapp
qtubuntu (Ubuntu)
Confirmed
Undecided
Gerry Boland

Bug Description

silo 3 non-block swap mir for Qt5.2 testing

1) navigate to video, play a sample
2) strike power key, screen off - > you'll experience audio(video) continuing to play
3) strike power key, screen on
4) reveal launcher, select ubuntu(BFB), dash should be revealed -> you'll experience a second or 2 of audio(video) playing, then stop

ideally, on 2 the video should pause immediately
on 4, the video should not play

Tags: nonblockswap
kevin gunn (kgunn72)
no longer affects: unity-mir
Gerry Boland (gerboland)
Changed in qtubuntu:
assignee: nobody → Gerry Boland (gerboland)
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Incomplete for Mir. Either you want the compositor to block video on sleep (blocking SwapBuffers) or you need to implement pause/resume yourself in the shell/app/platform.

As far as Mir goes, this is the kind of behaviour Unity8 requested, unfortunately.

Changed in mir:
status: New → Incomplete
Gerry Boland (gerboland)
Changed in qtubuntu:
status: New → Confirmed
Revision history for this message
Gerry Boland (gerboland) wrote :

We're using the side-channel to ask apps to stop/start their rendering, and other tasks that are unnecessary while not visible. The qtubuntu change I made tells the render loop to stop, but the app needs to decide for itself how if it wants to stop/start anything else.

I need fix qtubuntu to correctly set the value of the Qt.application.state property:
http://qt-project.org/doc/qt-5/qml-qtqml-qt.html#application-prop
and then have applications listen to that.

kevin gunn (kgunn72)
Changed in mir:
status: Incomplete → Invalid
Revision history for this message
kevin gunn (kgunn72) wrote :

after speaking to ChickenCutlass on IRC sounds like this will actually get corrected through the media hub listening for broadcast of Unity.Screen DisplayPowerStateChange in order to take action immediately

Jim Hodapp (jhodapp)
Changed in qtubuntu-media:
importance: Undecided → High
assignee: nobody → Jim Hodapp (jhodapp)
Michał Sawicz (saviq)
affects: qtubuntu → qtubuntu (Ubuntu)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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