Skip to content
This repository has been archived by the owner on Dec 21, 2021. It is now read-only.

Not working on firefox and explorer #7

Open
gokaygok opened this issue May 6, 2014 · 7 comments
Open

Not working on firefox and explorer #7

gokaygok opened this issue May 6, 2014 · 7 comments

Comments

@gokaygok
Copy link

gokaygok commented May 6, 2014

it worsk on chrome but not works on firefox and IE

Environment:
Redmine version 2.5.1.stable
Ruby version 1.9.3-p545 (2014-02-24) [x86_64-linux]
Rails version 3.2.17
Environment production
Database adapter Mysql2
SCM:
Subversion 1.6.12
Mercurial 1.9.1
Git 1.7.5.4
Filesystem
Redmine plugins:
redmine_backlogs v1.0.6
redmine_dmsf 1.4.7 stable
redmine_extended_spent_time 0.0.3
redmine_image_clipboard_paste 1.0.0
redmine_spent_time 2.6.5

@DJUserkent
Copy link

For me - works on Chrome 35 fine, not on Firefox 30: (I'm on Ubuntu).
FF fails in all of 'New issue', 'add to existing issue'. 'add to Wiki'

@tornoz
Copy link
Contributor

tornoz commented Jul 22, 2014

Firefox (and IE) does not manage the clipboard in the same way, so it is not possible to do everything Webkit-based browsers can do for the moment.

I have pushed a fix that allows copy-pasting images in Firefox (and possibly IE, I have not tested) from web-browsers. It is not possible, however, to copy-paste from a local file, as Firefox only allows to get a link to the copied image, not the data like Chrome does.

@DJUserkent
Copy link

Tomoz, to be super sure we understand your comment:

I have pushed a fix that allows copy-pasting images in Firefox ...
I assume this means ' copy-pasting from clipboard of an image saved there'.

It is not possible, however, to copy-paste from a local file ...

Which is not about using the clipboard.

Shout if this understanding is wrong :<)

@tornoz
Copy link
Contributor

tornoz commented Jul 23, 2014

  • Chrome allows to copy-paste an image from your computer as it retrieve the raw data from the clipboard. This is not possible in Firefox yet.
  • Copy-pasting an image from the browser, however, is possible in Firefox if the original file can be accessed directly by an http request.

If there are some parts that remains unclear, please ask.

@DJUserkent
Copy link

is possible in Firefox if the original file can be accessed

what is the 'original file' here?

Because the whole point of this plugin, is that you don't have to start with a file of an image, you start with just a clipboard image from e.g. a screenshot.

Maybe you mean:
"Firefox does allow a less useful alternative: to take an image file that already exists (ie not from your clipboard) , and to paste that into Redmine - but only if the original file can be directly accessed by an HTTP request"

@tornoz
Copy link
Contributor

tornoz commented Jul 23, 2014

Yep, that's it. Firefox doesn't allow access to raw data in the clipboard for security reasons.
I understand that this is less interesting but that's all we can do for the moment.

@646b
Copy link

646b commented Apr 24, 2015

#23

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants