Modify

Opened 10 months ago

Last modified 25 hours ago

#13044 new defect

Image on clipboard cannot be pasted on Trac 1.2

Reported by: Jun Omae Owned by: Jun Omae
Priority: normal Component: TracDragDropPlugin
Severity: normal Keywords:
Cc: trac-hacks.org@… Trac Release: 1.2

Description

The feature works fine on Trac 1.0 but doesn't on Trac 1.2 (at least, with Firefox).

Attachments (0)

Change History (7)

comment:1 Changed 8 months ago by anonymous

I can confirm that it does not work with Firefox. Works fine with Chrome. I am using the latest plugin version from https://trac-hacks.org/svn/tracdragdropplugin/0.12

comment:2 Changed 8 months ago by Robert Becker

Cc: trac-hacks.org@… added

comment:3 Changed 8 months ago by Alexey

Confirm bug in Firefox and Trac 1.2

comment:4 in reply to:  3 Changed 8 months ago by Jun Omae

Replying to Alexey:

Confirm bug in Firefox and Trac 1.2

I know.

comment:5 Changed 8 months ago by anonymous

Do you need help fixing this?

comment:6 Changed 8 months ago by Robert Becker

Last comment was by me, did not noticed being logged out.

comment:7 Changed 25 hours ago by Robert Becker

Sadly even with Quantum the issue still exists. I noticed that for the paste event to fire, Firefox needs some kind of focus. As a proof of concept, injecting an input field in the paste container div makes FF fire the event properly: https://www.dropbox.com/s/a9iyk85oyie4sn9/Screenshot%202017-11-20%2018.03.57.png?dl=0

So maybe replacing the "Paste an image to attach" with an input is the easiest fix for this problem.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain Jun Omae.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.