Last Comment Bug 257775 - popped-up window can't be resized by edges (although can be by lower right corner)
: popped-up window can't be resized by edges (although can be by lower right co...
Status: NEW
: helpwanted
Product: SeaMonkey
Classification: Client Software
Component: UI Design (show other bugs)
: SeaMonkey 1.1 Branch
: x86 Windows XP
: -- normal with 1 vote (vote)
: ---
Assigned To: Nobody; OK to take it and work on it
:
Mentors:
http://java.sun.com/j2se/naming_versi...
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2004-09-02 06:52 PDT by Daniel B.
Modified: 2008-08-03 07:28 PDT (History)
3 users (show)
See Also:
Crash Signature:
(edit)
QA Whiteboard:
Iteration: ---
Points: ---


Attachments

Description Daniel B. 2004-09-02 06:52:52 PDT
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" 
    target="printFriendlyView"     
     onclick="openPopup('','printFriendlyView',710,650,'no',1,1,0,0,0,0); return
true;"
    >
    <img src="/im/ic_print.gif" width="14" height="12" 
         alt="Print-friendly Version" border="0" hspace="4" />
     Print-friendly Version
  </a>

(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 Daniel B. 2004-09-02 06:55:30 PDT
Oh yeah:  Here's that page's definition of function openPopup:

function
openPopup(url,name,width,height,resizable,scrollbars,menubar,toolbar,location,directories,status)
{	
	popup = window.open(url, name, 'width=' + width + ',height=' + height +
',resizable=' + resizable + ',scrollbars=' + scrollbars
	+ ',menubar=' + menubar + ',toolbar=' + toolbar + ',location=' + location +
',directories=' + directories + ',status=' + status
	);
//popup.moveTo(((screen.availWidth-340)/2),((screen.availHeight-360)/2));
	popup.focus();
}
Comment 2 Boris Zbarsky [:bz] 2004-09-02 09:46:22 PDT
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 neil@parkwaycc.co.uk 2004-09-02 10:00:16 PDT
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 :-)
Comment 4 Gervase Markham [:gerv] 2005-09-27 01:59:01 PDT
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/
Comment 5 Wayne Mery (:wsmwk, NI for questions) 2006-09-19 11:39:40 PDT
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 neil@parkwaycc.co.uk 2006-09-19 16:21:10 PDT
Comment #2 was, of course, spot on the mark.
Comment 7 lenochod 2008-04-10 14:10:18 PDT
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:1.8.1.13) Gecko/20080313 SeaMonkey/1.1.9
Daniel, do this bug still appear in SeaMonkey 1.1.9?
Comment 8 Daniel B. 2008-05-06 08:34:21 PDT
> Daniel, do this bug still appear in SeaMonkey 1.1.9?

Yes. 

(SeaMonkey 1.1.9

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

Comment 9 lenochod 2008-06-04 13:29:24 PDT
This bug is in SeaMonkey 1.1.9 only.

It's works fine in SeaMonkey 2.0a1. 
Comment 10 Serge Gautherie (:sgautherie) 2008-06-10 09:59:54 PDT
Filter "spam" on "guifeatures-nobody-20080610".

Note You need to log in before you can comment on or make changes to this bug.