10000 HTML5 drag-drop is now working un KUbuntu · Issue #5162 · electron/electron · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

HTML5 drag-drop is now working un KUbuntu #5162

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
antelle opened this issue Apr 14, 2016 · 7 comments
Closed

HTML5 drag-drop is now working un KUbuntu #5162

antelle opened this issue Apr 14, 2016 · 7 comments

Comments

@antelle
Copy link
antelle commented Apr 14, 2016
  • Electron version: 0.37.5 x64
  • Operating system: KUbuntu: Linux 4.2.0-16-generic # 19-Ubuntu SMP Thu Oct 8 15:35:06 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

HTML drag-drop event files list is empty.
Steps:

  1. create an electron app which will open html drag-drop demo page: http://html5demos.com/file-api
  2. drop a picture from built-in file manager
    Expected: files array contains 1 dragged file
    Actual: files length is 0:
    file-api:49 Uncaught TypeError: Failed to execute 'readAsDataURL' on 'FileReader': parameter 1 is not of type 'Blob'
    This is ok on Mac, Windows and Ubuntu.
@zcbenz
Copy link
Contributor
zcbenz commented Apr 15, 2016

Does it work in Chromium browser?

@antelle
Copy link
Author
antelle commented Apr 15, 2016

yes (in Chrome), don't know about Chromium, will test today
btw, my chrome on kubuntu was rather old, I'll update it and write about the result

@zcbenz
Copy link
Contributor
zcbenz commented Apr 15, 2016

It could a regression of recent Chrome browsers. Can you try if it works in Chrome/Chromium 49? Electron shares the same code with Chromium on HTML drag-drop, so if it is a bug of Chromium we would not be able to fix it on our side.

@antelle
Copy link
Author
antelle commented Apr 15, 2016

Tested on fresh Chrome: drag-drop doesn't work as well.

@antelle
Copy link
Author
antelle commented Apr 15, 2016

Found this bug:
https://bugs.chromium.org/p/chromium/issues/detail?id=348312
So it's a regression, you're right.

@zcbenz zcbenz added bug platform/linux and removed blocked/need-info ❌ Cannot proceed without more information labels Apr 16, 2016
@zcbenz
Copy link
Contributor
zcbenz commented Apr 16, 2016

Thanks for reporting it to upstream!

7D36
@codebytere
Copy link
Member

Closing due to abandonment.

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

No branches or pull requests

4 participants
0