Hi,
I am trying to read the clipboard from the cover action:
import QtQuick 2.0
import Sailfish.Silica 1.0
import Nemo.Configuration 1.0
import Nemo.DBus 2.0
import org.nemomobile.lipstick 0.1
[...]
CoverActionList {
id: actionPaste
iconBackground: false
CoverAction {
iconSource: "image://theme/icon-s-clipboard"
onTriggered: {
fromCover=true
console.log( "Cover Action:" + Clipboard.text )
app.activate()
}
}
}//CoverActionList
… but the Clipboard.text is always empty/undefined.
Note that I am not using a C++ application, it’s a pure QML page started with qmlscene (should that matter). What am I doing wrong?