I have just finished a migration of a client's software to a new server, and a strange bug started occuring.
When a user opens Internet Explorer, They log into the website, and the browser window immediately disappears. It is listed in the application bar at the bottom of the screen, but it is not minimized. The browser has moved behind all other open windows.
When you click on the browser in the application bar at the bottom of the screen, it still acts as though it is the current window. By that I mean that instead of bringing it to the front, it then minimizes, upon clicking a second time, it is now the current window, and I am free to click another link, just to start the process all over again.
From what I can tell, the issue only occurs in Internet Explorer which is the client's preferred browser (I know... try to get him to change, but let's suppose that isn't possible.).
My fix so far has been to open a second tab in Internet Explorer. By having the second tab open (doesn't have to be on a webpage), the issue goes away until I close that tab.
Why is this posted in a JavaScript forum? When I disable Active Scripting from the Tools menu, this bug goes away, but this is not a workable solution either.
Has anyone come across this? I have done some searches, but haven't come up with much. Perhaps it is in how I am searching...
Any help is greatly appreciated!
Browser Window Minimizes when Links are Clicked
Moderator: General Moderators
Re: Browser Window Minimizes when Links are Clicked
Is it reproducible on any computer except your client's one?
Re: Browser Window Minimizes when Links are Clicked
Yes. I have had a number of other users experience it, and it is occurring on my computer as well.
Re: Browser Window Minimizes when Links are Clicked
I should also note that this only occurs while using my client's software. If you browse away from his site, the issue goes away.
Re: Browser Window Minimizes when Links are Clicked
OK, here we go... Maybe I need to reclassify this in jQuery/AJAX, but if I remove
<script src="http://ajax.googleapis.com/ajax/libs/jq ... "></script>
the page does not jump to the back, but obviously my jQuery stops working.
It seems there is a bug in there, but that would be a nightmare to go through. Any thoughts?
<script src="http://ajax.googleapis.com/ajax/libs/jq ... "></script>
the page does not jump to the back, but obviously my jQuery stops working.
It seems there is a bug in there, but that would be a nightmare to go through. Any thoughts?
Re: Browser Window Minimizes when Links are Clicked
This test is not really indicative because for a site that relies on jQuery removing it is often pretty much the same as turning Javascript off.
For IE9 (you didn't specify the version in your post btw) you could try 'No addons' mode (Start / All Programs / Accessories / System Tools / Internet Explorer (No Addons) ). If that works while the version with addons fails this would indicate that one of your addons is the culprit.
For IE9 (you didn't specify the version in your post btw) you could try 'No addons' mode (Start / All Programs / Accessories / System Tools / Internet Explorer (No Addons) ). If that works while the version with addons fails this would indicate that one of your addons is the culprit.
Re: Browser Window Minimizes when Links are Clicked
Just so everyone can rest easy tonight...
The problem had to do with a .blur() called within a jQuery function (by removing jQuery it just hid the problem). It appears to be that if .blur() is called on a non-Object it has funky results...
The problem had to do with a .blur() called within a jQuery function (by removing jQuery it just hid the problem). It appears to be that if .blur() is called on a non-Object it has funky results...