[Interest] "QXcbClipboard::setMimeData: Cannot set X11 selection owner"

Thiago Macieira thiago.macieira at intel.com
Wed Mar 7 19:53:23 CET 2018


On Wednesday, 7 March 2018 07:36:43 PST René J. V. Bertin wrote:
> Thiago Macieira wrote:
> > Obviously no GTK application is going to print something about
> > "QXcbClipboard".
> 
> 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.

> > Can you see any other symptom besides the warning?
> 
> Sadly, yes. Copying to the clipboard no longer works in affected
> applications. Instead I get that error message.

And this symptom doesn't happen with GTK?

> Fortunately this doesn't happen often, but that's also annoying for
> debugging. I'm now dumping the immediately relevant variables when the
> error does occur, and also use xcb_set_selection_owner_checked() and
> xcb_request_check() in hope that will tell us what really goes wrong.


-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center






More information about the Interest mailing list