Chromium Browsers incorrectly handling dropped files from Nautilus

descriptionStandard

For a while now I’ve had a strange issue where files such as images when dragged from the Nautilus file manager to the browser. The event doesn’t appear to handle the file correctly. This issue seemingly impacts every instance of file upload that support drag and drop that I’ve encountered.

I’ve not tested this on everything; this impacts my laptop running Fedora Linux 40 (Workstation Edition).

Working on a custom project that is also using file upload with drag and drop support; I can see that the dragstart event triggers but the file object is not handled.

It appears that changing the “Preferred Ozone platform” from “auto” to “Wayland” specifically fixed the issue in my instance: chrome://flags/#ozone-platform-hint

Leave a Reply

I'm pleased you have chosen to leave a comment and engage in a meaningful conversation. Please keep in mind that comments are moderated according to our privacy policy, links are set to nofollow.

Your email address will not be published. Required fields are marked *