pawelrojek / mantisbt-pastezone

Paste screenshots, pictures or files from clipboard directly into 'Issue Details' form
GNU General Public License v3.0
8 stars 2 forks source link

double picture #4

Open ibyssorucevap opened 4 years ago

ibyssorucevap commented 4 years ago

Hello, updated mantisbt to 2.22.1 but this plugin acts strange, when I paste picture, double, two picture occurs Can you help me?

image

I've had this problem in chrome 78.0.3904.108 version. firefox browser is normal there is no problem on the other browsers

rhinobomb commented 4 years ago

I have seen this behavior as well. It's because mantis now supports pasting to dropzone without needing a plugin. I don't love the way they set it up, but if you ctrl-v in the 'note' section it will populate in dropzone. There's no right-click paste like you get with pastezone. I've been working on editing pastezone. It's really not necessary for firefox or chrome but I'm working on adding ie11 compatibility (it's a work/legacy thing, don't ask). So I still have pastezone's 'paste here' section but when in chrome or firefox it doesn't do anything. Specifically, pastezone doesn't do anything, mantis still picks up the paste event and adds the file to dropzone.

I hope my rambling has been of some help.