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 2013-12-26 12:51:03 +0200

"Active" covers? Interact with the app straight through its cover

I vaguely remember that it was said in some of the Jolla teasers that the "covers" (or "minimized apps") are active and you can interact with the app straight from there, without first opening the app itself. Indeed there are icons on the covers suggesting this would be the intention, but the only action I was able to do is to open the app, nothing else. Then I came across a presentation by joona.petrell@jolla.com: _Building beautiful applications in Sailfish OS_ where it has a code snipplet for the "Phone" cover:

CoverActionList {
  CoverAction {
    iconSource: "icondialer.png"
    onTriggered: dialer.open()
  }
  CoverAction {
    iconSource: "iconpeople.png"
    onTriggered: openContactPicker()
  }
}

And indeed the icons are there, when you "minimise" the Phone app. This also suggests that those icons on the cover _should_ be active. What's the trick? How to enable the "interact with the covers" feature?

"Active" covers? Interact with the app straight through its cover

I vaguely remember that it was said in some of the Jolla teasers that the "covers" (or "minimized apps") are active and you can interact with the app straight from there, without first opening the app itself. Indeed there are icons on the covers suggesting this would be the intention, but the only action I was able to do is to open the app, nothing else. Then I came across a presentation by joona.petrell@jolla.com: _Building beautiful applications in Sailfish OS_ where it has a code snipplet for the "Phone" cover:

CoverActionList {
  CoverAction {
    iconSource: "icondialer.png"
    onTriggered: dialer.open()
  }
  CoverAction {
    iconSource: "iconpeople.png"
    onTriggered: openContactPicker()
  }
}

And indeed the icons are there, when you "minimise" the Phone app. This also suggests that those icons on the cover _should_ be active. What's the trick? How to enable the "interact with the covers" feature?