Closed Bug 99856 Opened 25 years ago Closed 25 years ago

double-clicking turbo icon unmaximizes an open browser window

Categories

(SeaMonkey :: UI Design, defect, P2)

x86
Windows 98
defect

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 103849
mozilla0.9.7

People

(Reporter: jruderman, Assigned: paulkchen)

Details

Steps to reproduce: 1. Open a Mozilla window. 2. Maximize it. 3. Double-click on the quick launch icon in the system tray. Result: The maximized window gets focus and is unmaximized (restored). Expected: One of the following: a) The maximized window gets focus but isn't resized. b) A new browser window opens. I'd prefer b, because that would make double-clicking the quicklaunch icon do the same thing whether I happen to have a browser window open or not.
See also bug 91129, double clicking Mozilla turbo icon w/ no open windows ignores startup mode pref and runs browser.
QA Contact: sairuh → tpreston
See also bug 101025, double-clicking turbo icon focuses download window.
To fix the maximized window being destroyed problem, add if ( ::IsIconic(hwnd) ) before the ::ShowWindow() call in nsNativeAppSupportWin.cpp, and change the comment before it to read "// Only restore the window if it is minimized" http://lxr.mozilla.org/mozilla/source/xpfe/bootstrap/nsNativeAppSupportWin.cpp#131
errr... I meant restored, not destroyed. They're so similar.
marking p2 and mozilla0.9.7
Status: NEW → ASSIGNED
Priority: -- → P2
Target Milestone: --- → mozilla0.9.7
Great minds think alike... *** This bug has been marked as a duplicate of 103849 ***
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → DUPLICATE
Verified Duplicate
Status: RESOLVED → VERIFIED
Product: Core → Mozilla Application Suite
You need to log in before you can comment on or make changes to this bug.