Closed
Bug 87652
Opened 24 years ago
Closed 23 years ago
Ok/Cancel buttons should be right-aligned on Windows
Categories
(SeaMonkey :: UI Design, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
mozilla0.9.6
People
(Reporter: hwaara, Assigned: bugzilla)
Details
(Keywords: platform-parity)
Attachments
(1 file)
5.79 KB,
patch
|
Details | Diff | Splinter Review |
Seems like by default, the Ok/Cancel buttons are not right aligned. They should
be, as far as I remember.
Currently, it's not. I found out when I saw all the Ok/Cancel buttons *centered*
in all Editor dialogs.
Reporter | ||
Comment 1•24 years ago
|
||
The fix would be to add halign="right" to
http://lxr.mozilla.org/mozilla/source/xpfe/global/resources/content/win/platformDialogOverlay.xul
where the default Ok/Cancel buttons are defined for windows.
Comment 2•24 years ago
|
||
This is windows only; Mac buttons appear correct for me.
Keywords: pp
Summary: Ok/Cancel buttons should be right-aligned on windows → Ok/Cancel buttons should be right-aligned on Windows
Comment 3•24 years ago
|
||
is this still a problem?
Assignee | ||
Comment 4•24 years ago
|
||
This is a very good idea. Centered is the special case, so dialogs should have
to ask for it (personally, I don't think it should be an option). The system is
currently backwards. usability/polish, 0.9.4.
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla0.9.4
Reporter | ||
Comment 5•24 years ago
|
||
Right, so we'd have okCancelButtonsRight for backwards compability, and then
make okCancelButtons halign="right". If we still want to give the option to
have centered buttons, we could add okCancelButtonsCenter.
Assignee | ||
Comment 6•24 years ago
|
||
Comment 7•24 years ago
|
||
The Mac patch is completely wrong. Please do NOT check that in.
What about the "help" set of buttons?
Do we really need to have the "center" option? We definitely don't need it for
the "help" variant. Currently no one uses the default option (that isn't
right-aligned) according to http://lxr.mcom.com/ and
http://lxr.mozilla.org/seamonkey/ so it doesn't seem like we need to worry about
backward compatibility for the help option.
I'd prefer to see a strategy where we make all buttons correct for the OS and
then see if there are any issues/places where people expect the non-standard layout.
Also, I'd prefer to see us remove the current "okCancelHelpButtons" definitions
and rename all occurrences of "okCancelHelpButtonsRight" to "okCancelHelpButtons"
Assignee | ||
Comment 8•24 years ago
|
||
Uh, what? How is the mac patch 'completely wrong'? It just adds the same
Center group as the rest of the patches, affecting nothing at all in reality.
In any case, I don't care if we leave Center or not, unless that's expected on
some platform. Alerts use it, but I don't think it's common enough that we have
to provide it in a package like this.
Also, yes, Composer is apparently using the default option in many places (or
not using this package at all), from the looks of its dialog. In fact, Composer
used to be the only one whose dialogs all had centered buttons. Luckily this
seems to have improved a bit in the past couple weeks, but some still are centered.
Assignee | ||
Comment 9•24 years ago
|
||
I don't understand how your strategy is any different from what we're doing.
Yes, the okCancelHelpButtons need to be converted as well.
Comment 10•24 years ago
|
||
The Mac patch (and possibly others?) are wrong because the button order is
completely wrong. I'd expect it to be much more like the "okCancelButtons" in
that file (not copy/pasted from some other platform's file).
In fact, this bug was filed because Composer's dialogs had centered buttons on
Windows and they shouldn't. Unless someone objects, we should get rid of the
extra stuff and just have "okCancelButtons" and "okCancelHelpButtons"
Comment 11•24 years ago
|
||
Can we get this bug fixed? Can I help?
I propose two phases:
Phase 1: okCancelButtons are set to have halign="right" (also help version)
- Monitor for bugs where people expect buttons to be centered
Phase 2: all occurrences of "okCancelButtonsRight" are changed to
"okCancelButtons"
If necessary, we can do Phase 3 to add the "Center" option (if someone really
needs that)
Reporter | ||
Comment 12•24 years ago
|
||
Brade's idea sounds good to me.
Note that this bug is windows-only.
Assignee | ||
Updated•23 years ago
|
Target Milestone: mozilla0.9.4 → mozilla0.9.5
Comment 13•23 years ago
|
||
Mass moving lower-priority bugs to 0.9.6 (with Blake's pre-consent) to make room
for remaining 0.9.4/eMojo bugs and MachV planning, performance and feature work.
If anyone disagrees with the new target, please let me know.
Target Milestone: mozilla0.9.5 → mozilla0.9.6
Comment 14•23 years ago
|
||
Comment 15•23 years ago
|
||
Darn. Shouldn't have dupped this one -- it's about the more general issue of
making right-align the default rather than "center" for Windows.
Status: RESOLVED → REOPENED
Resolution: DUPLICATE → ---
Assignee | ||
Comment 17•23 years ago
|
||
This is fixed. <dialog> buttons have a default pack of end.
Status: ASSIGNED → RESOLVED
Closed: 23 years ago → 23 years ago
Resolution: --- → FIXED
Comment 18•23 years ago
|
||
->sujay, could you pls vrfy this for the editor dialogs? thanks!
QA Contact: sairuh → sujay
Comment 19•23 years ago
|
||
verified in 11/6 build that composer dialogs have OK/Cancel right aligned.
Status: RESOLVED → VERIFIED
Updated•20 years ago
|
Product: Core → Mozilla Application Suite
You need to log in
before you can comment on or make changes to this bug.
Description
•