Closed
Bug 94437
Opened 24 years ago
Closed 24 years ago
Clean up wallet prefill dialog
Categories
(Toolkit :: Form Manager, defect)
Toolkit
Form Manager
Tracking
()
RESOLVED
FIXED
People
(Reporter: asa, Unassigned)
Details
Attachments
(4 files, 7 obsolete files)
|
10.82 KB,
image/gif
|
Details | |
|
46.49 KB,
image/jpeg
|
Details | |
|
13.13 KB,
image/gif
|
Details | |
|
5.16 KB,
patch
|
shaver
:
superreview+
|
Details | Diff | Splinter Review |
The preview form dialog is the worst piece of UI in our entire product. Please
fix this.
German, is this to your spec?
screenshot coming.
| Reporter | ||
Comment 1•24 years ago
|
||
| Reporter | ||
Comment 2•24 years ago
|
||
Updated•24 years ago
|
Status: NEW → ASSIGNED
Target Milestone: --- → Future
| Reporter | ||
Comment 3•24 years ago
|
||
You've got to be kidding!!! (yes, that was three exclamation points. three.)
Steve, are you seriously saying that you don't care that your feature is
represented by the worst dialog in the entire product? How did that ever pass
review or super review? Surely you could talk to blake or hyatt or goodger or
just about anyone who knows XUL and get some suggestions about making this
dialog better.
the spec image is located at
http://www.mozilla.org/projects/ui/communicator/browser/formfill/proposedconfirm
2.png
the design did not intend to use hor. scrollbars, as this makes the dialog
indeed illegible. The label text was supposed to be using abbreviation
(using ..., looking at it now we should be using middle ellipses as the end of
the label text seems to be at least as important to distinguish the fields)when
the dialog width was smaller than that plus the popup width. It seems like its
throwing up the hor. scrollbars anyway. You need the vertical scrollbars as
overflow method as you don't know at designtime of the dialog how many
fields/rows it will contain.
Clearly the checkboxes should be aligned with the text in the row (remember
election 2000 :-), and the text in both labels and popup contents should be
using the same font an height and be vertically aligned.
Clearly this dialog needs front end engineering help here, Steve was probably
trying to get it as close as possible to the spec.
to be clear, I meant to see vertical scrollbars are needed as overflow method
meaning they would show up only when there are more rows and then fit the
visible area given the current dialog height. The list area should stretch when
increasing the dialog height.
Comment 6•24 years ago
|
||
I've fixed this up. Code coming.
Comment 7•24 years ago
|
||
Comment 8•24 years ago
|
||
Comment 9•24 years ago
|
||
Comment 10•24 years ago
|
||
1. Text and associated checkbox is still misaligned
2. Text items are no longer aligned with each other
3. Menulists are no longer left-aligned with each other
4. Position of "View Stored Form Data" button no longer conforms to german's
spec
Comment 11•24 years ago
|
||
Comment 12•24 years ago
|
||
Comment 13•24 years ago
|
||
Second before/after pair have same problems as mentioned above plus:
5. Window now has a horizontal scroll which previously wasn't necessary
| Reporter | ||
Comment 14•24 years ago
|
||
Not sure what's going on here but I saw this patch in action and it looks
nothing like morse's screenshots. The dialog was absolutely beautiful.
Comment 15•24 years ago
|
||
Doesn't look like this for me. I tried in both classic and modern, and both
looked ok. Can you post a screenshot of it in modern? I'll post my screenshots
tomorrow when i get back to my build.
Comment 16•24 years ago
|
||
Comment 17•24 years ago
|
||
Comment 18•24 years ago
|
||
I've had two others apply the patch, and the see the same window I do. Not sure
what's going wrong in your build, did it apply cleanly?
looking for r/sr.
Comment 19•24 years ago
|
||
Looks like my build was outdated. I just pulled a fresh tree and applied the
patch. This time I don't see the problems.
a=morse as module owner.
Comment 20•24 years ago
|
||
Also r=morse
Comment 21•24 years ago
|
||
The dialog box that sticks out the worst for me is the Basic Authentication
dialog when the prompt "Enter username and password for..." wraps to a second
line. The dialog does not resize, and the result is to push the OK and Cancel
buttons halfway out of the window.
Comment 22•24 years ago
|
||
Comment 23•24 years ago
|
||
This isn't a bug for posting all the rotten dialogs in the product. Cleaning
this up.
Assignee: morse → kerz
Status: ASSIGNED → NEW
Summary: the ugliest dialog in the product → Clean up wallet prefill dialog
Updated•24 years ago
|
Status: NEW → ASSIGNED
Comment 24•24 years ago
|
||
Perhaps this is stating the obvious but this dialog clearly looks like it should
be using a multi-column grid. A good place to see an alternate (though not
necessarily perfect) way to display the same information would be the
cookie/image viewer dialogs.
Is there some limitation that prevents grids from holding combo boxes? That's
the only thing I could see preventing such a change.
Comment 25•24 years ago
|
||
Comment on attachment 50646 [details] [diff] [review]
Clean up the prefill window.
>-// menuList.setAttribute("size", Number(count)+1);
>+// menuList.setAttribute("size", Number(count)+1);
>-// menuList.setAttribute("editable", "true"); // done later to avoid crash
>+ //menuList.setAttribute("editable", "true"); // done later to avoid crash
Don't leave commented-out code in. We have CVS if we need to
see other versions.
And if there's a crash you're working around, please cite a bug
number in a comment.
>+ if (colonPos != -1)
>+ var checkBoxLabel = prefillList[i+1].slice(colonPos + 1)
>+ else
>+ var checkBoxLabel = prefillList[i+1];
You should run with strict warnings: the double-declaration of
|var checkBoxLabel| would have shown up.
Fix these things, and any other strict warnings that show up, and
sr=shaver.
Comment 26•24 years ago
|
||
Kerz's screenshot looks like an good improvement to me. That way we save one
line at the top and make the text at the top more extensible to accomodate l10ns.
Updated•24 years ago
|
Attachment #50649 -
Attachment is obsolete: true
Updated•24 years ago
|
Attachment #50650 -
Attachment is obsolete: true
Updated•24 years ago
|
Attachment #50651 -
Attachment is obsolete: true
Updated•24 years ago
|
Attachment #50652 -
Attachment is obsolete: true
Updated•24 years ago
|
Attachment #50664 -
Attachment is obsolete: true
Updated•24 years ago
|
Attachment #50890 -
Attachment is obsolete: true
Updated•24 years ago
|
Attachment #50646 -
Attachment is obsolete: true
Comment 27•24 years ago
|
||
Comment 28•24 years ago
|
||
Comment on attachment 51596 [details] [diff] [review]
New patch addressing shaver's comments.
To know you is to love you. sr=shaver.
Attachment #51596 -
Flags: superreview+
Comment 29•24 years ago
|
||
donner wanna check this in for me?
I checked in the fix.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Updated•17 years ago
|
Assignee: kerz → nobody
Product: Core → Toolkit
QA Contact: tpreston → form.manager
Target Milestone: Future → ---
Version: Trunk → unspecified
You need to log in
before you can comment on or make changes to this bug.
Description
•