-
-
Notifications
You must be signed in to change notification settings - Fork 27
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
"only one file allowed" on Linux + Firefox/Chrome #36
Comments
@janjan thank you for your positive feedback about this tool and your help on working around this issue. |
Hi, I just checked you code and I think it might be better to put the alert box with the new message like this:
if you leave it right at the start of the onDragEvents function it will be triggered several times if the user is dragging files and then they will see several alert boxes |
@janjan sure, I can updated to be as you suggested, but I give you some time if you'd like to PR this repo, that way you'd be a contributor ;) |
Hi, thanks for your awesome tool!
After upgrading my PC you tool refused to accept pngs and svgs via drag'n'drop in Firefox and Chrome on Linux + KDE Plasma 6!
After a lot of head scratching and debugging I figured out that this problem is unrelated to your tool and that the real problems stems from the fact that my Linux switched from using X11 to Wayland. If you search for "Wayland firefox" you come across bugreports like this:
https://bugs.kde.org/show_bug.cgi?id=484018
So there is basically nothing you can do on your side to fix it but I still decided to create this issue so that other people might find this report
(well, you could actually improve the error message by adding some additional code in onDragEvents() in /src/voronoi_app.js you can check if event.dataTransfer exist. If it is missing then there is a problem with the drag'n'drop functionality of your browser and you can alert with a better error message. But i am not sure if it is worth the trouble because hopefully this issue will be fixed in the next few weeks/months)
The text was updated successfully, but these errors were encountered: