GNOME Bugzilla – Bug 752741
evince doesn't handle X11 selection properly with multiple displays
Last modified: 2015-07-23 17:25:15 UTC
On a multi-head setup with a single X server and multiple X11 $DISPLAYs (not a single $DISPLAY spread across multiple physical monitors), text selected in evince is only available on the same display where evince is running. Running 'xclip -o' on the same display where evince is running works as expected, but running 'xclip -o' on other displays produces nothing. None of the other apps I've tried have a problem with select/paste across multiple displays like evince does. You can select text in acroread, xemacs, any number of terminal programs, firefox, chrome, libreoffice, and even remote Windows desktop sessions and then paste it on a different display.
You're confusing screens and displays here. But it is true, selection handling across multiple screens does not currenlty work in GTK+.
Is this problem new in gtk3, or has it always been like that? I've run a lot of gtk apps (and written several) over the years, and I'm surprised this is the first time I've noticed it. Is there a bug open for this in gtk? [For 30+ years I always assumed that in X11 the environment variable DISPLAY was used to specify a display. Apparently DISPLAY specifies a screen, and the word "display" refers to the next layer up. That's a bit counter-intuitive. Someting counter-intuitive in X11. I'm shocked... shocked, I tell ya.]
Matthias: Shall we move this bug to GTK+?
*** This bug has been marked as a duplicate of bug 721398 ***