Closed
Bug 1171980
Opened 9 years ago
Closed 9 years ago
Seamonkey: Replace draggesture with dragstart, dragdrop with drop events
Categories
(SeaMonkey :: General, defect)
SeaMonkey
General
Tracking
(seamonkey2.38 fixed)
RESOLVED
FIXED
seamonkey2.38
Tracking | Status | |
---|---|---|
seamonkey2.38 | --- | fixed |
People
(Reporter: enndeakin, Assigned: ewong)
References
Details
Attachments
(1 file, 1 obsolete file)
19.61 KB,
patch
|
ewong
:
review+
|
Details | Diff | Splinter Review |
In bug 1162050, we'd like to remove support for the draggesture and dragdrop events in favour of the standard dragstart and drop events. They should work the same, so it should be a search and replace. In addition, I'd like to remove the old nsDragAndDrop.js library and instead convert to using the standard drag and drop api. This is a more significant amount of work, so Seamonkey could include the existing version in its own code in the meantime, so some shared location with Thunderbird.
Assignee | ||
Comment 2•9 years ago
|
||
Assignee | ||
Comment 3•9 years ago
|
||
(In reply to Edmund Wong (:ewong) from comment #2) > Created attachment 8617823 [details] [diff] [review] > proposed patch (v1) without needing to read this patch, I didn't touch nsDragAndDrop.js. I'm not exactly sure where I'd put it, but atm, I'm contemplating mailnews/base/util
Assignee | ||
Updated•9 years ago
|
Attachment #8617823 -
Attachment description: proposed patch (v1) → proposed patch [SeaMonkey - p1] (v1)
Updated•9 years ago
|
Attachment #8617823 -
Flags: review?(neil) → review+
Comment 4•9 years ago
|
||
Comment on attachment 8617823 [details] [diff] [review] proposed patch [SeaMonkey - p1] (v1) > <listbox id="attachmentList" rows="3" seltype="multiple" >- onclick="attachmentListClick(event);" ondraggesture="nsDragAndDrop.startDrag(event,attachmentAreaDNDObserver);" ondragover="nsDragAndDrop.dragOver(event, attachmentAreaDNDObserver);" context="attachmentListContext"/> >+ onclick="attachmentListClick(event);" >+ ondragstart="nsDragAndDrop.startDrag(event,attachmentAreaDNDObserver);" >+ ondragover="nsDragAndDrop.dragOver(event, attachmentAreaDNDObserver);" >+ context="attachmentListContext"/> Actually we don't use the dragover event here, you can just remove it.
Comment 5•9 years ago
|
||
(In reply to Edmund Wong from comment #3) > without needing to read this patch, I didn't touch nsDragAndDrop.js. > > I'm not exactly sure where I'd put it, but atm, I'm > contemplating mailnews/base/util If Thunderbird wants to keep it, then mailnews/base/content would be a better fit. There seem to be some unused references to nsDragAndDrop.js in editor and debugQA. ChatZilla seems to use nsDragAndDrop.js too, they'll need their own bug if they don't have one already.
Comment 6•9 years ago
|
||
Comment on attachment 8617823 [details] [diff] [review] proposed patch [SeaMonkey - p1] (v1) a=me for CLOSED TREE SeaMonkey
Assignee | ||
Comment 7•9 years ago
|
||
Attachment #8617823 -
Attachment is obsolete: true
Attachment #8622268 -
Flags: review+
Assignee | ||
Comment 8•9 years ago
|
||
Comment on attachment 8622268 [details] [diff] [review] checkin-patch (+ some space nits) [SeaMonkey - p1] Pushed to comm-central: http://hg.mozilla.org/comm-central/rev/c6edd15b2734
Comment 10•9 years ago
|
||
(In reply to Neil Deakin from comment #9) > Is this now fixed? It will be fixed when Bug 1174601[1] is fixed [1] Copy nsDragAndDrop.js from toolkit to SeaMonkey because it will be removed in bug 1162050
Flags: needinfo?(ewong)
Updated•9 years ago
|
status-seamonkey2.38:
--- → fixed
Depends on: 1174601
OS: Unspecified → All
Hardware: Unspecified → All
Target Milestone: --- → seamonkey2.38
Version: unspecified → Trunk
Updated•9 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•