[Merge] lp:~nick-dedekind/qtubuntu/1493530-mimeData into lp:qtubuntu
Nick Dedekind
nick.dedekind at canonical.com
Mon Nov 9 10:11:48 UTC 2015
> When it gets a null mimeData it should also clear the global (D-Bus)
> clipboard.
I'm not so sure we should be clearing it if it's null. If a client tries to copy an item which isn't able to set mime data, we shouldn't clear the last item in the clipboard.
I believe the last valid clipboard item should persist until another valid item is set. We don't ever "empty" the clipboard as I understand. For this reason we should actually also put the change inside the if block as well.
--
https://code.launchpad.net/~nick-dedekind/qtubuntu/1493530-mimeData/+merge/272630
Your team Ubuntu Phablet Team is subscribed to branch lp:qtubuntu.
More information about the Ubuntu-reviews
mailing list