Closed Bug 234982 Opened 21 years ago Closed 21 years ago

nsPrintEngine::ShowPrintErrorDialog() fails in many cases

Categories

(Core :: Printing: Output, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: roland.mainz, Assigned: roland.mainz)

Details

Attachments

(1 file)

nsPrintEngine::ShowPrintErrorDialog() fails in many cases where mozilla should display one, therefore print errors may not be shown to the user. This seems to affect mainly FireFox and ThunderBird, but sometimes even Seamonkey "hides" those errors from the user. Looking at the following code: -- snip -- 2305 nsCOMPtr<nsIWindowWatcher> wwatch = do_GetService(NS_WINDOWWATCHER_CONTRACTID, &rv); 2306 if (NS_FAILED(rv)) 2307 return; 2308 2309 nsCOMPtr<nsIDOMWindow> active; 2310 wwatch->GetActiveWindow(getter_AddRefs(active)); 2311 2312 nsCOMPtr<nsIDOMWindowInternal> parent = do_QueryInterface(active); 2313 if (!parent) 2314 return; -- snip -- |parent| is |nsnull| in this cases - and that's it. No error. And a confused user.
Status: NEW → ASSIGNED
Comment on attachment 141792 [details] [diff] [review] Patch for 2004-02-19-trunk Requesting r=/sr= and checkin= to get rid of this mess...
Attachment #141792 - Flags: superreview?(roc)
Attachment #141792 - Flags: review?(roc)
rbs: I remember I originally copied the print error dialog code from the code for your MathML font warning dialog... is it possible that that dialog suffers from the same problem ?
The MathML version has evolved from what it was originally. I have never heard of a problem. On the contrary, I keep hearing of people wanting to get rid of it -- as expected (by installing the fonts that the dialog complains about :-))
rbs@maths.uq.edu.au wrote: > The MathML version has evolved from what it was originally. I have never heard > of a problem. BTW: Did you ever found a way to add HTML code as part of the dialog (for links or tables) ? > On the contrary, I keep hearing of people wanting to get rid of > it -- as expected (by installing the fonts that the dialog complains about > :-)) In this case I WANT that people get this dialog. There should be no way to avoid it.... :)
>BTW: Did you ever found a way to add HTML code as part of the dialog (for links >or tables) ? I haven't bothered looking at this ever since. It is assigned to XUL folks as it depended on things that are yet to happen. I don't recollect to have received any bugmail that something has happened about them.
Attachment #141792 - Flags: superreview?(roc)
Attachment #141792 - Flags: superreview+
Attachment #141792 - Flags: review?(roc)
Attachment #141792 - Flags: review+
rbs@maths.uq.edu.au wrote: > > BTW: Did you ever found a way to add HTML code as part of the dialog (for > > links or tables) ? > I haven't bothered looking at this ever since. It is assigned to XUL folks as > it depended on things that are yet to happen. I guess we need a new bug resolution "XUL-bug-noone-cares-about;ignore-bug" and mark it as such. Mozilla's XUL implementation is just horrible - lots of stuff like DOM, printing, BiDi etc. is just unuseable... ;-((
Status: ASSIGNED → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: