Closed Bug 1435254 Opened 6 years ago Closed 6 years ago

[Wayland] copy large data to clipboard does not work

Categories

(Core :: Widget: Gtk, defect, P2)

defect

Tracking

()

RESOLVED FIXED
Tracking Status
firefox60 --- affected

People

(Reporter: stransky, Assigned: stransky)

References

(Blocks 1 open bug, )

Details

Attachments

(1 file)

Reproduction steps:

1) google for images, choose any picture
2) copy the picture to clipboard (right mouse click, copy image...)
3) try to paste at Gimp

Result:
Gimp says there's no image at clipboard
I see "broken pipe" Gtk+ warning when data are copied to the clipboard. May be also cause of Bug 1438136.
Assignee: nobody → stransky
It affects any large data copied to clipboard, it's reproducible also with text for instance. 

Also affects primary selection (and not only clipboard):

[3029989.565] gtk_primary_selection_device@18.data_offer(new id gtk_primary_selection_offer@182061904)
[3029989.580] gtk_primary_selection_offer@4278190080.offer("text/html")
[3029989.608] gtk_primary_selection_offer@4278190080.offer("text/_moz_htmlcontext")
[3029989.614] gtk_primary_selection_offer@4278190080.offer("text/_moz_htmlinfo")
[3029989.622] gtk_primary_selection_offer@4278190080.offer("UTF8_STRING")
[3029989.632] gtk_primary_selection_offer@4278190080.offer("COMPOUND_TEXT")
[3029989.659] gtk_primary_selection_offer@4278190080.offer("TEXT")
[3029989.680] gtk_primary_selection_offer@4278190080.offer("STRING")
[3029989.685] gtk_primary_selection_offer@4278190080.offer("text/x-moz-url-priv")
[3029989.708] gtk_primary_selection_device@18.selection(gtk_primary_selection_offer@4278190080)
[3029989.732]  -> gtk_primary_selection_offer@4278190082.destroy()
[3029989.788] gtk_primary_selection_source@65.send("UTF8_STRING", fd 98)

(firefox:7994): Gdk-WARNING **: Error writing selection data: Error writing to file descriptor: Broken pipe
Summary: [Wayland] copy images to clipboard does not work → [Wayland] copy large data to clipboard does not work
It's a general Gtk+ issue, filed as https://gitlab.gnome.org/GNOME/gtk/issues/66
Attached file test5.c
testcase
Gkt+ issue fixed by upstream, closing now.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.