Closed Bug 375937 Opened 17 years ago Closed 17 years ago

Tab focus is lost when switching from one tab to one in which a webpage in which some element is "taking too long to respond"

Categories

(Firefox :: Page Info Window, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

VERIFIED DUPLICATE of bug 123913

People

(Reporter: ultrafire7, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3

When doing a search for something on torrent-finder.com it often takes a long time for it to do the search, so I look at another website in another tab within the same browser window. While looking, the focus is lost / I get switched back to the torrent-finder site to be told blah blah "is taking too long to respond" via a page info? message box. Besides the obvious solution of stopping that annoyance, it would be more efficient and less distracting to simple have that message display on the bottom middle, which could give a status message in a dedicated section (on level where it says "Done" on the left) in the middle. The  dedicated section could expand as needed to accommodate the size of the message.

Reproducible: Always

Steps to Reproduce:
1. Go to torrent-finder.com
2. Search for something common (or anything at all) so that it takes a long time to load.
3. Go to another website in a different tab while torrent-finder is busy loading.
4. View that other website until you are pulled back to the other tab and shown a popup. 
Actual Results:  
I am taken off the website I am viewing back to torrent-finder and annoyed with a useless message.

Expected Results:  
To continue viewing the website I am on without being pestered by obvious and useless messages.

Why is that message even given? Duh, if the page isn't loading the elements won't show, that's a big duh. For example how stupid would it be if a gif animation didn't load fully (a frequent occurrence in IE) an annoying message popped up to tell you it didn't load? Duh it didn't load because you can't see it. There is a similar problem with IE in that the browser brings  itself to focus on it if some error occurs I believe. It is annoying.
In certain cases (script warnings etc) we have to display a warning. To display a warning for the wrong tab would be confusing so instead we currently switch to the tab thats generating the dialog and then displaying it. The better solution though is to keep the warning in the background for when you switch back to the tab.
Status: UNCONFIRMED → RESOLVED
Closed: 17 years ago
Resolution: --- → DUPLICATE
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.