Closed Bug 224450 Opened 21 years ago Closed 21 years ago

print preview toolbar: some buttons broken, some icons missing

Categories

(Firefox :: Menus, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

VERIFIED FIXED

People

(Reporter: steffen.wilberg, Assigned: steffen.wilberg)

Details

(Keywords: regression)

Attachments

(1 file, 1 obsolete file)

Print preview toolbar:
broken: Page Setup, switching portrait/landscape, modifying scale
missing icons: arrows, portrait, Landscape

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6a) Gecko/20031102
Firebird/0.7+ (Steffen)
It's printPreview.css, not printpreview.css.
Menu File->Page Setup works. Print-Preview->Page Setup doesn't.

Oh, I guess this helps: The functions aren't really broken, but you have to
close print preview and open it again to see the effect, e.g. portrait->landscape.
js console said: doPageSetup is not a function.
The Page Setup dialog works now, but you still have to close print preview and
open it again to see your changes.
Attachment #134640 - Attachment is obsolete: true
Comment on attachment 134641 [details] [diff] [review]
use PrintUtils.showPageSetup() instead of this.doPageSetup()

This was wrong. We want to use the method doPageSetup.
But this.doPageSetup() doesn't work. Maybe just doPageSetup or
parentnode.doPageSetup. Both work, but I don't know which one is correct.
Attachment #134641 - Attachment is obsolete: true
Attachment #134640 - Attachment is obsolete: false
I meant "parentNode" in my last comment.
I don't know how to go on.
I prefer this.parentNode.doPageSetup: it unambiguously indicates which routine
it used.
Those buttons don't appear on linux, I planned to test it on windows with a
nightly :)
-> Steffen
Assignee: p_ch → steffen.wilberg
and marking fixed.
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Thanks for checking in, Pierre.
But the problem I mentioned in comment 2 remains: The settings don't take effect
until you close and restart print preview. I'm afraid I'm unable to fix that.
CCing Pierre: Please have a look at comment 9.
Steffen: I know I screwed the PP: the settings are not really saved. I'll need a
windows nightly to test that. I'll do that tomorrow probably, or the day after.
verified fixed 2003-11-09
Status: RESOLVED → VERIFIED
QA Contact: bugzilla → menus
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: