On Wed, 2019-12-11 at 12:53 +0100, Thomas Tanghus wrote: > On Tuesday, 10 December 2019 21.54 Thomas Tanghus wrote: > > I was playing a bit with the Clipboard module, just to see how it > > works, > > > > So: How can it be that it's triggered by Sailfish Connect and not > > any > > other apps? > > Answering myself: The onTextChanged is only triggered when the app is > in the > foreground, which in itself makes it impossible on a phone. Sailfish > Connect > listens for network packages and injects into the clipboard, but the > event > is only triggered when the app is in the foreground. > > So basically the only way to monitor the clipboard is to poll it > regularly?
Wayland offers clipboard content only to active windows / apps, so not sure how feasible your intention is. _______________________________________________ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org