I'm running Fedora 27 with KDE 5, often use google-chrome, slack, qt creator and occasionally VirtualBox.
I've been running into some odd cases where my clipboards simply stop working. Often it seems to just get stuck and only remember one thing, i.e. it's as though copy is broken but paste still works. Edit -> Copy behaves the same as Ctrl-C in all apps and the alternate clipboard, select to copy/middle click paste, often breaks at the same time. This happens for all the above apps, except rather strangely I can still copy from google-chrome. Piping to
xclip will also work. I once tried restarting plasmashell and my clipboard was reverted to something I copied from slack a day ago.
My real question is how do I go about debugging such failures?