Two HCBT_MINMAX messages on minimize




11 years ago
11 years ago


(Reporter: david, Unassigned)



Windows Vista

Firefox Tracking Flags

(Not tracked)




11 years ago
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv: Gecko/20080201 Firefox/
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv: Gecko/20080201 Firefox/

When minimizing Firefox, the window sends two HCBT_MINMAX messages instead of one.

Reproducible: Always

Steps to Reproduce:
1. Open Firefox
2. Minimize it
Actual Results:  
The Firefox window produces two HCBT_MINMAX messages

Expected Results:  
The Firefox window should only produce one HCBT_MINMAX message

Applications such as Spy++ don't appear to show HCBT messages. To verify this bug, you may need to use the C# sample that I was working on when I discovered it:

Comment 1

11 years ago
um, i don't suppose you could get us stack traces to these two calls? describes our symbol server....

stack traces would be most useful if generated based on a nightly build,

if it doesn't then there's nothing for us to do (the 2.x branch is only taking security fixes)
Component: General → Widget: Win32
Keywords: stackwanted
Product: Firefox → Core
QA Contact: general → win32
Version: unspecified → 1.8 Branch

Comment 2

11 years ago
Sorry, but I am unfamiliar with WinDbg and as this isn't a crash or a hang issue, I couldn't find any way to get a stacktrace.

I've also tested Firefox 3 Beta 3 and the latest nightly build and this issue still occurs. Again, sorry I can't be of more help.
Version: 1.8 Branch → Trunk

Comment 3

11 years ago
to get a stack trace (.hh kp), use:
to set a breakpoint on X in library Q (.hh bp), use:
bp Q!X

a starting point is probably:
bp nsWindow::SetSizeMode

I don't suppose config.trim_on_minimize is true (check in about:config), if so, it's probably this:

you can download a version of that file from and use it with windbg and the symbol server to follow along once your breakpoint is hit.
You need to log in before you can comment on or make changes to this bug.