We have moved to a new Sailfish OS Forum. Please start new discussions there.

Revision history [back]

click to hide/show revision 1
initial version

posted 2014-08-10 12:30:37 +0300

New Cover.Status needed: Peeking

The current Cover statuses are Inactive, Activating, Active, Deactivating. I'm using timers in my cover and I'd like to disable them when the cover isn't shown, but enable them when the cover is visible (running apps grid visible or user is peeking). Now I have only two options:

  • run the timers constantly, which drains the battery
  • run them only when cover.status = Active, which makes the information wrong when user is peeking

https://sailfishos.org/sailfish-silica/qml-sailfishsilica-cover.html

New Cover.Status needed: Peeking

The current Cover statuses are Inactive, Activating, Active, Deactivating. I'm using timers in my cover and I'd like to disable them when the cover isn't shown, but enable them when the cover is visible (running apps grid visible or user is peeking). Now I have only two options:

  • run the timers constantly, which drains the battery
  • run them only when cover.status = Active, which makes the information wrong when user is peeking

https://sailfishos.org/sailfish-silica/qml-sailfishsilica-cover.html