Closed Bug 358812 Opened 18 years ago Closed 18 years ago

Minimizing Firefox window using task bar button restores focus differently than minimize ( _ ) button on Firefox window

Categories

(Firefox :: Shell Integration, defect)

x86
Windows 98
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 348723

People

(Reporter: quatrixj, Unassigned)

Details

User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.8.1) Gecko/20061010 Firefox/2.0 Build Identifier: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.8.1) Gecko/20061010 Firefox/2.0 The minimize ( _ ) button on the Firefox window works as expected. Minimizing Firefox by clicking its task bar button results in the previous window trying to steal focus. Reproducible: Always Steps to Reproduce: 1. Make sure that Windows is set up to prevent windows from stealing focus. One way is to run TweakUI, go to the "General" tab, and select the "Prevent applications from stealing focus" option. 2. Open a new Explorer window or switch to an existing one. 3. Open a new Firefox window or switch to an existing one. 4. Click the minimize ( _ ) button in the top-right corner of the Firefox window. As expected, Firefox minimizes, its task bar button is "unpushed", and the underlying Explorer window is activated. 5. Switch back to the Firefox window. 6. This time, click the Firefox task bar button to minimize the window. The Firefox window is minimized and "unpushed", and the Explorer window is visible, but it doesn't have focus and its task bar button flashes, meaning that it's trying to steal focus (as opposed to another window relinquishing focus). The problem goes away when I deselect the "Prevent applications from stealing focus", but that's not an acceptable solution. Other apps are working just fine with that setting. It's obvious that Firefox is doing something different when you click the minimize button and when you click its task bar button.
Component: General → OS Integration
For me, this is worksforme, using: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1) Gecko/20061120 BonEcho/2.0 Maybe this is windows98 only?
Yes, it works for me in Win2K. I've only seen the problem in 98 SE.
Is this a change from TB 1.5 (that is, before the patch from bug 300689)? If so, then, before that patch, did minimizing via the widget behave the same way as via the taskbar button? Was that prior behavior identical to the current via-taskbar or current via-widget behavior, or something else?
I'm still using TB 1.5 with the issue mentioned in 300689. When I use the minimize ( _ ) button, TB minimizes but the TB button on the Windows task bar is still highlighted as if it was active. If I minimize TB by clicking its task bar button then the button becomes inactive (no longer "sunk into" the task bar). In both cases the last window under TB in the stack doesn't become active (fixed for 300689 in FF 2). So no, before the 300689 patch, the two methods of minimizing the window did not behave exactly the same way (though for non-Mozilla windows such as Explorer, they do behave the same).
With Fx 1.5, do you see the taskbar button blinking as described for step (6)? (And just to clarify: the button that's blinking is Explorer's or Firefox's?) Is this bug about the behavior in step (4) or step (6)?
This looks like bug 348723 if it's only on Win98.
To clarify, I'm using FF 2 and TB 1.5. In TB 1.5, when minimizing either way, there's no blinking (i.e. nothing is trying to steal focus). In the FF 2 case it's the Explorer (or any other app) window that blinks. It's as if FF doesn't relinquish focus but forces the underlying window to "steal" focus.
To answer the other question, the problem is in the results of step 6. Everything in step 4 works as expected.
Duping to 348723. Win98 seems to have a problem with letting the focused app focus another app. *** This bug has been marked as a duplicate of 348723 ***
Status: UNCONFIRMED → RESOLVED
Closed: 18 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.