Closed Bug 382984 Opened 17 years ago Closed 12 years ago

Win32: Minimize Window - Wrong Parameter for ShowWindow

Categories

(Core :: Widget: Win32, defect)

x86
Windows ME
defect
Not set
normal

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: grischka, Unassigned)

References

Details

(Whiteboard: [testday-20120713])

User-Agent:       Mozilla/5.0 (Windows; U; Win 9x 4.90; en-US; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3
Build Identifier: Mozilla/5.0 (Windows; U; Win 9x 4.90; en-US; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3

On Win32: 

In at least two locations the paramenter for ShowWindow is SW_SHOWMINIMIZED (2) instead of SW_MININIZE as it should. This actually activates the application when one presses the minimize button and causes bad interaction with other applications and sometimes wrong display state of the taskbutton in the taskbar. Sometimes it is not possible also to restore Firefox from miminized on the first click.

On another note there seems to be a bug (which I dont know how it happens) where changing the theme in the display properties or changing the icon size causes Firefox to restore from minimized state spontaneously. 

Both bugs exist at least since 0.8 (and are probably somewhere in the Windows GUI OS - specific code). Sorry, I dont have the source, but I could use a hex editor to fix the first bug for me.


Reproducible: Always

Steps to Reproduce:
1.
2.
3.
Component: General → Widget: Win32
Product: Firefox → Core
QA Contact: general → win32
Version: unspecified → Trunk
Can anyone confirm the minimize bug on 2k/XP/Vista? (the restore at theme change is known and should be a separate bug)
Keywords: qawanted
This is due to trim_on_minimize code.
Depends on: 369002
Is this still reproducible with current Firefox versions?
Whiteboard: [testday-20120713], [closeme 2012-08-01]
Resolving this bug INCOMPLETE. Please reopen if this is reproducible in the latest Firefox Nightly.
Status: UNCONFIRMED → RESOLVED
Closed: 12 years ago
Keywords: qawanted
Resolution: --- → INCOMPLETE
Whiteboard: [testday-20120713], [closeme 2012-08-01] → [testday-20120713]
You need to log in before you can comment on or make changes to this bug.