Closed
Bug 127857
Opened 23 years ago
Closed 23 years ago
Change scale textbox to dropdown (accomodating ``shrink to fit'') in print preview toolbar
Categories
(Core :: Print Preview, defect)
Tracking
()
VERIFIED
FIXED
mozilla1.0
People
(Reporter: rods, Assigned: rods)
References
Details
(Whiteboard: [adt2])
Attachments
(2 files, 3 obsolete files)
12.35 KB,
patch
|
rods
:
review+
rods
:
superreview+
chofmann
:
approval+
|
Details | Diff | Splinter Review |
5.08 KB,
patch
|
dcone
:
review+
attinasi
:
superreview+
|
Details | Diff | Splinter Review |
If the PrintSettings has "shtinktofit" set as true then the scaling UI needs to be disabled.
Updated•23 years ago
|
Status: NEW → ASSIGNED
Priority: -- → P3
Target Milestone: --- → mozilla1.0
Comment 1•23 years ago
|
||
Nav triage team needs info: These seem to interoperate in a useful way, is there a reason why it needs to be disabled? How will users know why it is disabled? cc marlon for UE input.
Whiteboard: [need info]
Comment 2•23 years ago
|
||
Peter, that's true. It should not be disabled, one should simply override the other. if we provided the actual value % in the box, as shrunk to fit, that would be helpful in some cases. so if user changes that value to something else then we uncheck the box.
Comment 3•23 years ago
|
||
Thanks Marlon! nsbeta1- per Nav triage team, ->1.2.
Comment 4•23 years ago
|
||
OK, then let's morph this bug or close it in favor of a new one that gets the current % based on shrink to fit.
Comment 5•23 years ago
|
||
This bug will deal with the originally reported defect although we will implement the following solution: (*) discrete values in a drop down instead of the scale textfield (*) last value will be ``Shrink to fit'' (or ``Fit to page width''/doc's wording) (Morphing bugs is evil but this deals with the original issue we are trying to tackle.) Renominating for nsbeta1.
Comment 6•23 years ago
|
||
nsbeta1+/adt2 per Nav triage team
Assignee | ||
Comment 7•23 years ago
|
||
Add new methods to check the PrintSettings for its current values and setup the UI appropriately. It is also called after a return from Print Preview.
Assignee | ||
Updated•23 years ago
|
Severity: normal → major
Priority: P3 → --
Comment 8•23 years ago
|
||
The agreed design is documented in comment 5. The patch in comment 7 doesn't appear to match the agreed design.
Summary: Scaling in PP toolbar should be disabled when doing "shrink to fit" → Change scale textbox to dropdown (accomodating ``shrink to fit'') in print preview toolbar
Assignee | ||
Updated•23 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Comment 10•23 years ago
|
||
This uses a combobox for discrete values, Cutom and ShrinkToFit
Attachment #79810 -
Attachment is obsolete: true
Assignee | ||
Comment 11•23 years ago
|
||
The combobox doesn't show up Linux (which is correct) until 119491 gets fixed.
Comment 12•23 years ago
|
||
Comment on attachment 82195 [details] [diff] [review] patch with combobox >+ <xul:data value="&customPrompt.title;"/> I can see us using the xul:data strategy to get the string if we plan on landing this in beta (since strings are frozen for now) but the trunk (and post-beta branch?) should use the string bundle strategy. > <field name="mDebug"> >- false >+ true > </field> I think you forgot to switch this back to false since I take it you are done debugging. :o) >+ // XXXsamir the type was mismatched We can lose this line. With those changes r=sgehani.
Attachment #82195 -
Flags: review+
Comment 13•23 years ago
|
||
Comment on attachment 82195 [details] [diff] [review] patch with combobox sr=alecf, but man it sure would be nice if we didn't have to hardcode the childNodes[] indexes.
Attachment #82195 -
Flags: superreview+
Assignee | ||
Comment 14•23 years ago
|
||
made samir's changes
Attachment #82195 -
Attachment is obsolete: true
Assignee | ||
Comment 15•23 years ago
|
||
Comment on attachment 82579 [details] [diff] [review] final patch with suggested changes Bringing r and sr forward
Attachment #82579 -
Flags: superreview+
Attachment #82579 -
Flags: review+
Assignee | ||
Comment 16•23 years ago
|
||
Some of the changes for this patch are already in the tree, this is the reduced patch.
Attachment #82579 -
Attachment is obsolete: true
Assignee | ||
Comment 17•23 years ago
|
||
Comment on attachment 82636 [details] [diff] [review] final patch merged with tree bringing r/sr forward
Attachment #82636 -
Flags: superreview+
Attachment #82636 -
Flags: review+
Comment 18•23 years ago
|
||
Can we do something about this bug? we're gonna get a flodd of bugs saying that scale does not work. users are not gonna figure out easily that they have to go into Page Setup and disable STF.
Assignee | ||
Comment 19•23 years ago
|
||
fixed on trunk
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Comment 21•23 years ago
|
||
adding adt1.0.0+. Please get drivers approval and then checkin to the 1.0 branch.
Updated•23 years ago
|
Comment 22•22 years ago
|
||
Comment on attachment 82636 [details] [diff] [review] final patch merged with tree a=chofmann,dbaron,valeski for the 1.0 branch.
Attachment #82636 -
Flags: approval+
Assignee | ||
Comment 23•22 years ago
|
||
These small set of changes are need because Bug 115136 has not yet been checked into the branch. These changes are merely to pass back whether the PageSetup Dialog was ok'ed or cancelled. These tested out fine on Windows and Linux, will test on Mac.
Comment 24•22 years ago
|
||
Comment on attachment 83887 [details] [diff] [review] minor additional changes sr=attinasi
Attachment #83887 -
Flags: superreview+
Comment 25•22 years ago
|
||
Comment on attachment 83887 [details] [diff] [review] minor additional changes r=dcone
Attachment #83887 -
Flags: review+
Updated•22 years ago
|
Whiteboard: [adt2] [Needs a=] → [adt2]
Comment 27•22 years ago
|
||
this bug is not fixed on 5/20 branch.
Assignee | ||
Comment 28•22 years ago
|
||
cvs shows I checked it in: http://bonsai.mozilla.org/cvsview2.cgi?diff_mode=context&whitespace_mode=show&subdir=mozilla/xpfe/communicator/resources/content&command=DIFF_FRAMESET&file=printPreviewBindings.xml&rev1=1.7.2.1&rev2=1.7.2.2&root=/cvsroot
Comment 29•22 years ago
|
||
WFM: Bug is fixed on WinNT and WinXP using 2002-5-20 branch build for me.
You need to log in
before you can comment on or make changes to this bug.
Description
•