xpra icon
Bug tracker and wiki

Opened 7 days ago

#1689 new defect

firefox does not emit clipboard events

Reported by: Antoine Martin Owned by: Antoine Martin
Priority: major Milestone: 3.0
Component: html5 Version: trunk
Keywords: Cc:

Description

Splitting this from ticket:1461#comment:15.
Reproducible with Firefox on any platform.

This sounds like Capturing a Paste Event in Firefox: The paste event has been supported in major browsers for some time now, but interestingly Firefox doesn’t trigger the event unless the user’s cursor is currently focussed in an editable region.

Unfortunately, the Firefox bug is meant to have been fixed already and sprinkling contenteditable=true in every div doesn't make any difference. Neither does listening for clipboard events on all contenteditable elements as suggested here: https://stackoverflow.com/a/19269040/428751.
More answers here: JavaScript get clipboard data on paste event (Cross browser)

Attachments (1)

test.html (7.7 KB) - added by Antoine Martin 7 days ago.
page similar to the client, clipboard works here…

Download all attachments as: .zip

Change History (1)

Changed 7 days ago by Antoine Martin

Attachment: test.html added

page similar to the client, clipboard works here...

Note: See TracTickets for help on using tickets.