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.
Created attachment 216833 [details] [diff] [review] patch 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.
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?
You need to log in before you can comment on or make changes to this bug.