Closed Bug 1491824 Opened 7 years ago Closed 7 years ago

[Wayland/Clipboard] Clipboard minor fixes

Categories

(Core :: Widget: Gtk, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla64
Tracking Status
firefox64 --- fixed

People

(Reporter: stransky, Assigned: stransky)

References

(Blocks 1 open bug)

Details

Attachments

(1 file, 1 obsolete file)

There are some minor wayland clipboard issues: when g_io_channel_set_encoding() fails we return invalid/uninitialized clipboardData. SetClipboardDataOffer() with null aWaylandDataOffer means we should delete our recent clipboard content and not throw an error message.
when g_io_channel_set_encoding() fails we return invalid/uninitialized clipboardData, so initialize clipboardData explicitly. When SetClipboardDataOffer() is called with null aWaylandDataOffer, delete our recent clipboard content and not throw an error message.
Comment on attachment 9009619 [details] Bug 1491824 - [Wayland/Clipboard] Clipboard minor fixes, r=jhorak Jan Horak [:jhorak] has approved the revision.
Attachment #9009619 - Flags: review+
Attachment #9009629 - Attachment is obsolete: true
Pushed by nerli@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/3112727237aa [Wayland/Clipboard] Clipboard minor fixes, r=jhorak
Keywords: checkin-needed
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla64
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: