Allow to drag multiple files to file manager
Categories
(Core :: Widget: Gtk, enhancement, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox109 | --- | fixed |
People
(Reporter: stransky, Assigned: stransky)
References
(Blocks 1 open bug)
Details
Attachments
(9 files)
39.35 KB,
patch
|
Details | Diff | Splinter Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review |
This is followup from Bug 377621. Allow to drag multiple files from attachment to file manager.
Assignee | ||
Comment 1•2 years ago
|
||
Raw all-in-one patch.
Assignee | ||
Comment 2•2 years ago
|
||
Assignee | ||
Comment 3•2 years ago
|
||
Depends on D162463
Assignee | ||
Comment 4•2 years ago
|
||
Depends on D162465
Assignee | ||
Comment 5•2 years ago
|
||
Depends on D162466
Assignee | ||
Comment 6•2 years ago
|
||
Depends on D162467
Assignee | ||
Comment 7•2 years ago
|
||
Depends on D162468
Assignee | ||
Comment 8•2 years ago
|
||
-
Remove nsDragService::CreateURIList() and replace it by nsDragService::SourceDataGetUriList().
It reads all items from nsITransferable and put them to uri list.
If data drop is performed to another application which doesn't have access to internal data storages (mailbox:// for instance),
request download and save referenced items to /tmp directory. -
Implement SourceDataAppendURLItem() which read one item from nsITransferable and append it to uri list.
Download and store internal files in /tmp directory. -
Make CreateTempFile() to block native events processing. nsIOutputStream/nsIInputStream read and write operations run
event loop and can abort D&D operation before we write all data to /tmp. Use nsAppShell to block native event processing
during read/write to prevent it.
Depends on D162469
Assignee | ||
Comment 9•2 years ago
|
||
Depends on D162473
Comment 10•2 years ago
|
||
Comment 11•2 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/5db4ba59d636
https://hg.mozilla.org/mozilla-central/rev/9ba70bea65b3
https://hg.mozilla.org/mozilla-central/rev/e2332b082030
https://hg.mozilla.org/mozilla-central/rev/bfddce18f8bb
https://hg.mozilla.org/mozilla-central/rev/a90dc6dca287
https://hg.mozilla.org/mozilla-central/rev/67791213debd
https://hg.mozilla.org/mozilla-central/rev/fdeb8291c355
https://hg.mozilla.org/mozilla-central/rev/575345f98b95
Assignee | ||
Comment 12•2 years ago
|
||
D&D of multiple targets may fail on Wayland due to different message processing. Let's handle that at Bug 1802098.
Description
•