Closed
Bug 177242
Opened 23 years ago
Closed 23 years ago
Mozilla and Phoenix crash in Print Preview if typeaheadfind is enabled and I start typing a search string
Categories
(SeaMonkey :: Find In Page, defect, P1)
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla1.2final
People
(Reporter: jhatax, Assigned: aaronlev)
References
Details
(Keywords: crash)
Attachments
(1 file)
|
1.30 KB,
patch
|
yuanyi21
:
review+
alecf
:
superreview+
roc
:
approval+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.2b) Gecko/20021021 Phoenix/0.3
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.2b) Gecko/20021021 Phoenix/0.3
Print Preview crashes the browser (DrWatson starts generating an error message)
if typeaheadfind has been enabled and I start typing.
Reproducible: Always
Steps to Reproduce:
1. Ensure that typeaheadfind is enabled (it is by default)
2. Open url - www.nytimes.com <could be any other>
3. Print Preview
4. Type some characters
Actual Results:
The browser crashed
Expected Results:
Anything but crash. It should ignore typeaheadfind during print preview as a
first solution to the problem
Comment 1•23 years ago
|
||
It does not crash for me (Solaris 2.6), but disabling typeaheadfind during print
preview sounds reasonable for me.
Comment 2•23 years ago
|
||
Manoj, please enable Talkbacka nd include the talkback id in this bug report.
Comment 3•23 years ago
|
||
Typeaheadfind has code like:
2141 doc->GetShellAt(0, getter_AddRefs(presShell));
which _already_ will not work in print preview, where the shell at 0 does not in
fact exist, iirc. So yes, typeaheadfind should be disabled in print preview.
Status: UNCONFIRMED → NEW
Ever confirmed: true
| Assignee | ||
Comment 4•23 years ago
|
||
Right, typeaheadfind needs to detect print preview and disable itself then.
Assignee: rods → aaronl
Priority: -- → P1
Target Milestone: --- → mozilla1.2final
Comment 5•23 years ago
|
||
You can QI for nsIPrintPreviewContext from the prescontext
| Assignee | ||
Comment 6•23 years ago
|
||
Seeking r=/sr=
Comment on attachment 104530 [details] [diff] [review]
Don't activate typeaheadfind when print preview is open
r=kyle
Attachment #104530 -
Flags: review+
Comment 8•23 years ago
|
||
Comment on attachment 104530 [details] [diff] [review]
Don't activate typeaheadfind when print preview is open
comments please! Explain why you're bailing early.
sr=alecf
Attachment #104530 -
Flags: superreview+
Comment on attachment 104530 [details] [diff] [review]
Don't activate typeaheadfind when print preview is open
a=roc+moz for trunk
Attachment #104530 -
Flags: approval+
| Assignee | ||
Comment 10•23 years ago
|
||
checked in
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Updated•17 years ago
|
Product: Core → SeaMonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•