Summary: K-Meleon grabs focus every time a new URL loads
Creator:Brian Date:2001-11-24 02:19:58
Project:K-Meleon Owner:jeff
Status:Closed Severity:Major
Version:Unknow Target Version:Unknow

see summary

Comments
jeff  2001-11-24 22:17:39
This is a mozilla bug: http://bugzilla.mozilla.org/show_bug.cgi?id=105225
[Changed Status from "Unconfirmed" to "Closed - Invalid"]
Brian  2001-12-05 12:32:56
[Changed Status from "Closed - Invalid" to "Closed - Mozilla Bug"]
asmpgmr  2002-12-10 16:27:59
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.
Ulf  2002-12-12 12:44:17
The Mozilla bug to keep track of all focus issues is:
http://bugzilla.mozilla.org/show_bug.cgi?id=88810
asmpgmr  2003-01-18 11:35:30
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.
amutch  2003-01-29 10:43:26
[Changed Severity from "Normal" to "High Priority"]
asmpgmr  2003-04-23 11:35:34
This only happens when a page is loaded into a new foreground window.
asmpgmr  2003-04-24 13:49:07
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.
asmpgmr  2003-04-24 13:55:27
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.
MonkeeSage  2003-07-24 06:29:36
This is fixed in my latest builds of K-M CVS 07/22/2003 (Moz. 1.5b). Awsome! :D


Shelumi`El
Jordan

S.D.G
MonkeeSage  2003-07-24 17:57:29
Clarification:

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. :)


Shelumi`El
Jordan

S.D.G
MonkeeSage  2003-07-24 19:56:43
Clarification:

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. :)


Shelumi`El
Jordan

S.D.G
draustus  2003-10-15 10:23:05
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.
asmpgmr  2003-10-17 06:45:30
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.
boogomatic  2003-10-17 08:45:53
This is fixed in the 0.8rc based on Mozilla 1.5
http://sourceforge.net/mailarchive/forum.php?thread_id=3304459&forum_id=2617
asmpgmr  2003-10-17 12:06:01
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.
boogomatic  2003-10-17 20:40:51
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.
amutch  2003-12-06 15:33:02

[Changed Status from "Open - Mozilla Bug" to "Open"]
Ulf  2003-12-18 06:12:35
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"]
amutch  2003-12-20 19:48:29
Ulf,

OK. Makes sense.
ra  2004-01-06 10:43:54
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.
ra  2004-01-06 10:45:08
Oh my... What happened to my urls? Just used the forum syntax, sorry for that!
Marc  2004-01-07 05:19:49
Ra,

bug 604 is fixed, and had nothing to do with bug 12. IIRC it was fixed before Ulf tried to fix bug 12.
ra  2004-01-07 14:53:10
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.
Kidman  2004-01-09 07:08:03
The bug 2 from the forums posts sounds like what I reported quite a while back in bug 196.
dorian  2006-07-15 07:05:37

[Changed Status from "Open - Mozilla Bug" to "Fixed"]
rmn  2007-05-10 00:44:02

[Changed Status from "Fixed" to "Closed"]

SourceForge Logo