Open
Bug 332346
Opened 18 years ago
Updated 2 years ago
Drag and drop into a window should focus the window
Categories
(Core :: DOM: UI Events & Focus Handling, defect)
Tracking
()
NEW
People
(Reporter: martijn.martijn, Unassigned)
References
Details
Attachments
(1 file)
2.38 KB,
patch
|
Details | Diff | Splinter Review |
To reproduce: - Focus the url bar - Drag and drop some html file from outside Mozilla into Mozilla Expected result: The window is focused Actual result: The url bar is focused IE6 is doing this correctly. I have a patch in bug 280635 that handles this in the eventstatemanager.cpp by trying to focus the dropped content (when it is focusable, otherwise it moves up in the content). Not sure yet, whether I'm using that, since there is a problem with it. But I think the principle of focusing the content when dropping something (when it is droppable and focusable) is a correct one.
Reporter | ||
Comment 1•18 years ago
|
||
Actually, this should probably be handled here. This works nicely for Firefox, but I'm not sure if it works for embedding. I don't know how to check that.
Updated•15 years ago
|
Assignee: events → nobody
QA Contact: ian → events
Comment 2•11 years ago
|
||
I think this bug is more common: Firefox does not get focus if I drag and drop a file. Firefox does not get focus if I drag and drop an image into images.google.com Firefox does not get focus if I drag and drop a text into a textarea. Firefox does not get focus if I drag and drop an url link. Can anybody verify and review proposed patch? Is it outdated?
Assignee | ||
Updated•5 years ago
|
Component: Event Handling → User events and focus handling
Comment 3•4 years ago
|
||
Bump
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•