All users were logged out of Bugzilla on October 13th, 2018

If using onBlur event in body tag to close the window, this window cannot be printed.

RESOLVED EXPIRED

Status

RESOLVED EXPIRED
15 years ago
13 years ago

People

(Reporter: sgaerner, Unassigned)

Tracking

Trunk
x86
Linux

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

15 years ago
User-Agent:       
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031024 Debian/1.5-2

I visited a website that uses the following code in the body tag:
  onBlur="javascript:self.close()"
When I want to print this page, view the print preview or open the source view
this window is closed. If opening the source window, the source is displayed.
But if I want to print the print dialog is opened and I can changed the options,
but printing is not performed. The same occurres for the print preview.
The website is openend in a new window that contains only the menubar and the
statusbar, no toolbar.

Reproducible: Always

Steps to Reproduce:
1. Create a website that uses the above mentioned JavaScript code for onBlur.
2. Try to print this page.

Actual Results:  
The window that I want to print is closed and no printing action is performed.

Expected Results:  
Printing the page is the behaviour I expected.
The problem is that once the window closes there is nothing to print.... and
when you open the print dialog, the page gets blurred.

I'm not really sure what we can do here... perhaps the print dialog should be
modal?  The problem is that holding on to the document is not enough, since
window closure tears down the DOM.

Updated

15 years ago
Severity: major → normal
Product: Browser → Seamonkey
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/
This bug has been automatically resolved after a period of inactivity (see above
comment). If anyone thinks this is incorrect, they should feel free to reopen it.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 13 years ago
Resolution: --- → EXPIRED
You need to log in before you can comment on or make changes to this bug.