Closed Bug 350684 Opened 18 years ago Closed 17 years ago

Print preview of Wikipedia page hangs if scale factor other than 100%

Categories

(Core :: Print Preview, defect)

x86
All
defect
Not set
critical

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: Franke, Unassigned)

References

()

Details

(Keywords: hang)

Attachments

(2 files, 1 obsolete file)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.6) Gecko/20060729 SeaMonkey/1.0.4 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.6) Gecko/20060729 SeaMonkey/1.0.4 SM 1.0.4 hangs on print preview of specific Wikipedia page if landscape orientation is selected. Reproducible: Always Steps to Reproduce: 1. Open http://de.wikipedia.org/wiki/Elisabeth_von_%C3%96sterreich-Ungarn 2. File|Print Preview 3. Select Landscape Actual Results: SeaMonkey hangs with 100% CPU. Expected Results: SeaMonkey should not hang. Portrait orientation is OK. Also reproducible with SM 1.0b and SM 1.0.3. The permanent link to the page: http://de.wikipedia.org/w/index.php?title=Elisabeth_von_%C3%96sterreich-Ungarn&oldid=20695830
wfm Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.8.1b2) Gecko/20060829 SeaMonkey/1.1b Canon Bubblejet BJ 330
Severity: normal → major
Keywords: hang, qawanted
This version was OK: http://de.wikipedia.org/w/index.php?title=Elisabeth_von_%C3%96sterreich-Ungarn&oldid=17168166&printable=yes This next version results in a hang: http://de.wikipedia.org/w/index.php?title=Elisabeth_von_%C3%96sterreich-Ungarn&oldid=17183745&printable=yes The only significant difference are image links in 4 nested div sections. Bug could not be reproduced with locally stored version of the page. Hope this helps.
wfm Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.8.0.6) Gecko/20060729 SeaMonkey/1.0.4 Printer driver: Canon Bubblejet BJ 330 tested using screen resolution 800x600 TrueColor(24bit) http://de.wikipedia.org/wiki/Elisabeth_von_%C3%96sterreich-Ungarn http://de.wikipedia.org/w/index.php?title=Elisabeth_von_%C3%96sterreich-Ungarn&oldid=17183745&printable=yes If you are using this browser version, the "Version:" field of this bug should show "1.8Branch", not "Trunk" Do you use extensions?
confirming Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.8.1b2) Gecko/20060829 BonEcho/2.0b2 Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.8.1b2) Gecko/20060830 SeaMonkey/1.1b Steps to Reproduce: 1. Open http://de.wikipedia.org/w/index.php?title=Elisabeth_von_%C3%96sterreich-Ungarn&oldid=20695830 2. File|Print Preview 3. select "Shrink to Fit" 3. Select Landscape 4. If it doesn't hang, change size to 175%, or 125% I didn't see hanging at 100%. Firefox standard seems to be shrink-to-fit.
Status: UNCONFIRMED → NEW
Ever confirmed: true
I've also seen this bug on the "working" URL of comment 2: http://de.wikipedia.org/w/index.php?title=Elisabeth_von_%C3%96sterreich-Ungarn&oldid=17168166&printable=yes It doesn't depend on Landscape Mode, it depends on scale factor. Steps to reproduce: 1. open permanent link from comment 0: http://de.wikipedia.org/w/index.php?title=Elisabeth_von_%C3%96sterreich-Ungarn&oldid=20695830 2. open Print Preview, ensure Portrait mode, 100%, close Print Preview 3. open Print Preview, Portrait Mode, select 175% ==> Hang
Summary: Print preview of Wikipedia page hangs if Landscape orientation is selected → Print preview of Wikipedia page hangs if scale factor other than 100%
Version: Trunk → 1.8 Branch
Using Firefox 2.0b2 I retested permanent link from comment 0: http://de.wikipedia.org/w/index.php?title=Elisabeth_von_%C3%96sterreich-Ungarn&oldid=20695830 tested all standard scale factors in Portrait mode: ok from 30% up to 150%, hanging: 175%, 200% in Landscape mode: ok from 30% up to 90%, hanging: 100%, 125% custom Scale factors in Landscape mode: working: 94%, 96%, 97% hanging: 98% Conclusion: 1. in Portrait Mode Scale factors > 150% are hanging (exact limit not tested) 2. in Landscape Mode Scale factors > 97% are hanging
Comment on attachment 236113 [details] Diff between last working and first not working version of the page (In reply to comment #5) > I've also seen this bug on the "working" URL of comment 2: > [...] Agree. Attachment is misleading, set obsolete.
Attachment #236113 - Attachment is obsolete: true
Possibly related to bug 323652. A minimal testcase would help.
Severity: major → critical
Depends on: 323652
OS: Windows XP → All
Attached file testcase
I get this when minimising that wikipedia page.
Keywords: qawanted
(In reply to comment #10) > Created an attachment (id=237852) [edit] > testcase > > I get this when minimising that wikipedia page. testcase WFM Portrait & Landscape Mode, tested up to 200% Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.8.1b2) Gecko/20060911 BonEcho/2.0b2 Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.8.1b2) Gecko/20060910 SeaMonkey/1.1b original URL still hanging tested on Firefox, memory is growing: http://de.wikipedia.org/wiki/Elisabeth_von_%C3%96sterreich-Ungarn
Flags: blocking1.9?
Confirmed also for trunk on Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9a6pre) Gecko/20070613 Minefield/3.0a6pre ID:2007061304 [cairo] When i use the testcase from comment #10 i hang and the memory consume raises from around 150 MB to over 400 MB (then i killed the firefox process).
Version: 1.8 Branch → Trunk
Marking blocking 1.9 per Printing bug triage with Vlad, Stuart, and Dbaron.
Flags: blocking1.9? → blocking1.9+
Depends on: 386263
Works for me in the latest trunk build: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a7pre) Gecko/2007072205 Minefield/3.0a7pre May have something to do with printer specified, before setting up a printer an error did occur. Wasn't able to reproduce with new profile. Also, prev page and next page controls are completely whacky, clicking on the next page button in the print preview window goes to the last page even though the page number shows 2 (of 7). Repeatedly clicking next page increments the numbers until it hits the last page.
URL still hangs for me, 100% CPU, memory is NOT growing. Page Setup: Portrait Mode, 150% Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.9a7pre) Gecko/2007072304 Minefield/3.0a7pre
Blocks: 392439
works for me in Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9a9pre) Gecko/2007092605 Minefield/3.0a9pre ID:2007092605 Mats, do you still see this problem ?
The URL on this bug and bug 368515 is WFM 2007092604 Linux. It could be that the pages has changed though. I got a hang on the URL of duplicate bug 375230 with scale 150% in Portrait mode (100% CPU, memory growing), and crashed with 110% Landscape: bp-1c4d29e6-6c94-11dc-a8dc-001a4bd46e84 and crashed with 90% Portrait: bp-6af683fd-6c95-11dc-864a-001a4bd43ef6 The new hang/crashes was not reproducible so it could be an entirely different bug -- the hang here used to be 100% reproducible IIRC.
Flags: in-testsuite?
I confirm that Firefox 2.0.0.7 hangs on the URL in 375320, just as Mats reports: 100% CPU usage.
this WFM with both the url in this bug as well as the bug in
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → WORKSFORME
This is not resolved. I have 2.0.0.8. The recipe detailed in comment #5 of this bug causes the hang. I don't know how to change the status but it DOES NOT WORK FOR ME.
David, this is worksforme on trunk, not on branch (which is what Firefox2.0.0.8 is)
I'll be danged: it does (Gran Paradiso alpha8). Terrific. WFM!
Sorry but I really think this needs to block. The use of this popup is an absolute requirement for inputing Japanese text. The input method popup allows alternates to the primary choice to be selected. For example, say you wanted to enter 化学(chemistry). In Japanese this is inputted as "kagaku". The word for science 科学 is spelled the same way. With the input method enabled (on a Mac, choose 'Hiragana' on the keyboard menu), enter 'k'. Steps: 1. Switch the input method to Japanese (on a Mac, choose 'Hiragana' on the keyboard menu) 2. Enter 'k' (k with an underline appears) 3. Enter 'a' (か with underline appears) 4. Enter 'gaku' (かがく with underline appears) 5. Hit the spacebar once (科学 with underline appears) This reflects the fact that 科学 is the most probable choice. 6. Hit spacebar again. A popup now appears with other choices, including 化学. Using the arrow keys allows you to choose another compound. 7. Select 化学 and hit enter twice, underline no longer appears. This type of character input is *very* common with Japanese text, it is not a simple nicety.
oops, argh, wrong bug...
For the curious mind, the comment was meant for bug 433340.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: