Closed
Bug 127699
Opened 22 years ago
Closed 22 years ago
Disable UI for zoom, print, and landscape/postscript on Unix
Categories
(Core :: Print Preview, defect, P3)
Tracking
()
VERIFIED
FIXED
mozilla1.0
People
(Reporter: bzbarsky, Assigned: roland.mainz)
References
Details
(Keywords: polish, useless-UI)
Attachments
(1 file, 3 obsolete files)
1.20 KB,
patch
|
asa
:
approval+
|
Details | Diff | Splinter Review |
Once bug 127627 is fixed, zoom and landscape/portrait switching will no longer work on Unix. Printing from print preview already does not work (bug 126802). Please disable the UI for this functionality on Unix for 0.9.9. The current state of affairs will look pretty unprofessional and, imo, will lead to slews of bug reports like "When I click the arrow the number changes but the page does not zoom!"
![]() |
Reporter | |
Updated•22 years ago
|
Keywords: mozilla0.9.9,
polish
Comment 1•22 years ago
|
||
Nominating for us to take the interim measure.
Comment 2•22 years ago
|
||
Where is the bug report to restore this funcationality?
Updated•22 years ago
|
Keywords: useless-UI
Updated•22 years ago
|
Whiteboard: [driver:asa]
Comment 5•22 years ago
|
||
Samir, this is going to cause a flood of bug reports. Are you going to be able to get to this in thenext couple of days for 0.9.9?
Comment 6•22 years ago
|
||
Asa, I plan on coming up with a patch today.
Comment 7•22 years ago
|
||
r=law sr=jag Changed to pass string "true" instead of boolean true in setAttribute() per jag. Changed to use appVersion instead of the customizable userAgent per law.
Assignee | ||
Updated•22 years ago
|
Attachment #71966 -
Flags: needs-work+
Assignee | ||
Comment 8•22 years ago
|
||
Comment on attachment 71966 [details] [diff] [review] Hide the print button, scaling widgets, and orientation widgets on Unices. AFAIK we have a prefs which should control whether a printer device can have more than one instance... I can't remember the name... rods ? We should use that instead of |navigator.appVersion.indexOf("X11")| ...
Assignee | ||
Comment 9•22 years ago
|
||
Found it... it's (AFAIK) |pref("print.whileInPrintPreview", false);| we should rely on... then it's easy to enable this later again...
Comment 10•22 years ago
|
||
a=asa Checked in.
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
![]() |
Reporter | |
Comment 11•22 years ago
|
||
Um... Please read comment 9 again.
Comment 12•22 years ago
|
||
Boris, I did. I was pressed for time and had r, sr, and a when I checked in. If someone would like to fix this to use the pref that's fine by me. I don't think it is critical for the release of 0.9.9 personally.
Comment 13•22 years ago
|
||
Boris, please verify...thanks..
Assignee | ||
Comment 15•22 years ago
|
||
Reopen to rework this one per comment #9 ...
Status: VERIFIED → REOPENED
Keywords: mozilla0.9.9,
nsbeta1+
Resolution: FIXED → ---
Whiteboard: [driver:asa]
Target Milestone: mozilla0.9.9 → mozilla1.0
Assignee | ||
Updated•22 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Comment 17•22 years ago
|
||
The new patch now does the correct thing - it looks at the "print.whileInPrintPreview" prefs item to decide whether we want the GUI or not.
Attachment #71966 -
Attachment is obsolete: true
Assignee | ||
Comment 18•22 years ago
|
||
You can now enable/disable the GUI via setting |user_pref("print.whileInPrintPreview", true);| in prefs.js
![]() |
Reporter | |
Comment 19•22 years ago
|
||
Comment on attachment 73418 [details] [diff] [review] Patch for 2002-03-06-08-trunk Please wrap the getBoolPref call in try/catch (and assume canPrint == true if it fails). Also |if(!canPrint)| is fine, no need to test == false.
Assignee | ||
Comment 20•22 years ago
|
||
Attachment #73418 -
Attachment is obsolete: true
![]() |
Reporter | |
Comment 21•22 years ago
|
||
Comment on attachment 73419 [details] [diff] [review] Better patch for 2002-03-06-08-trunk per bz's comments r=bzbarsky
Attachment #73419 -
Flags: review+
Assignee | ||
Comment 22•22 years ago
|
||
Removing this bug from the "make 0.9.9 not suck radar for now" ...
No longer blocks: 122050
Comment 23•22 years ago
|
||
Comment on attachment 73419 [details] [diff] [review] Better patch for 2002-03-06-08-trunk per bz's comments sr=attinasi - do you really want to redeclare canPrint in the try block though?
Attachment #73419 -
Flags: superreview+
Assignee | ||
Comment 24•22 years ago
|
||
Marc Attinasi wrote:
> (From update of attachment 73419 [details] [diff] [review])
> sr=attinasi
> do you really want to redeclare canPrint in the try block though?
Ouch. I'll file a fixed patch when my build is done...
Assignee | ||
Comment 25•22 years ago
|
||
Attachment #73419 -
Attachment is obsolete: true
Assignee | ||
Comment 26•22 years ago
|
||
Requesting a= ...
Comment 27•22 years ago
|
||
Comment on attachment 73812 [details] [diff] [review] New patch for 2002-03-11-08-trunk per attinasi's superreview comment a=asa (on behalf of drivers) for checkin to the 1.0 trunk
Attachment #73812 -
Flags: approval+
Assignee | ||
Comment 28•22 years ago
|
||
Fix checked in, marking bug as FIXED (again) ... :)
Status: ASSIGNED → RESOLVED
Closed: 22 years ago → 22 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•