Closed Bug 175948 Opened 23 years ago Closed 18 years ago

Window focus switches without touching window

Categories

(SeaMonkey :: UI Design, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: mozilla, Unassigned)

Details

2002101808 trunk STEPS TO REPRODUCE: 1. Open a Mozilla browser window and a mail/news window. 2. Open a compose window. 3. On the Windows taskbar, select a Mozilla window to bring it to the front. After that, bring the other Moz window to the front (e.g., bring the browser to the front, and then the mail window, or vice versa). 4. After having raised two separate Mozilla windows, activate the compose window. RESULT: The Mozilla windows switch so that the one you were last viewing is not the one that is under the compose window. This sounds a little contrived and minor, but in practice it is actually something approaching nsCatFood I think. It disturbs your work flow as Mozilla windows randomly switch focus as you are working.
Works for me with Mozilla 1.4 on Win2k. Jerry, can you reproduce this with a current Mozilla version? And on a different Computer (if you have access to one)?
Yes, I can reproduce it on another computer and with 1.4.
I think I know what the problem is. In my testing with other applications on Windows XP, it seems that when you mousedown on an application's taskbar button that the button just presses inwards, but the focus is not switched to that application until mouseup. Mozilla, however, switches focus on mousedown after switching between Mozilla windows a couple of times. This makes for some weird interaction with other applications as they don't come up until mouseup, but the mozilla windows want to go away on mousedown.
You can also see this by clicking repeatedly on the same Mozilla button on the taskbar. Periodically Mozilla loses track of a click. Strangely, it's always after an even number of clicks (i.e., the click that is lost is an odd number).
Jerry, I think I can also reproduce this with other apps and Mozilla not running. Having open three Word2000 windows and activating them one after the other, about every third time the following weirdness occurs: when I mousedown on the taskbar button, another Word window comes to front, and only when I release the button, the window belonging to the taskbar button comes to front. Therefore the bug description and comment #3 seem pretty much like a bug in Windows XP (if any). I cannot reproduce comment #4. So maybe this bug can be resolved...
Product: Core → Mozilla Application Suite
Assignee: bross2 → guifeatures
QA Contact: pawyskoczka
WFM Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9b2pre) Gecko/2007112702 SeaMonkey/2.0a1pre
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → WORKSFORME
Component: XP Apps: GUI Features → UI Design
You need to log in before you can comment on or make changes to this bug.