[SailfishDevel] Prompt from daemon
Adam Pigg
adam at piggz.co.uk
Thu Mar 1 19:05:40 UTC 2018
Sounds ideal. Atm its working ok with just clicking a notification, but
this sounds like a good future rework.
On Thu, 1 Mar 2018 at 00:59 Chris Adams <chris.adams at jolla.com> wrote:
> Hi,
>
> It's not in devel yet, and the API will likely change a bit between now
> and when we consider it stable/supported API, but see
> https://github.com/sailfishos/sailfish-secrets/pull/22 for WIP generic
> interaction request, mediated by the system. The primary use-case is
> passphrase input, but the intention is to allow different input types (e.g.
> confirmation vs PIN vs passphrase vs ...) eventually.
>
> Best regards,
> Chris.
>
> ------------------------------
> *From:* Devel [devel-bounces at lists.sailfishos.org] on behalf of Adam Pigg
> [adam at piggz.co.uk]
> *Sent:* Friday, February 23, 2018 8:15 PM
> *To:* Sailfish OS Developers
> *Subject:* [SailfishDevel] Prompt from daemon
>
> Hi
>
> Im looking for options to get a yes/no prompt from a daemon process,
> something like the BT pair popup ideally.
>
> So far, the only option i can think of is to use nemo notifications.
> After much trying, I finally managed to get a preview popup, and guess I
> should be able to change that to a timeout popup. The only problem is that
> there can only be a single reply, so i'll have to have a click as a yes,
> and otherwise assume no. It would be good if lipstick could support the
> desktop notification standard more fully with additional replies, as this
> is hinted at in the example docs (2 reply actions) but with a note
> underneath that lipstick only supports the 'default' reply.
>
> Another way, which im not sure is possible is to somehow invoke the system
> BT popup, is that possible?
>
> Then, there is how calendar notifications work, they have swipe up/down,
> how are they invoked?
>
> Finally, I could have a helper app invoked by the popup, but I think i'd
> rather go with a timeout in that case.
>
> Any other options?
>
> Adam
> _______________________________________________
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to
> devel-unsubscribe at lists.sailfishos.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.sailfishos.org/pipermail/devel/attachments/20180301/39fe5b50/attachment.html>
More information about the Devel
mailing list