We have moved to a new Sailfish OS Forum. Please start new discussions there.
![]() | 1 | initial version | posted 2015-01-10 17:17:19 +0200 |
Sometimes i would like to copy the notification body text (specially from push notifications), but there is no way to do it.
Anyone else?
One possible implementation, maybe i should make a patch out of it...
/usr/share/lipstick-jolla-home-qt5/notifications/NotificationListView.qml :
text: qsTrId("lipstick-la-remove")
onClicked: remove()
}
+ MenuItem {
+ text: "Copy"
+ onClicked: Clipboard.text = modelData.body
+ }
}
}
}
results
![]() | 2 | No.2 Revision |
Sometimes i would like to copy the notification body text (specially from push notifications), but there is no way to do it.
Anyone else?
One possible implementation, maybe i should make a patch out of it...
Not recommended...
This change causes maliit to crash when copying is done. maliit-server: unhandled page fault (11) at 0x00000040, code 0x017
/usr/share/lipstick-jolla-home-qt5/notifications/NotificationListView.qml :
text: qsTrId("lipstick-la-remove")
onClicked: remove()
}
+ MenuItem {
+ text: "Copy"
+ onClicked: Clipboard.text = modelData.body
+ }
}
}
}
results
![]() | 3 | No.3 Revision |
Sometimes i would like to copy the notification body text (specially from push notifications), but there is no way to do it.
Anyone else?
One possible implementation, maybe i should make a patch out of it...
Not recommended...
This change causes maliit to crash when copying is done. maliit-server: unhandled page fault (11) at 0x00000040, code 0x017
/usr/share/lipstick-jolla-home-qt5/notifications/NotificationListView.qml :
text: qsTrId("lipstick-la-remove")
onClicked: remove()
}
+ MenuItem {
+ text: "Copy"
+ onClicked: Clipboard.text = modelData.body
+ }
}
}
}
results