Closed
Bug 13463
Opened 26 years ago
Closed 26 years ago
[BLOCK] event state manager can't tell when frames it tracks go away
Categories
(Core :: DOM: UI Events & Focus Handling, defect, P1)
Core
DOM: UI Events & Focus Handling
Tracking
()
VERIFIED
FIXED
M12
People
(Reporter: mikepinkerton, Assigned: mikepinkerton)
References
Details
(Whiteboard: [PDT+])
In the event state manager, there are several frames that are being held onto for
tracking mouse enter/leave and drag gesture things. However, the psuedo-event
generation is two-staged:
- tell the DOM
- tell the frame
If a listener in the dom (such as a drop listener) deletes the frame (user moved
a button on the toolbar, causing it to be deleted), then when control gets back
to the event state manager, the frame is dangling and we crash hard.
Hyatt also will have this problem with closing up xp-popups.
| Assignee | ||
Comment 1•26 years ago
|
||
adding dependency
| Assignee | ||
Comment 2•26 years ago
|
||
ccing rjc
Comment 3•26 years ago
|
||
Can we up the priority on this to a P1 ??? This is a MAJOR blocker for
drag&drop work.
Updated•26 years ago
|
Status: NEW → ASSIGNED
Comment 4•26 years ago
|
||
Do you guys have a specific test case for me on this? Because there is some
code in place for notification of frame destruction but some of the more recent
code (like the drag events), or older code with bugs might have a problem with
it. I can try to fix a spot or two that I see but I won't know I'm fixing the
problems your seeing.
| Assignee | ||
Comment 5•26 years ago
|
||
a good test case is in navigator.js. uncomment the lines (around line 155):
rdfc.RemoveElement(objectRes, true);
rdfc.InsertElementAt(objectRes, newIndex, true);
and then drag a toolbar button in the personal toolbar and drop it somewhere
else.
If you can point me to this mechanism for frame deletion notification, maybe i
can make the drag gesture code use it. if it's something that i'm not doing
correctly, then this should be my bug.
| Assignee | ||
Updated•26 years ago
|
Assignee: joki → pinkerton
Status: ASSIGNED → NEW
| Assignee | ||
Updated•26 years ago
|
Status: NEW → ASSIGNED
Target Milestone: M15
| Assignee | ||
Comment 6•26 years ago
|
||
after talking to joki, i learned there is a mechanism for determining when frames
used by the eventStateManager go away. Post-beta, I'll get this working myself
since joki is overloaded.
taking over this bug (which should have been mine to begin with) and adding joki
to the cc list just in case he might care.
| Assignee | ||
Comment 7•26 years ago
|
||
m15 accepting
| Assignee | ||
Comment 9•26 years ago
|
||
moving dogfood-related d&d stuff back to M12. woohoo!
| Assignee | ||
Updated•26 years ago
|
Priority: P3 → P1
| Assignee | ||
Comment 10•26 years ago
|
||
priority now p1
| Assignee | ||
Updated•26 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
| Assignee | ||
Comment 11•26 years ago
|
||
fix checked in.
Comment 12•26 years ago
|
||
code level fix, pinkerton, can you verify the fix?
| Assignee | ||
Updated•26 years ago
|
Status: RESOLVED → VERIFIED
Updated•7 years ago
|
Component: Event Handling → User events and focus handling
You need to log in
before you can comment on or make changes to this bug.
Description
•