Closed Bug 129510 Opened 23 years ago Closed 22 years ago

Filter/Search: Text on dropdown menus is not left aligned

Categories

(MailNews Core :: Filters, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED
mozilla1.4alpha

People

(Reporter: jglick, Assigned: shliang)

References

Details

(Keywords: polish, Whiteboard: [adt3][ue3])

Attachments

(3 files)

2002030703 windows (and previous builds). 1. Open the Filter Rules or Search Messages dialog 2. Select "Priority" or "Status" in the first dropdown menu. Notice the text in the 3rd dropdown menu is centered, not left aligned like the rest of the dropdown menus.
Attached image Example of UI Nit :-)
Keywords: nsbeta1, polish
Whiteboard: [ue3]
Blocks: 160730
Mail triage team: nsbeta1+/adt3
Keywords: nsbeta1nsbeta1+
Whiteboard: [ue3] → [adt3][ue3]
Reassigning.
Assignee: naving → cavin
Reassigning.
Assignee: cavin → shliang
Target Milestone: --- → mozilla1.4alpha
Attached patch patchSplinter Review
the workaround for bug 78429 was somehow causing this, replacing with different workaround which addresses the problem of the menuitems not having labels yet when one is selected.
Attachment #115564 - Flags: review?(sspitzer)
with your fix, does bug #78429 re-appear? if not, sr=sspitzer once you check in, take bug #90739 as well. (remove work around for #78429 in mailWidgets.xml)
no, this is just another way to do 78429 so that this bug doesn't happen. i think the real problem (the timing issue) might be related to bug 63370, so the workaround will need to stay until that is fixed.
Attachment #115564 - Flags: superreview?(sspitzer)
Attachment #115564 - Flags: review?(sspitzer)
Attachment #115564 - Flags: review?(cavin)
Comment on attachment 115564 [details] [diff] [review] patch sr=sspitzer, if this doesn't regress #78429
Attachment #115564 - Flags: superreview?(sspitzer) → superreview+
> once you check in, take bug #90739 as well. (remove work around for #78429 in mailWidgets.xml) sounds like we are just trading one workaround for a better one. instead of marking #90739 fixed, we should morph it to cover the new work around (which you and jag believe will not be necessary once #63370 is fixed) before you check in, please add the "work around" comment back to the code: // to work around bug #78429 and #129510 menulist.setAttribute("label", menulist.selectedItem.label);
Comment on attachment 115564 [details] [diff] [review] patch r=cavin.
Attachment #115564 - Flags: review?(cavin) → review+
marking fixed.
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
I'm seeing this warning alot since this patch went in: Warning: reference to undefined property menulist.selectedItem.label Source File: chrome://messenger/content/mailWidgets.xml#searchvalue.initialize() Line: 5 Should it say menulist.selectedItem.getAttribute("label") ?
Attached patch fix js warningsSplinter Review
yes you're right, it should be .getAttribute rather than .label
Attachment #116128 - Flags: superreview?(sspitzer)
Attachment #116128 - Flags: review?(neil)
Comment on attachment 116128 [details] [diff] [review] fix js warnings sr=sspitzer
Attachment #116128 - Flags: superreview?(sspitzer) → superreview+
Attachment #116128 - Flags: review?(neil) → review+
Supplementary patch checked in.
Using trunk build 20030303 on winxp, macosx and linux this is fixed. verified
Status: RESOLVED → VERIFIED
Product: MailNews → Core
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: