peclik/clipboard_image_paste

CTRL+V doesnt work anymore un firefox 63

Closed this issue · 10 comments

mdz0r commented

47553653-e7196600-d907-11e8-8bf7-7ca2e546da61
Hello,
The plugin doesnt work anymore in firefox 63.
Please see attached screenshot!

@mdz0r I am experiencing the same error message TypeError: pasteCatcher is undefined. But it is definitely not an error in Firefox 63 as I can paste in one Redmine instance but not the other.

Working redmine instance:

Environment:
  Redmine version                3.4.4.stable.17194
  Ruby version                   2.4.1-p111 (2017-03-22) [x86_64-linux]
  Rails version                  4.2.8
  Environment                    production
  Database adapter               Mysql2
  HTTP/S?                        HTTP

Not working in this redmine instance:

Environment:
  Redmine version                3.4.6.stable.17598
  Ruby version                   2.5.1-p57 (2018-03-29) [x86_64-linux]
  Rails version                  4.2.10
  Environment                    production
  Database adapter               Mysql2
  HTTP/S?                        HTTPS

Plugins are identical in the two instances. I have not yet had time to dig further into the issue.

mdz0r commented

I guess it's related to Firefox63 because it was working with FF62 on the same redmine instance.
Chrome 70 is working fine too.

Yes, you’re right. I didn’t bother to try, but Chromium 70.0.3538.67 (64-Bit) is working fine.

Possible duplicate of #69

There might be a fix already in #78.

iquiw commented

Plugins are identical in the two instances. I have not yet had time to dig further into the issue.

@ilpssun I think the difference is whether HTTP or HTTPS. window.Clipboard is defined only with HTTPS (I don't know why), which causes this issue.

mdz0r commented

https for me here

mdz0r commented

There might be a fix already in #78.

Working for me, thanks!

I got around to testing #78 as well and it has fixed the issue for me, too.

Thanks to all for reporting and testing.