Closed Bug 1271362 Opened 9 years ago Closed 9 years ago

X clipboard does not work with dual screen setup

Categories

(Core :: Widget: Gtk, defect)

46 Branch
All
Linux
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: tomi.leppikangas, Unassigned)

References

Details

After 46.0.1 update X copy/paste from firefox to xterm does not work. Copy/paste works if firefox and xterm are in same X screen, but when xterm is in separate screen, paste does not work. I think this is caused by switching to gtk3, Bug 1186003 I tryed to run with GDK_DEBUG=events, i can see debug message when trying to paste to xterm, but nothing is pasted: Gdk-Message: selection request: window: 39845943 My setup: Dual monitros with separate X screens xterm on :0.0 and firefox on :0.1 Commands to start test setup: xterm -display :0.1 -e "~/firefox/firefox"& xterm& dpyinfo: name of display: :0 version number: 11.0 vendor string: Fedora Project vendor release number: 11704000 ......... default screen number: 0 number of screens: 2 screen #0: dimensions: 1920x1080 pixels (483x272 millimeters) resolution: 101x101 dots per inch depths (7): 24, 1, 4, 8, 15, 16, 32 root window id: 0x4f5 ..... screen #1: dimensions: 1024x1280 pixels (305x391 millimeters) resolution: 85x83 dots per inch depths (7): 24, 1, 4, 8, 15, 16, 32 root window id: 0x4f7 ......
Component: General → Widget: Gtk
Product: Firefox → Core
Summary: x clipboard does not work with dual screen setup → X clipboard does not work with dual screen setup
Blocks: gtk3
Can you try with the gtk3-widget-factory program, please? That may be in a gtk-3-examples package. That would indicate whether this is a bug in GTK or may be in the way Gecko is using it.
I tested gtk3-widget-factory. Same problem there, cannot copy text from gtk3-widget-factory to xterm when they are in different screens. Other way works ok, same with firefox. Same problem with gedit also. Gedit uses gtk3 in fedora 22. Between firefox and gedit both "PRIMARY" and "CLIPBOARD" copying works ok. So this seems to be general gtk3 problem with multiple screens.
I upgraded fc22 -> fc23 and bug goes away. So this is gtk3 bug, not mozilla bug. Marking as resolved invalid.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.