[Interest] "QXcbClipboard::setMimeData: Cannot set X11 selection owner"
Thiago Macieira
thiago.macieira at intel.com
Fri Jun 15 15:25:32 CEST 2018
On Friday, 15 June 2018 02:20:20 PDT René J. V. Bertin wrote:
> Thiago Macieira wrote:
> >> Yeah, DOH :) I don't have the GTk sources on my system currently but it's
> >> likely that somewhere there will be a call to xcb_set_selection_owner()
> >> in
> >> there too, no? That's where the error message I see comes from: the call
> >> fails (doesn't have the expected effect).
> >
> > Yes, it's likely. That doesn't mean GTK prints something as a result of
> > that.
> What exactly is the purpose of using the XCB selection owner functionality?
To implement the clipboard and primary selection.
> Something like "clear the clipboard when the application exits"?
That's a side-effect. The purpose is to implement the clipboard in the first
place.
> I'd probably prefer not using selection ownership over the risk of no longer
> being able to copy things to the clipboard. Or would a reset as performed
> by QXcbClipboard::handleXFixesSelectionRequest() help here?
There's nothing to be changed, unless you want to disable clipboard support
completely.
--
Thiago Macieira - thiago.macieira (AT) intel.com
Software Architect - Intel Open Source Technology Center
More information about the Interest
mailing list