Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 324244

Summary: [Browser-Safari] windows opened through Javascript ignore size setting
Product: [Eclipse Project] Platform Reporter: Christopher Deckers <chrriis>
Component: SWTAssignee: Grant Gayed <grant_gayed>
Status: CLOSED DUPLICATE QA Contact:
Severity: major    
Priority: P3 CC: ptalbot
Version: 3.6   
Target Milestone: ---   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:
Attachments:
Description Flags
browser with a page containing a JS window.open with width/height none

Description Christopher Deckers CLA 2010-09-01 16:20:44 EDT
Build Identifier: SWT 3.7M1

window.open can specify the width and height. In case of Safari, these are ignored.
Popup windows for things like HTML editors are opened this way to an appropriate size. Because of this bug, it is not user friendly (dialog spans the whole screen) and confuses the users.

Reproducible: Always

Steps to Reproduce:
1. Modify Snippet 270.
2. browser.setText(x) where x contains a button with a JS action to open a window with specific width and height.
3. click that button.
Comment 1 Christopher Deckers CLA 2010-09-01 16:22:06 EDT
Created attachment 178003 [details]
browser with a page containing a JS window.open with width/height
Comment 2 Patrick Talbot CLA 2010-09-02 00:06:35 EDT
Yep, same thing here on Mac OS X 10.6.4 - Java 1.6.0_20
Comment 3 Grant Gayed CLA 2010-09-15 12:51:38 EDT

*** This bug has been marked as a duplicate of bug 223158 ***