Closed Bug 520894 Opened 15 years ago Closed 15 years ago

OS/2 browser doesn't show anything in the main window

Categories

(Core Graveyard :: Widget: OS/2, defect)

x86
OS/2
defect
Not set
critical

Tracking

(status1.9.2 beta2-fixed)

RESOLVED FIXED
Tracking Status
status1.9.2 --- beta2-fixed

People

(Reporter: wuno, Assigned: dragtext)

References

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (OS/2; U; Warp 4.5; en-US; rv:1.9.3a1pre) Gecko/20091006 Minefield/3.7a1pre
Build Identifier: 

After checkin of bug515446 the browser builds fine, address bar and bookmarks are present, the tabs show the title of a webpage opened but not the page (and scrollbars, which may be absent because there's nothing to scroll). The main window is just a background.
Not surely (but most likely) related opening the history or bookmarks window will crash the browser.
Since the bits of bug515446 were also checked into 1.9.2 we will have to find a fix soon.

Reproducible: Always
Blocks: 515446
Version: unspecified → Trunk
Got it fixed, patch in a few minutes...
Assignee: mozilla → dragtext
The problem was these lines in nsWindow::Create where hwndP was accidentally redefined.
  HWND hwndP = (HWND)aNativeParent;
  if (!hwndP) {
    HWND hwndP = aParent ? [etc]
  }

Since this code was a mashup of two previously separate methods, it was ..uhh.. confusing so I rewrote it for greater clarity.
Attachment #404997 - Flags: review?(mozilla)
Uouhps. Sorry for not paying enough attention.
Attachment #404997 - Flags: review?(mozilla) → review+
http://hg.mozilla.org/mozilla-central/rev/4634de0ae97c
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
This needs to be pushed to the 1.9.2 branch as well.  I just looked at that version of nsWindow.cpp & found the same error there.
This was apparently too late for beta1, at least the tag FIREFOX_3_6b1_RELEASE does not contain the change.
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: