Closed Bug 341565 Opened 20 years ago Closed 5 years ago

Mousemove events outside window viewport does not fire

Categories

(Core :: DOM: Events, defect, P5)

1.8 Branch
defect

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: tpierron, Unassigned)

Details

Attachments

(1 file)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.13) Gecko/20060414 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.13) Gecko/20060414 This bug seens a duplicate of the 228269and 178519. But since 178519 is marked as closed I wonder why I got this problem : I have a div that I want to be able to drag it using mouse. This imply to capture mousedown, mousemove and mouseup events. I try a lot of drag'n drop toolkit and they all have the same problem : If you click in a "unused" place inside the div (not over child nodes, even anonymous), you can drag your div wherever you want, even outside window. Mousemove and mouseup events are correctly fired. But, if you click over a child nodes, you can still move your div but not outside browser window anymore. This is somewhat unexpected. This should be more clear, by playing with the uploaded HTML page. Reproducible: Always
Thierry, I get the expected results when trying your attachment 225620 [details] with Seamonkey 1.5a rv:1.9a4pre build 2007042110 under XP Pro SP2. I can drag both <div>s outside window viewport, even when dragging from text child nodes (when cursor become I-bar/I-shape). Resolving as WORKSFORME
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → WORKSFORME
Nice, that it works in SeaMonkey, but sadly not yet in Firefox 2.0.0.3 (WinXP).
Thierry, Seamonkey trunk build share the same code as Minefield 3: it's on the trunk. "(..) be sure that you've reproduced your bug using a build released within the past three days. Our development process moves at lightning speed, and the bug you've found may already have been fixed. (Nightly [trunk] builds can be downloaded from ftp.mozilla.org, (...)" Bug writing guidelines http://developer.mozilla.org/en/docs/Bug_writing_guidelines Setting Version: -> 1.8 Branch There is no known spec on dragging outside the browser viewing area. If you try attachment 101322 [details] with MSIE 7, you'll see that the blue DHTML layer does not move when outside outside browser window viewport. This bug is also related to bug 29697. Setting severity: -> minor CONFIRMING
Severity: normal → minor
Status: RESOLVED → UNCONFIRMED
Resolution: WORKSFORME → ---
Version: Trunk → 1.8 Branch
Status: UNCONFIRMED → NEW
Ever confirmed: true
Summary: Mousemove events does not fire expectedly → Mousemove events outside window viewport does not fire
Assignee: events → nobody
QA Contact: ian → events
https://bugzilla.mozilla.org/show_bug.cgi?id=1472046 Move all DOM bugs that haven’t been updated in more than 3 years and has no one currently assigned to P5. If you have questions, please contact :mdaly.
Priority: -- → P5

I cannot reproduce this bug with the latest Nightly (tested with the testcase).

Status: NEW → RESOLVED
Closed: 19 years ago5 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: