This is a mozilla bug: http://bugzilla.mozilla.org/show_bug.cgi?id=105225
[Changed Status from "Unconfirmed" to "Closed - Invalid"]
[Changed Status from "Closed - Invalid" to "Closed - Mozilla Bug"]
This doesn't seem to happen with Mozilla 1.2 final (11/26/2002) so maybe a build of K-Meleon based on Mozilla 1.2.1 will fix this.
The Mozilla bug to keep track of all focus issues is:
I'm using K-Meleon 0.7 with the Mozilla 1.2 final DLLs (11/26/2002) and the focus stealing problem still occurs. This does not happen with Mozilla itself.
[Changed Severity from "Normal" to "High Priority"]
This only happens when a page is loaded into a new foreground window.
This can be consistently reproduced by opening a new window (right click and open in new window or selecting a link with target=_new) and immediately switching to another window. When the base page in the new window is completely loaded (though not necessarily all of the graphics) the focus will be stolen. This is easier to reproduce on a dialup connection since a page may load too fast to switch away in time on a broadband connection.
Another consistent way to reproduce this with a dialup connection is to load K-Meleon which will initiaite a dialup (unless there's no home page). While it's dialing open a new window, goto about:blank and wait there. When the connection is established the home page will load in the first window and the focus will be stolen.
This is fixed in my latest builds of K-M CVS 07/22/2003 (Moz. 1.5b). Awsome! :D
I didn't fix it, it is just fixed somehow.
My guess is that it got fixed on the Mozilla side of things, or mabye Ulf worked some magic in his recent CVS commits?
Anyhow, seems that this bug is gone in my testing. Just thought I'd drop a line to that effect since this is one of those mean old nasty stubborn bugs. :)
Verified as well, and the Mozilla bug http://bugzilla.mozilla.org/show_bug.cgi?id=105225
has been marked as Resolved.
Please mark this bug as fixed.
I'm using the third 0.8 beta which Jeff released at http://kmeleon.sf.net/files/beta/KMeleon_0_7_5_beta.exe
with the Mozilla 1.4.1 backend and this is definitely NOT fixed.
This is fixed in the 0.8rc based on Mozilla 1.5
This is absolutely NOT fixed. I just tried it with the latest zip from http://kmeleon-doc.berlios.de/beta-version/kmeleon08b.zip which is Version 0.8.0 Build 826 Compiled Thu Oct 16 21:38:02 2003 and uses Mozilla 1.5, this is not a Mozilla issue as this doesn't happen with the Mozilla app suite.
You are correct asmpgmr,this is NOT fixed. I can consistently reproduce this with target=_blank links, then ALT+Tab back to previous window. Then the new window will steal focus.
[Changed Status from "Open - Mozilla Bug" to "Open"]
Andrew, I think it is safe to use the phrase "Mozilla bug" for all bugs where a fix has to be done to code held in the Mozilla CVS. Whether the Mozilla app suite is affected or not is completely irrelevant. MfcEmbed act the same as K-Meleon.
I've got patches for this that include changes to jsdom and gkwidget as well as K-Meleon. We only need to make sure it doesn't break too much..
[Changed Status from "Open" to "Open - Mozilla Bug"]
OK. Makes sense.
The fix for this (as referenced [url=http://kmeleon.sourceforge.net/wiki/?id=ReleaseNotes082]here[/url]) seems to have indeed broken some things: user_pref("kmeleon.display.NewWindowHasUrlFocus", true); has no effect any more. New windows won't have url bar focus. See also [url=http://kmeleon.sourceforge.net/bugs/viewbug.php?bugid=619] bug 619[/url] (tab doesn't work) and [url=http://kmeleon.sourceforge.net/forum/read.php?f=3&i=5051&t=5051]this[/url] thread (no url bar focus).
Maybe the fix is even responsible for #2 [url=http://kmeleon.sourceforge.net/forum/read.php?f=3&i=5065&t=5061]here[/url], but I'm *really not sure* about that one (just guessing), could also be [url=http://kmeleon.sourceforge.net/bugs/viewbug.php?bugid=604] bug 604[/url] or something *completely* different.
Oh my... What happened to my urls? Just used the forum syntax, sorry for that!
bug 604 is fixed, and had nothing to do with bug 12. IIRC it was fixed before Ulf tried to fix bug 12.
Yeah, I know that and think you missunderstood me: It was just a guess from me that the fix for bug 12 or the one for bug 604 *maybe* caused #2 from http://kmeleon.sourceforge.net/forum/read.php?f=3&i=5065&t=5061, too. But I'm really only guessing re. this forum thread. The other bug (url bar) is a sure regression from fixing bug 12.
The bug 2 from the forums posts sounds like what I reported quite a while back in bug 196.
[Changed Status from "Open - Mozilla Bug" to "Fixed"]
[Changed Status from "Fixed" to "Closed"]