Closed Bug 270000 Opened 20 years ago Closed 12 years ago

popups do not resize correctly on various javascript galleries

Categories

(Firefox :: Settings UI, defect)

x86
Windows 2000
defect
Not set
major

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: justink, Unassigned)

References

()

Details

Attachments

(3 files)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.0; rv:1.7.3) Gecko/20041001 Firefox/0.10.1
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; rv:1.7.3) Gecko/20041001 Firefox/0.10.1

the default selections for the advanced javascript should all be selected.
otherwise, a few different types of javascript popups do not work right. i've
seen this on multiple sites this morning alone.

Reproducible: Always
Steps to Reproduce:
1. go to
http://evanwilliams.missiondata.net/catalog/product_info.php/products_id/1?osCsid=e4f0d9e0107d93fd213c4cbc2a661ba3
or
http://icon.missiondata.net/properties-cottages.shtml
2. click on the product image in the store or the image gallery on the other site.
3. the windows are not sizing correctly at all.

Actual Results:  
the windows do not size correctly at all. i thought it was a browser BUG since
the windows showed either no picture (in the store, you see a pagbg, but no
image without resizing) or, the window just doesn't resize the way it should.



Expected Results:  
If you go into advanced javascript options and check all of the boxes, you will
see the expected results. I'm not sure if this is because of the status bar or
because of the window resizing.

This seems to be only in the recent build of firefox, but i think it's a major
issue if all of the programs (mozilla/firefox/netscape) have the same default
settings. This inhibits the proper viewing of many existing sites and seems like
a strange adjustment of browser defaults.
The default in Mozilla IS that everything is allowed until you change it.
And I believe that FF in a default profile also allows everything.

-> FF (and if FF people confirm that this the default is ok, mark this bug invalid)
Assignee: general → firefox
Component: Browser-General → Preferences
Product: Browser → Firefox
QA Contact: general → mconnor
not in ff on my install nor my coworker's install.
Please recheck this bug against a recent nightly build[1] to verify that the
behavior still exists and post the results here.

Also, please supply a testcase to help others verify this behavior.

Thanks.

[1] ftp://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-mozilla1.8/
Keywords: qawanted, verifyme
Mozilla/5.0 (Windows; U; Windows NT 5.1; es-ES; rv:1.8b4) Gecko/20050908
Firefox/1.4

On http://icon.missiondata.net/properties-cottages.shtml the window resized
correctly but in
http://evanwilliams.missiondata.net/catalog/product_info.php/products_id/1?osCsid=e4f0d9e0107d93fd213c4cbc2a661ba3
the windows resizes too small.

Maybe is a problem with a non-stadard javascript
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8b4) Gecko/20050908
Firefox/1.4

I tried the popup on the following page and the window size seemed fine:

http://evanwilliams.missiondata.net/catalog/product_info.php/products_id/1?osCsid=e4f0d9e0107d93fd213c4cbc2a661ba3


Here is the JS the page is using:

document.write('<a
href="javascript:popupWindow(\'http://evanwilliams.missiondata.net/catalog/popup_image.php/pID/1?osCsid=e4f0d9e0107d93fd213c4cbc2a661ba3\')"><img
src="images/images.jpg" border="0" alt="Logo Shirt" title=" Logo Shirt "
width="100" height="80" hspace="5" vspace="5"><br>Click to enlarge</a>');

function popupWindow(url){

window.open(url,'popupWindow','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=yes,copyhistory=no,width=100,height=100,screenX=150,screenY=150,top=150,left=150')

}
Did further testing with Nukeador. We came to the conclusion that our configs
were different.

My config:
----------
Advanced JS: (unchecked) Move or resize existing windows
Tabs: (unchecked) Force links that open in windows to open in:

Nukeador's config:
------------------
Advanced JS: (checked) Move or resize existing windows
Tabs: (checked) Force links that open in windows to open in:
                    - (checked) a new tab

We're not sure the behavior seen in comment #4 is actually a bug, since
theoretically Firefox is doing what it was told to do.
The main problem is that FF tabs couldn't be resizeable individually like Opera
does.
Opera tabs can be resized without resize the whole browser.
Would be nice to implement this feature to Firefox tabs.
I can confirm this with the evenawilliams site looking at their Jackets.

note: IE flashes the small window (same size we make), closes it, then opens a
window sized correctly for the image.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: qawanted, verifyme
sorry for bugspam, long-overdue mass reassign of ancient QA contact bugs,
filter on "beltznerLovesGoats" to get rid of this mass change
QA Contact: mconnor → preferences
Assignee: bross2 → nobody
The page whose URL is associated to this bug no longer exists. If you still think
this problem applies, please file a new bug with new steps to reproduce. Thanks!
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → INVALID
Resolution: INVALID → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: