Roundup Tracker - Issues

Issue 2550824

Title: Allow include image from clipboard to comment
Type: rfe Severity: minor
Components: Interface Versions:
Status: new Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: ThomasAH, ber, jan.tylich, rouilj
Priority: Keywords:

Created on 2013-11-27 08:08 by jan.tylich, last changed 2016-07-09 21:03 by rouilj.

msg4955 Author: [hidden] (jan.tylich) Date: 2013-11-27 08:08
I'd like include image from system clipboard to comment field. I don't 
want open some image editor, create new image, paste clipboard, save image 
and after that upload it as file.

If it is possible do it at least as import image from clipboard to 
uploaded file with some generated name it will be also great.
msg4956 Author: [hidden] (ThomasAH) Date: 2013-11-27 08:22
Do you know code for this that works on recent Firefox, too?
A quick search only showed solutions up to Firefox 12 or for Chrome.
msg4957 Author: [hidden] (jan.tylich) Date: 2013-11-27 08:35
Yes, I also find this discussion:

There is some suggestions in javascript this sound for me promising.
Q:"With HTML 5 features(File Api and the related) - accessing clipboard 
image data is now possible with plain javascript."

But I have no mutch expirience with JS.
msg4958 Author: [hidden] (ber) Date: 2013-11-28 08:45
Hi Jan
msg4959 Author: [hidden] (ber) Date: 2013-11-28 08:56
(Sorry for the previous message, it was shortned).
Just wanted to say thanks for the suggestion.
msg4960 Author: [hidden] (rouilj) Date: 2013-12-01 05:05
In message
Jan Tylich writes:
>If it is possible do it at least as import image from clipboard to 
>uploaded file with some generated name it will be also great.

Maybe this will give somebody an idea. 

This works only for chrome and uses jquery or angularjs
frameworks. Also it does a direct upload to a url as opposed to
posting an entire form from roundup.

From my reading, firefox may have the underlying support needed to
conde something. Earlier I.E. versions may require flash, active X,
java applet to do this sort of thing.


has some idea that may be useful as well. It tkes the data as a base64
encoded string and pushes it into the form. So we would need something
to catch the data in roundup and turn it into a real attachment.

Date User Action Args
2016-07-09 21:03:01rouiljsettype: behavior -> rfe
2013-12-01 05:05:11rouiljsetnosy: + rouilj
messages: + msg4960
2013-11-28 08:56:36bersetmessages: + msg4959
2013-11-28 08:45:37bersetnosy: + ber
messages: + msg4958
2013-11-27 08:35:39jan.tylichsetmessages: + msg4957
2013-11-27 08:22:57ThomasAHsetnosy: + ThomasAH
messages: + msg4956
2013-11-27 08:08:31jan.tylichcreate