Skip to content

"only one file allowed" on Linux + Firefox/Chrome #36

Open
@janjan

Description

@janjan

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

KDE Plasma in Wayland does not support Drag and Drop operations from Dolphin to Chromium (and Firefox).

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)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions