Closed Bug 303995 Opened 19 years ago Closed 19 years ago

Opening dependent window now creates item in windows task bar

Categories

(Core :: Widget: Win32, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

VERIFIED FIXED

People

(Reporter: martijn.martijn, Assigned: dougt)

References

Details

(Keywords: regression, testcase)

Attachments

(2 files)

See upcoming testcase.
A dependent window should not create an extra item in the task bar in windows,
and that is what is happening in current trunk builds.
This regressed between 2005-07-18 and 2005-07-19. "patch v.4" from bug 297683 is
the likely culprit.
http://bonsai.mozilla.org/cvsview2.cgi?diff_mode=context&whitespace_mode=show&subdir=mozilla/widget/src/windows&command=DIFF_FRAMESET&file=nsWindow.cpp&rev1=3.563&rev2=3.564&root=/cvsroot
Attached file testcase
will take a look tomorrow.
Assignee: win32 → dougt
Attached patch patch v.1Splinter Review
I see the problem.  Comparing the flags used in version 3.538 of nsWindow.cpp
and what we are currently using you see a difference in both the popup and
toplevel.  This patch reverts my changes and takes us back to a good place.

I have not tested this patch, but will when my builds complete.

Dan, this is a pretty straight forward backout of a windows bustage i caused. 
it really is a fine example of why #ifdefs suck.  Assuming that the testing
goes well, i will need a r/sr/a.
Attachment #192070 - Flags: review?(dveditz)
Flags: blocking1.8b4?
Comment on attachment 192070 [details] [diff] [review]
patch v.1

Yes, this reverts to the original flags ;-)
Attachment #192070 - Flags: review?(dveditz)
Attachment #192070 - Flags: review+
Attachment #192070 - Flags: approval1.8b4+
Checking in nsWindow.cpp;
/cvsroot/mozilla/widget/src/windows/nsWindow.cpp,v  <--  nsWindow.cpp
new revision: 3.567; previous revision: 3.566
done

Martijn, thank you so much for finding this bug.
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Flags: blocking1.8b4?
Verified. Thank you for fixing!
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: