Closed Bug 175614 Opened 22 years ago Closed 20 years ago

Focus loss in actual page while reload of other opened pages/frames

Categories

(Core :: DOM: UI Events & Focus Handling, defect)

x86
Windows 2000
defect
Not set
major

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: bugzilla, Assigned: bryner)

References

()

Details

(Keywords: testcase)

Attachments

(2 files)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.2b) Gecko/20021018 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.2b) Gecko/20021018 Since I have installed build 2002101804, every reload of a page/frame sets the focus to the just reloaded page/frame. This is EXTREMLY ANNOYING!!! E.g., while typing this few lines, I had to go back to this textarea ~5-10 times because some other opened pages did a reload/refresh and my current page lost its focus. >:-((( Or when I write an email, exactly the same happens... :-((( IMHO, as long as there is no .focus() done by a page, the focus has to stay where it is!!! Please change this asap. I really can not work with it like this. PS: I was not able to find a similar bug! Reproducible: Always Steps to Reproduce: 1. open a couple of pages with auto-reload-tags (META...) 2. Goto a different page (and focus it) 3. just wait Actual Results: As soon as the page is reloaded, it pops in front. Expected Results: My page with current focus keeps its focus!!!
Status: UNCONFIRMED → NEW
Ever confirmed: true
I am not quite sure it it is the META-refresh, but the javascript location.reload() that causes this problem...
I am quite sure it is only when setting .location.href And still present in 2002102808!!! It is horrible! Could someone please fix this bug??? Hope "DOM Level 0" is the correct part to address it to?
Component: Browser-General → DOM Level 0
Today I just have installed 2002121408 and now I have to raise this bug to severity "blocker". In the last builds, it was just annoying (the focus only changed it the reloded page-content changed), now Mozilla is simply unusable for me (because an every page-reload the focus is lost)! I will (I am forced to!!!) switch back to 1.2.1 after updating this bug! :-( Now, if I have more Mozilla windows open, as soon as a frame/page is reloaded by javascript (see attached html-source for details), this window will pop on top. I hope you do understand what this means, e.g. you are writing an email and have a browser-window open, containing a js-reload and this will be done, this window is on top and your email-window lost its focus. But you are still typing a few chars and unexpected things can happen. Or you are e.g. filling out a form and a window in the background does a reload, it immediatelly pop up in front... :-((( waslos.de has a small "pager"-frame, displaying you updates. This frame is the bottom middle frame in the window. If nothing happens, it is just blue. Otherwise you will see some information in that line. This frame (see attachment) is reloaded every 5 seconds. An due to that, all 5 secs, I loose the focus now. Normally waslos.de is running in the background and I am just switching to it after a while. Now, it pops up EVERY 5 SECONDS!!! >:-((( *** TESTCASE *** 1. open http://nuernberg.waslos.de in an own/new window 2. login as ID / Nickname: MozillaTest Passwort: MozTest (case sensitive!!!) 3. just open a different page in a different mozilla window and "try" to surf as usual... @Matti: I have added you to this bug because I hope you can take a look onto this bug because I have opened it a long time ago now and it seems that nobody has seen ist. Maybe the ist not the correct one. I am sorry, I am not that keen on this.
Severity: major → blocker
Keywords: testcase
Priority: -- → P1
As soon as this frame reloads, its window pops in front
Sorry, error in "@Matti:": ... Maybe the is not the correct component. ...
This frame (as part of nuernberg.waslos.de) reloades every 10 seconds (not 5 as I originally thought) and makes me really crazy. With IE5/6 & Mozilla before 1.3, there is no focus-loss!!!
->Event Handling and confirming with a 2 day old win2k cvs build. Type in a text field on a page (comment field) while the page reloads and you will loose the foxus. BTW: a long time ? This is "only" 2 months old and it will be now unfixed a really long time :-(
Assignee: asa → saari
Severity: blocker → major
Component: DOM Level 0 → Event Handling
Priority: P1 → --
QA Contact: asa → rakeshmishra
@Matti: If you are really nerved, two month can be a really really long time! :-((( ;-) Anyway, I just wonder that it seems, I am the only one having this problem...
->bryner We need to rethink focus memory in a multitab, multi embedded gecko per top level window world
Assignee: saari → bryner
I can't reproduce this using Firefox branch 20041019 and the steps in comment 3. I've tried opening the page in both a new tab and a new window. I see it reload, and I'm able to keep typing on whatever page I'm on (like this bug report). This has been fixed somewhere along the way, either by the fix for bug 124750 or something else. Marking wfm.
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → WORKSFORME
Component: Event Handling → User events and focus handling
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: