Closed
Bug 267422
Opened 21 years ago
Closed 20 years ago
Print Preview window is partly overlayed by background and is missing scrollbars
Categories
(Toolkit :: Printing, defect)
Tracking
()
VERIFIED
FIXED
People
(Reporter: aha, Assigned: vlad)
References
()
Details
(Keywords: regression, useless-UI, verified1.8)
Attachments
(5 files, 1 obsolete file)
|
54.02 KB,
image/png
|
Details | |
|
28.68 KB,
image/gif
|
Details | |
|
26.32 KB,
image/png
|
Details | |
|
8.22 KB,
patch
|
mtschrep
:
approval1.8b5+
|
Details | Diff | Splinter Review |
|
8.91 KB,
patch
|
Details | Diff | Splinter Review |
2004110104/trunk/W2K
Repro:
1. open http://www.pcmag.com/article2/0,1759,1937,00.asp
2. open Print Preview window
3. in Page Setup switch Print Backgrounds
Actual:
Part of Print Preview window is overlayed by XUL default background.
Netscape 7.2 (based on 1.7.2) doesn't contain this bug.
| Reporter | ||
Comment 1•21 years ago
|
||
Comment 2•21 years ago
|
||
Can you narrow down the regression window here?
| Reporter | ||
Comment 3•21 years ago
|
||
Boris: 2004101107 - okay, 2004101206 - bad
Comment 4•21 years ago
|
||
Sounds like widget change caching fallout.... I assume this is still happening
in a current trunk build? (I'd test, but mine crashes when I try to
print-preview that page).
Blocks: 238493
| Reporter | ||
Comment 5•21 years ago
|
||
Boris: I found that page by crash bug 252364 (maybe you should reopen it), bug
265617 is also related.
Comment 6•21 years ago
|
||
No, I see a totally different crash from that one, and only in my opt build....
<sigh>
| Reporter | ||
Comment 7•21 years ago
|
||
Retested with 2004111404/trunk/W2K and problem is still here.
My GTK1 build doesn't crash, and doesn't display the bug because there's no Page
Setup controls in Print Preview in GTK builds...
Comment 9•21 years ago
|
||
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8a5) Gecko/20041122
Just noticed this in 1.8a5, and found easier reproducing steps...
I can get this bug to occur on any page, and just need to change the scale from
the toolbar to see it. Resizing the window makes the obtruding chrome return to
normal.
Comment 10•20 years ago
|
||
*** Bug 283170 has been marked as a duplicate of this bug. ***
| Reporter | ||
Updated•20 years ago
|
Flags: blocking1.8b2?
Updated•20 years ago
|
Flags: blocking-aviary1.1?
Comment 11•20 years ago
|
||
I can confirm this bug still exists in the most recent nightly...this is a
pretty nasty one. It occurs with any page that I do a preview for and then
either try to change the layout (portrait/landscape) or scale. In fact,
attempting to change the layout from portrait to landscape, or vice versa, seems
to do nothing at all, but I'm not sure if that is this bug or not. This is with
WinXP SP2.
Mozilla/5.0 (Windows; compatible; U; Windows NT 5.1; en-US; rv:1.8b2)
Gecko/20050325 Firefox/1.0+
Updated•20 years ago
|
Severity: normal → major
Comment 12•20 years ago
|
||
Nasty bug that's still in latest nightly builds.
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b2) Gecko/20050417
Firefox/1.0+
Updated•20 years ago
|
Assignee: printing → roc
Updated•20 years ago
|
Keywords: useless-UI
Updated•20 years ago
|
Summary: Print Preview windows is partly overlayed by background → Print Preview windows is partly overlayed by background and is missing scrollbars
Updated•20 years ago
|
Summary: Print Preview windows is partly overlayed by background and is missing scrollbars → Print Preview window is partly overlayed by background and is missing scrollbars
Updated•20 years ago
|
Flags: blocking1.8b2? → blocking1.8b2-
Comment 13•20 years ago
|
||
*** Bug 298492 has been marked as a duplicate of this bug. ***
Comment 14•20 years ago
|
||
*** Bug 296477 has been marked as a duplicate of this bug. ***
Comment 15•20 years ago
|
||
*** Bug 278031 has been marked as a duplicate of this bug. ***
Comment 16•20 years ago
|
||
I confirm the bug ...
When you rescale, it just mask a part of the page, and then, resizing do nothing
but a vertical scroll came ...
And, for some page, it drives to a crash as bug #299107
Comment 17•20 years ago
|
||
Confirmed this is still an issue and makes Print Preview virtually unusable for
me. Requesting blocking on 1.8b4/1.1.
BUILD: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b3) Gecko/20050708
Firefox/1.0+ ID:2005070808
Flags: blocking1.8b4?
Updated•20 years ago
|
Flags: blocking-aviary1.1?
Comment 18•20 years ago
|
||
Is 1.1 really going to go out with this bug still not fixed? This is a major UI
regression, which causes the print preview window to be pretty much useless when
changing anything from page scaling to portrait/landscape in the UI.
Comment 19•20 years ago
|
||
Is 1.1 really going to go out with this bug still not fixed? This is a major UI
regression, which causes the print preview window to be pretty much useless when
changing anything from page scaling to portrait/landscape in the UI.
Comment 20•20 years ago
|
||
Yes, it is really annoying ... the functionnality donn't work ...
Maybe it is too late to fix as Deer Park Alpha 2 is gone ... but it is a pity
Comment 21•20 years ago
|
||
(In reply to comment #19)
> Is 1.1 really going to go out with this bug still not fixed? This is a major UI
> regression, which causes the print preview window to be pretty much useless when
> changing anything from page scaling to portrait/landscape in the UI.
Hopefully not, the reason the blocking aviary1.1 flag was removed is that this
needs to be fixed before 1.8b4 if it is to make firefox 1.1. (see some of the
other bugs in which simular flag changes were made). Hopefully this will be
granted blocking 1.8b4 shortly.
Comment 22•20 years ago
|
||
*** Bug 300660 has been marked as a duplicate of this bug. ***
Windows windows windows!
Updated•20 years ago
|
Flags: blocking1.8b4? → blocking1.8b4-
Updated•20 years ago
|
Flags: blocking-aviary2.0?
We've got to fix this before release, but I think it's WIndows only.
Flags: blocking-aviary1.1?
Updated•20 years ago
|
Flags: blocking-aviary1.5? → blocking-aviary1.5-
Comment 25•20 years ago
|
||
Any reason this was set blocking-aviary1.5- ? As I said before, this is a clear
regression that I doubt you would want in a release. And roc said it needed to
be fixed, also!
Comment 26•20 years ago
|
||
There is no overlaying part in the print preview anymore. Now the scale dropdown
does simply nothing.
I get the following error each time i select a value:
Error: uncaught exception: [Exception... "Component returned failure code:
0x80004005 (NS_ERROR_FAILURE)
[nsIPrintSettingsService.savePrintSettingsToPrefs]" nsresult: "0x80004005
(NS_ERROR_FAILURE)" location: "JS frame ::
chrome://global/content/printUtils.js :: anonymous :: line 86" data: no]
Comment 27•20 years ago
|
||
José: i think this is another regression, file new bug for this (or maybe use
Bug 302495 for that)?
Comment 28•20 years ago
|
||
(In reply to comment #27)
> José: i think this is another regression, file new bug for this (or maybe use
> Bug 302495 for that)?
Yes, you are right. That bug is what I see
Comment 29•20 years ago
|
||
*** Bug 302861 has been marked as a duplicate of this bug. ***
Is this bug still happening?
Yup, it's very visible on build Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US;
rv:1.9a1) Gecko/20050822 Firefox/1.6a1
Asa/mconnor, we *have* to fix this for FF1.5. It's just incredibly bad. Look at
the screenshot.
Flags: blocking1.8b4- → blocking1.8b4?
Comment 33•20 years ago
|
||
attempting to reproduce this with
http://www.pcmag.com/article2/0,1759,1937,00.asp on Mozilla/5.0 (Windows; U;
Windows NT 5.1; en-US; rv:1.9a1) Gecko/20050816
FWIW this link + print preview doesn't behave the same as on my XP home system
with FF 20050808.
I eventually crashed TB8635705E stack signature 0x6f72504c be3ae473
I haven't found a bug that matches this signature.
Comment 34•20 years ago
|
||
I agree with comment 32, this is a serious UI regression. It's a badly broken
feature that should not be available in it this state
Comment 35•20 years ago
|
||
Roc - Are you able to spend any cycles on this?
Flags: blocking1.8b4? → blocking1.8b4+
I would, but I don't have a Windows setup.
*** Bug 306647 has been marked as a duplicate of this bug. ***
Comment 38•20 years ago
|
||
Comment 39•20 years ago
|
||
Same problem in OS/2 trunk. Resize fixes it. In addition, no matter what scale I
set, it prints exactly the same thing. Only by changing my font-size pref can I
make it print larger or smaller.
OS: Windows 2000 → All
Comment 40•20 years ago
|
||
(In reply to comment #39)
> In addition, no matter what scale I
> set, it prints exactly the same thing. Only by changing my font-size pref can I
> make it print larger or smaller.
That issue is addressed in bug 302495.
Comment 41•20 years ago
|
||
*** Bug 269703 has been marked as a duplicate of this bug. ***
Comment 42•20 years ago
|
||
*** Bug 307633 has been marked as a duplicate of this bug. ***
Comment 43•20 years ago
|
||
*** Bug 307746 has been marked as a duplicate of this bug. ***
Comment 44•20 years ago
|
||
*** Bug 309408 has been marked as a duplicate of this bug. ***
Comment 45•20 years ago
|
||
David, can you help us with this? It's likely to fall of the blocker list if we
don't get movement on it ASAP.
Comment 46•20 years ago
|
||
(In reply to comment #45)
> David, can you help us with this? It's likely to fall of the blocker list if
we
> don't get movement on it ASAP.
yeah, this is a major bug and definitely should be fixed.
I had a look at this. It is a real showstopper IMHO.
I wonder whether Boris's fix in 301411 might have helped here. I'm making a
build to find out.
stephend told me on IRC that this bug is still present after that fix.
We need someone with a Windows box on their desk to work on this. Whoever
volunteers or is volunteered, I can help walk through with them via IRC.
Comment 49•20 years ago
|
||
vlad or pav, can you guys help us out here?
| Assignee | ||
Comment 50•20 years ago
|
||
I've been looking, but not making much progress -- I'm not familiar with
printing at all. However, it seems that this is more of a cosmetic issue (but a
bad one); the real issue is that print preview is almost entirely useless. Most
of the controls don't do anything -- with the patch in 302495, the various
buttons/dropdowns (scale, portrait/landscape) retain their state when clicked
now, but they still have no effect on the final page. Fixing this particular
gray-area issue will still leave print preview mostly broken.
Can roc or someone who knows printing but doesn't have time to look into it (or
a windows box) leave a comment suggesting possible directions to look?
Comment 51•20 years ago
|
||
radical suggestion, I'm sure, but perhaps we should just remove this broken
feature. The usability of the feature when it was "working" was questionable at
best.
Comment 52•20 years ago
|
||
(In reply to comment #51)
> radical suggestion, I'm sure, but perhaps we should just remove this broken
> feature. The usability of the feature when it was "working" was questionable at
> best.
Remove print preview or remove the print preview toolbar for changing print
settings? I can't say for standard web users how useful either is, but for web
developers like myself it's excellent in seeing how pages will most likely print
without actually printing them. Changing between landscape and portrait in the
print preview window is a tool I use quite often.
| Assignee | ||
Comment 53•20 years ago
|
||
Removing print preview is the wrong thing to do; I think I can get a fix for
this very soon (also a fix for 302495, which I already have fixed).
Assignee: roc → vladimir
| Assignee | ||
Comment 54•20 years ago
|
||
This is not an ideal fix. However, it does work. This also fixes bug 302495.
Whenever a print setting is changed, to get the right reflow mechanics, this
forces an exit/enter of print preview mode; in firefox, this causes the
menus/toolbars to flash up on the screen for a second. It's ugly, but it's
better than having broken print preview, and things get displayed correctly at
that point. Print Preview UI needs to be reworked on the trunk (taking over
the window is a pretty bad idea).
kInitSaveNativeData isn't used/handled anywhere in the code, so
PrintUtils.savePrintSettings() wasn't saving anything useful. Got rid of that
function and had the toolbar save expliticlty what it needs to save. We also
don't clear out the enter/exit pp callbacks once we've called them once; this
/shouldn't/ break anything, but I'm not sure if tbird or something has some
complex behaviour in here.
Setting r? mscott/bz, since I have no idea who can review this quickly..
Attachment #198372 -
Flags: superreview?(bzbarsky)
Attachment #198372 -
Flags: review?(mscott)
| Assignee | ||
Updated•20 years ago
|
Status: NEW → ASSIGNED
Whiteboard: needs-review
Comment 55•20 years ago
|
||
Vlad, I believe bz is gone until tomorrow evening. Maybe we can use mconnor here
instead.
Comment 56•20 years ago
|
||
Comment on attachment 198372 [details] [diff] [review]
print-preview-fix.patch
switching to mike for the 2nd review since bz is gone.
I've been testing with this patch and can confirm that it makes things better
for me.
Do you need the double semi colons here?
+ <body><![CDATA[
+ ;;
Attachment #198372 -
Flags: superreview?(mconnor)
Attachment #198372 -
Flags: superreview?(bzbarsky)
Attachment #198372 -
Flags: review?(mscott)
Attachment #198372 -
Flags: review+
| Assignee | ||
Comment 57•20 years ago
|
||
Whoops, nope; the semicolonos can go. In further thinking about this I think we
can get away with just hiding/showing the print preview toolbar -- which would
be much less intrusive. I might have an updated patch in a second.
| Assignee | ||
Comment 58•20 years ago
|
||
Much better patch. Just hide/show the print preview toolbar; it doesn't even
look horrible doing it this way, and there's very little risk since we don't
change the semantics of the preview callbacks.
Attachment #198379 -
Flags: superreview?(mconnor)
Attachment #198379 -
Flags: review?(mscott)
Comment 59•20 years ago
|
||
I wouldn't be able to review this anyway -- I don't know this code.
Neil, xpfe might need these changes...
| Assignee | ||
Updated•20 years ago
|
Attachment #198372 -
Attachment is obsolete: true
Attachment #198372 -
Flags: superreview?(mconnor)
Updated•20 years ago
|
Attachment #198379 -
Flags: review?(mscott) → review+
Updated•20 years ago
|
Attachment #198379 -
Flags: superreview?(mconnor) → superreview+
| Assignee | ||
Updated•20 years ago
|
Attachment #198379 -
Flags: approval1.8b5?
Updated•20 years ago
|
Whiteboard: needs-review → needs-approval
Updated•20 years ago
|
Attachment #198379 -
Flags: approval1.8b5? → approval1.8b5+
| Assignee | ||
Comment 60•20 years ago
|
||
Argh. bug 302495 and bug 275387 are identical; the patch for 275387 landed
while I was working on this today. I'm going to change the way that it's
handled though, to remove some unnecessary calls.
In any case, this is what's really going in to both branch and trunk. Also
fixes 302495 and 275387.
Updated•20 years ago
|
Attachment #198401 -
Flags: review+
| Assignee | ||
Comment 61•20 years ago
|
||
Checked in on branch and trunk.
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Flags: blocking-aviary2.0?
Keywords: fixed1.8
Resolution: --- → FIXED
Whiteboard: needs-approval
This bug was filed against Mozilla before it became SeaMonkey, so it's not
really fixed until someone lands a fix for SeaMonkey, right?
| Assignee | ||
Comment 63•20 years ago
|
||
Once Seamonkey switches to using toolkit for print preview, it'll get the fixes too!
| Reporter | ||
Comment 64•20 years ago
|
||
I really appreciate your fixes (after 11 months), but I created this bug for
Mozilla Suite and AFAIK isn't fixed in SeaMonkey. REOPEN.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
| Assignee | ||
Comment 65•20 years ago
|
||
Then this is the wrong component, if it's intended to be a Seamonkey bug; please
file a new bug against the Mozilla Application Suite. (Though, Core -> Print
Preview isn't useful either; if anything this should've become Toolkit ->
Printing.) However, this bug is fixed for the product that is shipping.
Status: REOPENED → RESOLVED
Closed: 20 years ago → 20 years ago
Resolution: --- → FIXED
| Reporter | ||
Comment 66•20 years ago
|
||
Grrr. This bug was filled in correct product Mozilla and its Print Preview. But
then were Bugzilla components reorganisation and Print Preview was moved to
Core. Moving this bug into Toolkit.
So I filled this bug for Mozilla/SeaMonkey for second time -> bug 311028.
No longer blocks: 311028
Component: Print Preview → Printing
Flags: superreview+
Flags: review+
Product: Core → Toolkit
Comment 67•20 years ago
|
||
The root cause of this issue appears to screw with "View-> Text Size". If you
lower the text size on a particular page and then click on File-> Print Preview
the text size is reverted back to the default size. ARGH!!! It sometimes
affects every FF window where you've modified the text size via "View-> Text Size".
~B
Comment 68•20 years ago
|
||
(In reply to comment #67)
> The root cause of this issue appears to screw with "View-> Text Size". If you
> lower the text size on a particular page and then click on File-> Print Preview
> the text size is reverted back to the default size.
That's bug 172520.
Updated•20 years ago
|
Status: RESOLVED → VERIFIED
Keywords: fixed1.8 → verified1.8
Updated•19 years ago
|
Flags: in-testsuite-
You need to log in
before you can comment on or make changes to this bug.
Description
•