Closed Bug 219769 Opened 21 years ago Closed 21 years ago

Mozilla and Firebird start in a zero height window

Categories

(Core :: DOM: Core & HTML, defect, P1)

defect

Tracking

()

VERIFIED FIXED
mozilla1.6alpha

People

(Reporter: fredbezies, Assigned: peterv)

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; fr-fr; rv:1.5b) Gecko/20030920 Firebird/0.7+
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr-fr; rv:1.5b) Gecko/20030920 Firebird/0.7+

Simple to describe.

When I launch Firebird, its main windows is zero height.

I built Firebird from a current CVS based trunk.

Here is my .mozconfig :

ac_add_options --enable-optimize='-O1 -G6'
ac_add_options --disable-ldap
ac_add_options --disable-mailnews
ac_add_options
--enable-extensions=cookie,xml-rpc,xmlextras,p3p,pref,transformiix,universalchardet,typeaheadfind,webservices
ac_add_options --enable-crypto
ac_add_options --disable-composer
ac_add_options --disable-profilesharing
ac_add_options --disable-installer
ac_add_options --disable-debug
ac_add_options --disable-test
ac_add_options --enable-static
ac_add_options --disable-shared
ac_add_options --enable-strip
ac_add_options --disable-pedantic

mk_add_options MOZ_PHOENIX=1
export MOZ_PHOENIX=1



Reproducible: Always

Steps to Reproduce:
1.Build firebird (see in details)
2.Launch ir :(


Actual Results:  
zero height window :(

Expected Results:  
Open a right size window.

I think this bug is related to a bugfix in the last 12 hours. I built my
previous working Firebird 12 hours ago.

Could be a 0.7 blocker ?
I compiled a Seamonkey-Build 10 hours ago and it shows the same symptoms. Every
window is opened with minimum height and width. This worked in a build made a
few hours before this.

I'm compiling with an cygwin environment on WinXP with the following options:
ac_add_options --enable-calendar
ac_add_options --disable-ldap
ac_add_options --disable-freetype2
ac_add_options --disable-postscript
ac_add_options --disable-xprint
ac_add_options --disable-installer
ac_add_options --disable-activex
ac_add_options --disable-activex-scripting
ac_add_options --disable-accessibility
ac_add_options --disable-tests
ac_add_options --enable-extensions=wallet,irc,help,inspector,spellcheck,typeahea
dfind,xml-rpc,xmlextras,venkman,p3p,cookie
ac_add_options --enable-crypto
ac_add_options --disable-debug
ac_add_options --disable-jsd
ac_add_options --enable-optimize=-O2
Following your comments, make some tweakings to this bug report.
Component: General → Layout
Product: Firebird → Browser
Summary: Firebird starts in a zero height window :( → Mozilla or Firebird starts in a zero height window :(
Version: unspecified → 1.0 Branch
Moving bug to right component, I hope. Change it if I made a mistake ;)
Component: Layout → GFX
Version: 1.0 Branch → Trunk
-> Browser/XP Apps
Assignee: blake → jag
Component: GFX → XP Apps
QA Contact: asa → pawyskoczka
Summary: Mozilla or Firebird starts in a zero height window :( → Mozilla and Firebird start in a zero height window
Also happens with Linux. With kwm (the KDE window manager) you see nothing when
you start Mozilla.

I guess this is because WindowsXP has a minimum allowed window-size, so you see
a very small window at least, and kwm has not.
OS: Windows XP → All
Ok, this checkin caused this: 
09/19/2003 14:06 
jst%mozilla.jstenback.com  
mozilla/ dom/ src/ base/ nsScreen.h  
1.11  
5/2   
09/19/2003 14:06 
jst%mozilla.jstenback.com  
mozilla/ dom/ src/ base/ nsScreen.cpp  
1.17  
91/144 
Giving nsScreen a facelift. Just code cleanup. r=bugmail@sicking.cc, 
sr=peterv@propagandism.org.  
 
Found this out by backing out one patch by another 
Assignee: jag → jst
Component: XP Apps → DOM Core
That's the patch for bug 218462. I'll see if I can figure this out or if we need
to back out.
Doh, patch coming up.
Assignee: jst → peterv
Priority: -- → P1
Hardware: PC → All
Target Milestone: --- → mozilla1.6alpha
Status: NEW → ASSIGNED
Comment on attachment 131793 [details] [diff] [review]
Fix obvious error.

I'll probably check this in right away, jst can r/sr when he wakes up.
Attachment #131793 - Flags: superreview?(jst)
Attachment #131793 - Flags: review?(jst)
Checked in.
This patch has fixed the problem, thx
Wonderful ! Thanks a lot for the bugfix :)
Comment on attachment 131793 [details] [diff] [review]
Fix obvious error.

Geez, duh, how lame! Gotta love cut n' paste.

r+sr=jst
Attachment #131793 - Flags: superreview?(jst)
Attachment #131793 - Flags: superreview+
Attachment #131793 - Flags: review?(jst)
Attachment #131793 - Flags: review+
Fixed.
Status: ASSIGNED → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
jo V.
Status: RESOLVED → VERIFIED
Component: DOM: Core → DOM: Core & HTML
QA Contact: pawyskoczka → general
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: