Bug 490366 - Drag and drop of multiple files in Firefox 128/130, only one file show up
Summary: Drag and drop of multiple files in Firefox 128/130, only one file show up
Status: RESOLVED WORKSFORME
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 22.04.2
Platform: Kubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-07-16 17:40 UTC by Sergey Monin
Modified: 2024-11-30 17:53 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey Monin 2024-07-16 17:40:45 UTC
Hello guys,

Recently, a weird bug started to appear. When I drag multiple files from Dolphin to Firefox drag and drop area, only one file appear. See for yourself --> https://jsfiddle.net/9C2EF/ It only relates to Firefox and KDE/Dolphin. I tested in Google Chrome and in GNOME everything works as it should be.

Bug appears in: Firefox 128/130/private mode. 
An array of files should appear in JS `event.dataTrasfer.files[]` (instead I see only one, last one)

Thanks
Comment 1 Felix Ernst 2024-07-18 10:45:03 UTC
We did have quite a bit of trouble with drag and drop to sandboxed applications (in Kubuntu Firefox is sandboxed because it is provided as a snap by default)  in the past. Your Dolphin 22.04 falls into the time frame in which this was an issue. There is a good chance everything would work fine with newer versions of Dolphin.
Comment 2 7nik 2024-08-31 13:03:32 UTC
I have also experienced this issue since updating to Plasma 6.

My system:
Operating System: Manjaro Linux 
KDE Plasma Version: 6.0.5
KDE Frameworks Version: 6.5.0
Qt Version: 6.7.2
Kernel Version: 6.6.46-1-MANJARO (64-bit)
Graphics Platform: X11
Processors: 20 × 12th Gen Intel® Core™ i7-12700K
Memory: 31.1 GiB of RAM
Graphics Processor: AMD Radeon RX 580 Series

Firefox: 129.0.1 (64-bit) for Manjaro; AFAIK, it isn't sandboxed.

The following apps have this issue:
Dolphin 24.05.2-1
Gwenview 24.05.2-1
kfind 24.05.2-1

From vscode 1.92.1-1, zero files are dropped, and to Dolphin - only one. But probably bug 483645 is involved here

The apps from which all the files are dropped:
pantheon-files 7.0.0-1
nautilus 46.2-2
Geeqie 2.4-1
Comment 3 David Edmundson 2024-10-25 15:59:24 UTC
Cannot reproduce using the JSFiddle. 

Please confirm if this is still an issue with Qt 6.8
Comment 4 7nik 2024-11-30 17:53:57 UTC
Got an update with Qt 6.8.0 today - the problem still persists (Dolphin 24.08.03-1 and Firefox 133.0-1).