Closed Bug 345749 Opened 18 years ago Closed 18 years ago

Page Setup window does not remember its last position when reopened

Categories

(Core :: Printing: Output, defect)

defect
Not set
minor

Tracking

()

RESOLVED FIXED

People

(Reporter: MatsPalmgren_bugz, Assigned: MatsPalmgren_bugz)

References

Details

(Keywords: assertion)

Attachments

(2 files, 1 obsolete file)

Page Setup window does not remember its last position when reopened.

Also, the following assertion is occurs when opening the window:
###!!! ASSERTION: getElementById(""), fix caller?: '!aId.IsEmpty()', file nsXULDocument.cpp, line 1595

STEPS TO REPRODUCE
1. File -> Page Setup

BUILDS AND PLATFORMS TESTED
Bug occurs in SeaMonkey trunk debug build on Linux
Bug occurs in Firefox 2.0b1 on Linux
Attached file stack
This is the stack when the assertion occurs, the window is trying to
persist screenX/Y using id="" ...
Attached patch Patch rev. 1 (obsolete) — Splinter Review
This makes the window appear in its last position and does not trigger
the assertion.
Attachment #230463 - Flags: superreview?(neil)
Attachment #230463 - Flags: review?(neil)
Comment on attachment 230463 [details] [diff] [review]
Patch rev. 1

For some reason (I searched my disk and bugzilla and found nothing relevant) my local tree already has this file patched, but with an id of printPageSetupDialog, which I suggest is slightly more accurate ;-)
Attachment #230463 - Flags: superreview?(neil)
Attachment #230463 - Flags: superreview+
Attachment #230463 - Flags: review?(neil)
Attachment #230463 - Flags: review+
Attached patch Patch rev. 2Splinter Review
printPageSetupDialog it is...
Attachment #230463 - Attachment is obsolete: true
Attachment #230584 - Flags: superreview+
Attachment #230584 - Flags: review+
Comment on attachment 230584 [details] [diff] [review]
Patch rev. 2

Checked in to trunk 2006-07-25 08:50 PDT.
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Blocks: 344397
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: