popped-up window can't be resized by edges (although can be by lower right corner)



UI Design
13 years ago
9 years ago


(Reporter: Daniel B., Unassigned)



SeaMonkey 1.1 Branch
Windows XP

Firefox Tracking Flags

(Not tracked)





13 years ago
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040616
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040616

A window opened by a link can't be resized by its edges, although it can be
resized using the lower right corner.

The link HTML is:

  <a href="/jsp_utils/PrintPage.jsp" 
     onclick="openPopup('','printFriendlyView',710,650,'no',1,1,0,0,0,0); return
    <img src="/im/ic_print.gif" width="14" height="12" 
         alt="Print-friendly Version" border="0" hspace="4" />
     Print-friendly Version

(Yes, Sun really depends on the Referer: header field.  Ugh!)

Reproducible: Always
Steps to Reproduce:
1. Go to http://java.sun.com/j2se/naming_versioning_5_0.html (as 
   of 2004-09-02, at least).
2. Click on the "Print-friendly Version" link
3. (Note that a new window pops up.  With my current browser settings,
   the window has no Back/Forward/Reload/Stop/location bar).
4. Try to resize the window using the top, left, right, or bottom
   edge of the window.
5. The cursor doesn't change when moved over the edge and trying to drag 
   the edge doesn't do anything.
6. Try to resize the window using the lower-right corner.  (The three
   diagonal lines, at least on my window (Windows XP with XP's
   cartoonishness turned off).
7. The cursor changes over the corner and resizing works as expected.

Actual Results:  
See above.

Expected Results:  
Either both methods should have worked to resize the window, or both 
methods should have done nothing.

(If the window is still resizable, all normal resizing methods should work.
_If_ Mozilla is honoring any request to make the window non-resizable, both
resizing methods should probably fail.  

That's not to say that Mozilla _should_ listen to web-page authors who 
don't keep their damn hands off the user's browser, but I believe that's
already a user-configurable option.)

Comment 1

13 years ago
Oh yeah:  Here's that page's definition of function openPopup:

	popup = window.open(url, name, 'width=' + width + ',height=' + height +
',resizable=' + resizable + ',scrollbars=' + scrollbars
	+ ',menubar=' + menubar + ',toolbar=' + toolbar + ',location=' + location +
',directories=' + directories + ',status=' + status
The bug is that there is a way to resize the window (the page sets resizable=no).

The resizer probably needs to know about the flags the window was opened with....

Comment 3

13 years ago
Perhaps we can set sizemode="fixed" on popup windows, and then we can hide the
resizer with a bit of CSS. As a bonus, if we can also get the window to restyle
us when it's maximized we can hide the resizer then too :-)
Product: Core → Mozilla Application Suite
This is an automated message, with ID "auto-resolve01".

This bug has had no comments for a long time. Statistically, we have found that
bug reports that have not been confirmed by a second user after three months are
highly unlikely to be the source of a fix to the code.

While your input is very important to us, our resources are limited and so we
are asking for your help in focussing our efforts. If you can still reproduce
this problem in the latest version of the product (see below for how to obtain a
copy) or, for feature requests, if it's not present in the latest version and
you still believe we should implement it, please visit the URL of this bug
(given at the top of this mail) and add a comment to that effect, giving more
reproduction information if you have it.

If it is not a problem any longer, you need take no action. If this bug is not
changed in any way in the next two weeks, it will be automatically resolved.
Thank you for your help in this matter.

The latest beta releases can be obtained from:
Firefox:     http://www.mozilla.org/projects/firefox/
Thunderbird: http://www.mozilla.org/products/thunderbird/releases/1.5beta1.html
Seamonkey:   http://www.mozilla.org/projects/seamonkey/


12 years ago
Keywords: helpwanted
part of what you see is mentioned in bug 340932 - in FireFox the print friendly window opens in a smaller window and is (correctly) not resizeable. In suite the window simply isn't opening with the correct size.  see bug 340932

notabug? (neil)

Comment 6

11 years ago
Comment #2 was, of course, spot on the mark.

Comment 7

10 years ago
Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9pre) Gecko/2008033101 SeaMonkey/2.0a1pre
It is work fine

SeaMonkey 1.1.9 Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv: Gecko/20080313 SeaMonkey/1.1.9
Daniel, do this bug still appear in SeaMonkey 1.1.9?

Comment 8

9 years ago
> Daniel, do this bug still appear in SeaMonkey 1.1.9?


(SeaMonkey 1.1.9

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv: Gecko/20080313 SeaMonkey/1.1.9)


9 years ago
Version: Trunk → SeaMonkey 1.1 Branch

Comment 9

9 years ago
This bug is in SeaMonkey 1.1.9 only.

It's works fine in SeaMonkey 2.0a1. 
Ever confirmed: true
Filter "spam" on "guifeatures-nobody-20080610".
Assignee: guifeatures → nobody
QA Contact: guifeatures


9 years ago
Component: XP Apps: GUI Features → UI Design
You need to log in before you can comment on or make changes to this bug.