[Linux] Rework nsDragService module
Categories
(Core :: Widget: Gtk, enhancement, P3)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox128 | --- | fixed |
People
(Reporter: stransky, Assigned: stransky)
References
(Blocks 1 open bug)
Details
Crash Data
Attachments
(10 files, 14 obsolete files)
|
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 | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review |
nsDragService module uses too many gdk_atom_intern() conversions and text MIME type matches. We may flip MIME types from string to GtkAtoms and compare atoms instead of strings.
| Assignee | ||
Updated•2 years ago
|
| Assignee | ||
Updated•2 years ago
|
| Assignee | ||
Comment 1•2 years ago
|
||
- Rename GetDragFlavors to GetAvailableDragFlavors
- Rename dragFlavors to availableDragFlavors
Updated•2 years ago
|
| Assignee | ||
Comment 2•2 years ago
|
||
- Rename gdkFlavor to requestedFlavor
- Rename nsDragService::GetTargetDragData() arguments
Depends on D207246
| Assignee | ||
Comment 3•2 years ago
|
||
Depends on D207247
| Assignee | ||
Comment 4•2 years ago
|
||
Depends on D207248
| Assignee | ||
Comment 5•2 years ago
|
||
Depends on D207249
| Assignee | ||
Comment 6•2 years ago
|
||
Depends on D207250
| Assignee | ||
Comment 7•2 years ago
|
||
- Implement DragData to hold D&D data instead of separated nsDragService class members
- Implement data cache as DragData hash table
Depends on D207251
https://hg.mozilla.org/mozilla-central/rev/43ab3ccffa94
https://hg.mozilla.org/mozilla-central/rev/e055b85d36fc
https://hg.mozilla.org/mozilla-central/rev/4a58c9a0cbd6
https://hg.mozilla.org/mozilla-central/rev/3f9f8f388f8d
https://hg.mozilla.org/mozilla-central/rev/d4dfae34380d
https://hg.mozilla.org/mozilla-central/rev/4d5da5f79ce6
https://hg.mozilla.org/mozilla-central/rev/f98ce3bad10b
Comment 10•2 years ago
|
||
This causes frequent crashes with the signature [@ DragData::HasURIs], e.g. bp-27a0fa55-e4f6-46e3-b6e6-e7ece0240417, and will be backed out in the next Nightly.
Updated•2 years ago
|
Updated•2 years ago
|
Comment 11•2 years ago
|
||
Backed out for causing linux drag and drop crashes.
| Assignee | ||
Comment 13•2 years ago
|
||
Updated, we didn't check return value of GetData().
| Assignee | ||
Updated•2 years ago
|
| Assignee | ||
Comment 14•2 years ago
|
||
Depends on D207333
| Assignee | ||
Comment 15•2 years ago
|
||
Depends on D207704
| Assignee | ||
Comment 16•2 years ago
|
||
Depends on D207705
| Assignee | ||
Comment 17•2 years ago
|
||
Depends on D207706
| Assignee | ||
Comment 18•2 years ago
|
||
Depends on D207718
| Assignee | ||
Comment 19•2 years ago
|
||
- Cache images, kCustomTypesMime and kRTFMime atoms
- Add DragData::IsImageFlavor()
- Implement DragData::Export(). Do necessary conversions and pass drag data to nsITransferable.
Depends on D207719
| Assignee | ||
Comment 20•2 years ago
|
||
Depends on D207720
Comment 21•2 years ago
|
||
The bug is linked to a topcrash signature, which matches the following criterion:
- Top 10 desktop browser crashes on nightly
For more information, please visit BugBot documentation.
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
| Comment hidden (Intermittent Failures Robot) |
| Assignee | ||
Updated•2 years ago
|
| Assignee | ||
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
| Assignee | ||
Updated•2 years ago
|
| Assignee | ||
Updated•2 years ago
|
| Assignee | ||
Comment 23•2 years ago
|
||
| Assignee | ||
Comment 24•2 years ago
|
||
Depends on D209341
| Assignee | ||
Comment 25•2 years ago
|
||
Depends on D209342
| Assignee | ||
Comment 26•2 years ago
|
||
- Implement DragData class to hold received D&D data
- Implement D&D data conversions to various MIME types (nsIFile, x-moz-url, unicode text etc.)
- Implement D&D data export to nsITransferable
Depends on D209343
| Assignee | ||
Comment 27•2 years ago
|
||
Depends on D209344
| Assignee | ||
Comment 28•2 years ago
|
||
Implement nsDragService::GetDragData(). It query Gtk for D&D data and returns them as ref counted DragData object
which is also cached.
It also updates nsDragService::TargetDataReceived() to work with DragData.
Depends on D209345
| Assignee | ||
Comment 29•2 years ago
|
||
Use DragData to get number of items transfered by D&D. Add support for text/x-moz-url MIME type
which is used for internal Gecko URL transfers.
Depends on D209346
| Assignee | ||
Comment 30•2 years ago
|
||
Depends on D209347
| Assignee | ||
Comment 31•2 years ago
|
||
Depends on D209348
| Assignee | ||
Comment 32•2 years ago
|
||
Depends on D209349
Updated•2 years ago
|
Comment 33•2 years ago
|
||
Comment 34•2 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/6b2409c9e7cf
https://hg.mozilla.org/mozilla-central/rev/7200da869ebe
https://hg.mozilla.org/mozilla-central/rev/5af4a28aff29
https://hg.mozilla.org/mozilla-central/rev/044c81dc2a45
https://hg.mozilla.org/mozilla-central/rev/a0aa9eb96d76
https://hg.mozilla.org/mozilla-central/rev/615e6ec94f4c
https://hg.mozilla.org/mozilla-central/rev/004c60cdf817
https://hg.mozilla.org/mozilla-central/rev/a599a81a1478
https://hg.mozilla.org/mozilla-central/rev/b6ddb782baf3
https://hg.mozilla.org/mozilla-central/rev/68955533eb96
Comment 35•2 years ago
|
||
This has the leave-open keyword, but it looks like all the patches landed. Can this be closed?
Comment 36•2 years ago
|
||
For the related issue I opened https://bugzilla.mozilla.org/show_bug.cgi?id=1888385
I still have issues on multiple machines. This has actually caused more problems for me.
| Assignee | ||
Comment 37•2 years ago
|
||
(In reply to Mathew Hodson from comment #35)
This has the leave-open keyword, but it looks like all the patches landed. Can this be closed?
Yes, it can be closed now.
Updated•2 years ago
|
Updated•2 years ago
|
Description
•