Closed Bug 298736 Opened 20 years ago Closed 17 years ago

mouse event caught when hitting stop button

Categories

(Other Applications Graveyard :: Venkman JS Debugger, defect)

defect
Not set
minor

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: ajschult784, Assigned: rginda)

Details

Attachments

(1 file, 1 obsolete file)

With linux suite trunk build 2005062305 (Venkman 0.9.83), if I hit the "stop"
button, it immeadiately stops, apparently catching the mouse event of hitting
stop, and loads an empty venkman.xul in a tab in the Source Code view.  After
hitting the continue button (and then stop again), things work ok.

I have "Exclude browser files" checked.
Assignee: rginda → silver
Status: NEW → ASSIGNED
Severity: normal → minor
OS: Linux → All
Hardware: PC → All
This just delays the enabling of the stop so that all events and stuff should be done with. In theory, the venkman.xul stop should be ignored for "Exclude Browser Files", but that's for another bug. This patch also stops you ending up in button.xml with that option unchecked.
Attachment #223478 - Flags: review?(rginda)
Comment on attachment 223478 [details] [diff] [review]
Delay stop so that Gecko has a chance to clean up first

Can't we just setTimeout to 1, to get us into a new stack?
Probably; I'm not one for trusting Gecko that much. I'll see how well it works with 1ms...
Attached patch Only delay 1msSplinter Review
Attachment #223478 - Attachment is obsolete: true
Attachment #243176 - Flags: review?(rginda)
Attachment #223478 - Flags: review?(rginda)
Attachment #243176 - Flags: review?(rginda) → review?(shaver)
Assignee: silver → rginda
Status: ASSIGNED → NEW
QA Contact: caillon → venkman
Comment on attachment 243176 [details] [diff] [review]
Only delay 1ms

Hacky, but otherwise mighty fine, and I have no better ideas.

r=gijs
Attachment #243176 - Flags: review?(shaver) → review+
James, could you check this in?
Hey James, I'm sorry for being repetitive, but I know you don't like me checking in your patches, so I would like to ask again if you could please check this in. Thanks! :-)
You really ought to make sure people you're talking to are CCed. :P
This was checked in on 20th January. I forgot to close the bug, I guess.

Checked in --> FIXED.
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Product: Other Applications → Other Applications Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: