Merge lp://staging/~verzegnassi-stefano/ubuntu-docviewer-app/pdf-presentation-disable-screen-saver into lp://staging/ubuntu-docviewer-app

Proposed by Stefano Verzegnassi
Status: Merged
Approved by: Alan Pope 🍺🐧🐱 πŸ¦„
Approved revision: 282
Merged at revision: 298
Proposed branch: lp://staging/~verzegnassi-stefano/ubuntu-docviewer-app/pdf-presentation-disable-screen-saver
Merge into: lp://staging/ubuntu-docviewer-app
Diff against target: 37 lines (+8/-1)
2 files modified
click/docviewer.apparmor (+2/-1)
src/app/qml/ubuntu-docviewer-app.qml (+6/-0)
To merge this branch: bzr merge lp://staging/~verzegnassi-stefano/ubuntu-docviewer-app/pdf-presentation-disable-screen-saver
Reviewer Review Type Date Requested Status
Alan Pope 🍺🐧🐱 πŸ¦„ (community) Approve
Jenkins Bot continuous-integration Approve
Review via email: mp+283717@code.staging.launchpad.net

Commit message

[PdfPresentation] Disable screen saver during a presentation

Description of the change

[PdfPresentation] Disable screen saver during a presentation

To post a comment you must log in.
Revision history for this message
Jenkins Bot (ubuntu-core-apps-jenkins-bot) wrote :
review: Approve (continuous-integration)
Revision history for this message
Alan Pope 🍺🐧🐱 πŸ¦„ (popey) wrote :

Tested this with a PDF in presentation mode on my bq running rc-proposed image and the screen still blanks.

review: Needs Fixing
Revision history for this message
Stefano Verzegnassi (verzegnassi-stefano) wrote :

I'm not really surprised by this.
When I tried to test it on my BQ (still rc-proposed) I've got exactly the opposite result. Even if I've set my phone to turn off the screen after a minute, it keeps staying on with any app.

I will give a further look tomorrow. In the meantime, thank you for the huge testing on my branches.

Revision history for this message
Stefano Verzegnassi (verzegnassi-stefano) wrote :

Ok, I found some time for working on this.
I forgot to commit the AppArmor permission for keeping the screen on (as always the problem exists between the chair and the keyboard :D)

However, it keeps on turning the screen off...

279. By Stefano Verzegnassi

Added keep-display-on policy

280. By Stefano Verzegnassi

Re-enable screen saver when the app is not focused

281. By Stefano Verzegnassi

Handle screen saver from the main qml file

282. By Stefano Verzegnassi

sync trunk

Revision history for this message
Jenkins Bot (ubuntu-core-apps-jenkins-bot) wrote :
review: Approve (continuous-integration)
Revision history for this message
Stefano Verzegnassi (verzegnassi-stefano) wrote :

@Alan: Now it should be okay. I've checked with a stopwatch and the screen saver is properly disabled.

Revision history for this message
Alan Pope 🍺🐧🐱 πŸ¦„ (popey) wrote :

Ok, re-tested!

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches