Closed Bug 113340 Opened 24 years ago Closed 23 years ago

Compose, Formatting toolbar: Alignment drop-down menu items don't have icons/images

Categories

(SeaMonkey :: MailNews: Message Display, defect)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: olgam, Assigned: hewitt)

Details

Attachments

(1 file)

Build 2001-12-30 Overview: Alignment drop-down menu items don't have icons/images for Classic theme in the New Message Compose window, Formatting toolbar - all platforms. Steps to reproduce: Preferences: Classic theme. Then Ctrl+M and click on the message body to activate all Formatting options. Check Alignment icon: its drop-down menu items don't have images in front. Actual Results: No images next to drop-down menu items. Expected Results: Images/icons are displayed in front of the Left, Center, Right, Justify menu items on the Formatting toolbar. Additional Information: Related bug 63624 for Insert.
QA Contact: esther → olgam
This is not the same as bug 113027. The CSS style is set to the wrong size in that bug. Here, the image source isn't being set because the css rules aren't applying to the align menu. "chrome://editor/skin/editorFormatToolbar.css" looks completely wrong for the classic theme. It uses entities like "#text-align-left" and "#align-left-button", whereas they are defined in "chrome://editor/content/editorOverlay.xul" (and used in the modern theme) as being like "#AlignLeftItem".
Yes, I wrote a note in that bug, but forgot to mention here.
This patch adds the entity names (like AlignLeftItem) to the already-existing css rules for the alignment icons.
When did you first see this problem, build ID ?
Build 2001-12-03.
Updating multiple bugs. This is a valid UI issue. Would be nice to have it fixed if time allows.
reassigning to varada and cc'ing cmanske.
Assignee: sspitzer → varada
Status: NEW → ASSIGNED
Depends on: 118548
Blocks: 120303
Depends on: 117895
Depends on: 120466
Blocks: 116832
Very sorry for the spam, typed 113340 instead of 113430 several times.
No longer blocks: 116832, 120303
No longer depends on: 117895, 118548, 120466
taking all of varada's bugs.
Assignee: varada → sspitzer
Status: ASSIGNED → NEW
it appears fixed on windows on my recent trunk build. looking in lxr, it appears that hewitt fixed it back on Dec 19 2001. see his checking comment about XUL/theme simplification changes http://bonsai.mozilla.org/cvslog.cgi?file=mozilla/themes/classic/editor/editorFormatToolbar.css one thing that we could do is further clean up the css so that the rules aren't duplicated. we've got: 340 #AlignLeftItem { 341 -moz-image-region: rect(146px 16px 162px 0px); 342 } and 204 #align-left-button { 205 -moz-image-region: rect(146px 16px 162px 0px); 206 } if we unify those rules we'll prevent someone from changing one and forgetting about the other. we could either do what chris brien's patch does, or fix the xul (and possibly js) to use the same id, instead of two different ids. re-assign to hewitt, so he gets credit for the fix. I'll log a spin off bug about the .css, but it is a low, low priority bug.
Assignee: sspitzer → hewitt
fixed by hewitt. spin off bug is bug #187606
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
QA Contact: olgam → laurel
Looks OK in classic on jan6 commercial trunk: win98, linux rh8.0, mac OS 10.2
Status: RESOLVED → VERIFIED
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: