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? I'm guessing this is old news for most; I just haven't tried to use it before now :) My idea was to make an app like the Plasma Klipper app, which I use all the time: https://docs.kde.org/stable5/en/kde-workspace/klipper/index.html -- Med venlig hilsen / Best regards Thomas Tanghus A: Because it breaks the logical sequence of discussion Q: Why is top posting bad?
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org