Closed Bug 33801 Opened 25 years ago Closed 25 years ago

Print dialog says "Netscape"

Categories

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

x86
Linux
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: zuperdee, Assigned: zuperdee)

References

Details

Steps to reproduce: 1) Open the "Print" dialog from the File menu. 2) Notice that "netscape.ps" is the default filename for "Print to File." This kind of thing belongs in Netscape, and not in Mozilla.
Blocks: 14532
Reassigning to more appropriate people.
Component: User Interface: Design Feedback → Printing
QA Contact: elig → shrir
<Meaningless comment required by Bugzilla.>
Assignee: bdonohoe → dcone
And I am not sure what the name should be,
Assignee: dcone → syd
Let's use mozilla.ps for now, and switch to url_filename.ps at some later point. OK, Syd?
Target Milestone: --- → M16
I now have some patches to fix this bug. Syd, do you want to review them for me? I have CVS access, so I could check them in.
Sure attach the patch here.
Status: NEW → ASSIGNED
I can't seem to get bugzilla to work at the moment on attachments, so I'll type out the patches manually. "url_filename," as shaver suggests, would be THE most elegant solution yet, but since I do not know how to do that, I am just doing the "mozilla.ps" change for now. Anyone else know how to take it to the next stage?
Index: nsDeviceContextSpecG.cpp =================================================================== RCS file: /cvsroot/mozilla/gfx/src/gtk/nsDeviceContextSpecG.cpp,v retrieving revision 1.12 diff -r1.12 nsDeviceContextSpecG.cpp 151c151 < strcpy( mPrData.path, "netscape.ps" ); --- > strcpy( mPrData.path, "mozilla.ps" ); 153c153 < sprintf( mPrData.path, "%s/netscape.ps", path ); --- > sprintf( mPrData.path, "%s/mozilla.ps", path );
Index: nsDeviceContextSpecB.cpp =================================================================== RCS file: /cvsroot/mozilla/gfx/src/beos/nsDeviceContextSpecB.cpp,v retrieving revision 1.2 diff -r1.2 nsDeviceContextSpecB.cpp 81c81 < strcpy( mPrData.path, "netscape.ps" ); --- > strcpy( mPrData.path, "mozilla.ps" ); 83c83 < sprintf( mPrData.path, "%s/netscape.ps", path ); --- > sprintf( mPrData.path, "%s/mozilla.ps", path );
Index: nsDeviceContextSpecQT.cpp =================================================================== RCS file: /cvsroot/mozilla/gfx/src/qt/nsDeviceContextSpecQT.cpp,v retrieving revision 1.3 diff -r1.3 nsDeviceContextSpecQT.cpp 82c82 < strcpy(mPrData.path, "netscape.ps"); --- > strcpy(mPrData.path, "mozilla.ps"); 87c87 < sprintf(mPrData.path, "%s/netscape.ps", path); --- > sprintf(mPrData.path, "%s/mozilla.ps", path);
Go check it in, Daniel, r=shaver. And then go run off and figure out how to do the url-thing.
Thanks! I will check in the fix as soon as I get a chance (the fix is at home on my Linux box). I will consider this a temporary fix until I find a way of doing "url_filename".html later on.
Assigning to myself, since I have decided to take this on.
Assignee: syd → zuperdee
Status: ASSIGNED → NEW
Status: NEW → ASSIGNED
Temporary fix checked in.
M16 has been out for a while now, these bugs target milestones need to be updated.
I'm marking this fixed. Let's file an RFE for better print-target naming, if one of us can muster the energy to care. Thanks, Daniel.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
verified (11/08).
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.