Closed Bug 100166 Opened 23 years ago Closed 19 years ago

show better error message when attempting to print without a default printer installed

Categories

(Core :: Printing: Output, defect, P3)

defect

Tracking

()

RESOLVED WORKSFORME
Future

People

(Reporter: amyy, Unassigned)

References

Details

(Keywords: useless-UI)

Build: 09-17 Branch build on Mac 9.1-US 09-14 Branch build on Mac9.1-Japanese Steps to reproduce: 1. Launch brower. 2. File | Print, or Click the "Printer" icon next to "Search" button. Actual result: Nothing happens. Expect result: A print dialog will pops-up.
Does this work on N6.1?
Keywords: nsbranch
I just re-installed my Mac to Mac9.1 recently. I was using Mac9.0 before which has no problem. So there is a little wrong with my previous description: I have no printer set up, that why it doesn't work. However, even I haven't had a printer set up with my machine, I should get a warning/error message dialog tells me about that, not just do nothing instead. IE will has a message dialog pops-up. Change the summary.
Summary: "Print" doesn't work on Mac 9.1 → When there is no printer set up on a Mac9.1 system, "Print" will do nothing
Marking nsbranch-. It should fly a dialog as Yuying Long suggests but this is not sufficient to mark it nsbranch+.
Keywords: nsbranchnsbranch-
`The document could not be printed, because no printer is selected. Use the Chooser to select a printer, and try again.'
The problem here is: if I don't have printer seleted, I should get an error message tells me about that, not just doing nothing.
Is there any way to return |NS_ERROR_GFX_PRINTER_NO_PRINTER_AVAILABLE| to the underlying code ? If |YES| - then the new print error dialog would catch this issue and notify the user... :-)
Target Milestone: --- → mozilla0.9.9
Target Milestone: mozilla0.9.9 → mozilla1.0.1
Blocks: 107067
Keywords: nsbranch-
No longer blocks: 107067
Changed summary to correct description.
Summary: When there is no printer set up on a Mac9.1 system, "Print" will do nothing → When there is noWhen a printer is not choosen... an error dialog needs to be brought up
Summary was bogus. mpt: can you please explain why we should A. show an error dialog if you do file>print when you have no default printer instead of B. show printer setup or C. disable file>print
Summary: When there is noWhen a printer is not choosen... an error dialog needs to be brought up → show an error when printing without a default printer
The expected behavior is to do something. Just pop up an error and say "sorry, can't print," or "sorry, can't print, but would you like to install a printer?" Either one.
Blocks: 125824
A. Because that's what every other program does. B. Because there aren't any printers to set up. C. Because (if you have a printer connected, but not installed etc) it wouldn't be at all obvious why the item was disabled.
Keywords: useless-UI
Blocks: 146685
I was testing bug 167459 (printing without a selected printer), and I saw a dialog with the words "show error when no printer selected" or something similar. However, due to bug 167459, I crashed immediately. Maybe this is already solved ? I haven't found back the error-text in the source-code, so I don't know where it's coming from. Build 2002122708 on Mac OS 9.2.2.
No longer blocks: 146685
*** Bug 146685 has been marked as a duplicate of this bug. ***
All/all.
OS: Mac System 9.x → All
Hardware: Macintosh → All
Summary: show an error when printing without a default printer → show an error when attempting to print without a default printer
Is it still a bug ? (sorry, all my PCs have printers)
Target Milestone: mozilla1.0.1 → ---
Is it still a bug ? (sorry, all my PCs have printers)
timeless asked me to test this on Mac OS X. So I erased all my printers. In build 2003061008 on Mac OS X (1.5 trunk) if I do File->Print or use the Toolbar Print Button I get the Print dialog with the legend "No Printer Selected" for the current Printer. This would seem to be working fine on OS X. Needs testing on other platforms.
Priority: -- → P3
Target Milestone: --- → Future
Today's windows build gives "An unknown error occurred while printing." which is no good. Same on SeaMonkey (browser and mail) and Thunderbird and Firefox. Expected on windows: "Before you can perform printer-related tasks such as page setup or printing a document, you need to install a printer. Do you want to install a printer now?" and launch the print setup wizard if the user selects OK.
*** Bug 230478 has been marked as a duplicate of this bug. ***
yeah when no printer is available on the system there's a error.
shouldn't we fix this for 0.10 or latest for 1.0? --> blocking
Flags: blocking-aviary1.0?
out of time for aviary 1.0 and bumping up against the UI freeze for localization. reniminate in the next few days if a patch appears.
shutting down for UI/localization freeze very soon. This bug has no patch. If a patch appears in the next few days there still is chance.
Flags: blocking-aviary1.0? → blocking-aviary1.0-
*** Bug 225218 has been marked as a duplicate of this bug. ***
fixed by Bug 227283?
*** Bug 174963 has been marked as a duplicate of this bug. ***
(In reply to comment #17) > Today's windows build gives "An unknown error occurred while printing." which > is > no good. Same on SeaMonkey (browser and mail) and Thunderbird and Firefox. > > Expected on windows: > "Before you can perform printer-related tasks such as page setup or printing a > document, you need to install a printer. Do you want to install a printer now?" > and launch the print setup wizard if the user selects OK. Asa, does Bug 227283 meet your expectations from comment 17? Were you suggesting a check for printers at installation time. Powlin, Peter, can you state what products you're commenting about and whether only Firefox addressed the issue (bug 227283)?
Assignee: dcone → printing
Depends on: 227283
QA Contact: sujay
Summary: show an error when attempting to print without a default printer → show better error message when attempting to print without a default printer installed
Marking WFM. Since Bug 227283 was fixed on 2004-08-25 the message is now "There was a problem printing. No printer could be found."
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.