Closed Bug 293207 Opened 19 years ago Closed 18 years ago

Icons do not show up in menulist in classic theme and menulist is not wide enough in classic/modern theme

Categories

(SeaMonkey :: Themes, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: iannbugzilla, Assigned: iannbugzilla)

Details

Attachments

(3 files, 5 obsolete files)

In menulist (for example preferences, navigator, internet search pane) items do
not have icons in classic theme but do in modern theme.

The menulist is also not wide enough in either theme so the selected item is
truncated (look at how AskJeeves appears - AskJee...). Seems to ignore the icon
in its calculation.
This patch:
* Adds an attribute iconic which can be used to mark menulists as containing icons
* When iconic="true" in classic theme show icon with display: -moz-box
Assignee: themes → iann_bugzilla
Status: NEW → ASSIGNED
Attachment #235249 - Flags: review?(mnyromyr)
Attached patch The 16px bookmarks option v0.2 (obsolete) — Splinter Review
This patch:
* Moves the limiting of the icon size of bookmarks from menu.css to the bookmarksToolbar.css which means menu.css no longer needs the display:none entry.
Attachment #235284 - Flags: review?
Attachment #235284 - Flags: review? → review?(mnyromyr)
Attachment #235284 - Flags: review?(mnyromyr)
Changes since v0.2:
* Also fixed OS/2 version of menu.css
* Fixed menuitems of type checkbox and radio so that they indent properly when not checked.
Attachment #235284 - Attachment is obsolete: true
Attachment #235303 - Flags: review?(mnyromyr)
Attachment #235303 - Flags: review?(mnyromyr)
Changes since v0.2a:
* Dropped list-style-image: inherit and height isn't required for indenting.
Attachment #235303 - Attachment is obsolete: true
Attachment #235326 - Flags: review?(mnyromyr)
Attachment #235249 - Flags: review?(mnyromyr)
Comment on attachment 235326 [details] [diff] [review]
Reduced 16px bookmarks with radio/checkbox v0.2b

I'd prefer the 0.2 approach. Adding an attribute for something that can be/is controlled by CSS anyway, to fix just one menu, isn't worth it, imo.


>Index: global/mac/menu.css
>===================================================================

No need to change this for Mac, it does already show icons in menuitems.
The cut-off menulist value, though, is still cut off...

>Index: global/win/menu.css
>===================================================================

The Windows menulist popup now shows the icons, but they're not quite right aligned: too much space to the left of the icon, too few on its right side.
Attachment #235326 - Flags: review?(mnyromyr) → review-
Prior to applying the patch on OS/2 we had an icon for the selected option but none in the drop down.  After applying the patch we do have the icons in the drop down and I have not seen any detrimental effects.
Summary: Icons do not show up in menulist in classic theme and menulist is not wide enough → Icons do not show up in menulist in classic theme and menulist is not wide enough in classic/modern theme
Changes since v0.2b:
* Fixed mac theme so menulist is not truncated
* Fixed win theme so icon has better spacing round it
Attachment #235326 - Attachment is obsolete: true
Attachment #236468 - Flags: review?(mnyromyr)
This patch:
* Pads certain menulists less on the left
* Pads certain menulists slightly more on the right
Attachment #236469 - Flags: review?(mnyromyr)
Comment on attachment 236469 [details] [diff] [review]
Modern theme patch with wider menulist v0.3

Looks okay on Win and Mac.
Attachment #236469 - Flags: review?(mnyromyr) → review+
Comment on attachment 236468 [details] [diff] [review]
Classic theme patch with better icon spacing v0.2c

Looks okay on Win and Mac.
Attachment #236468 - Flags: review?(mnyromyr) → review+
Attachment #236468 - Flags: superreview?(neil)
Attachment #236469 - Flags: superreview?(neil)
Comment on attachment 236468 [details] [diff] [review]
Classic theme patch with better icon spacing v0.2c

>-  padding: 1px 30px 1px 5px;
>+  padding: 1px 26px 1px 1px;
This padding could probably be trimmed a bit more, I got it down to 22px.
I can't comment on the other OSes, of course.
Attachment #236468 - Flags: superreview?(neil) → superreview+
Comment on attachment 236469 [details] [diff] [review]
Modern theme patch with wider menulist v0.3

I don't like the effect this has; previously the padding used to be equal on both sides of the menulist label. Maybe you can improve this by setting a minimum width on the image? Also, the editor image properties appearance tab doesn't work properly unlike the way you fixed it for Classic.
Attachment #236469 - Flags: superreview?(neil) → superreview-
Patch that was checked into trunk for classic theme - 26px changed to 22px since v0.2c (if * { -moz-appearance: none !important; } is not set in userChrome.css could be set to 20px).
Attachment #236468 - Attachment is obsolete: true
Attachment #238698 - Flags: superreview+
Attachment #238698 - Flags: review+
Comment on attachment 238698 [details] [diff] [review]
Classic theme patch with 22px v0.2d (Checked into trunk)

Checking in (trunk)
communicator/bookmarks/bookmarksToolbar.css;
new revision: 1.24; previous revision: 1.23
global/mac/menu.css;
new revision: 1.44; previous revision: 1.43
global/os2/menu.css;
new revision: 1.3; previous revision: 1.2
global/win/menu.css;
new revision: 1.60; previous revision: 1.59
done
Attachment #238698 - Attachment description: Classic theme patch with 22px v0.2d → Classic theme patch with 22px v0.2d (Checked into trunk)
Changes since v0.3:
* Removed change to menulist.css
* Set a min-width/height for "icons" but fixed it for bookmark "icons"
* Increased from 28px to 30px to fix linux/non-native width issue
Attachment #236469 - Attachment is obsolete: true
Attachment #238783 - Flags: superreview?(neil)
Attachment #238783 - Flags: review?(mnyromyr)
Comment on attachment 238783 [details] [diff] [review]
Modern theme patch with min-width/height v0.3a (Checked into trunk)

Ingenious :-)
Attachment #238783 - Flags: superreview?(neil) → superreview+
Comment on attachment 238783 [details] [diff] [review]
Modern theme patch with min-width/height v0.3a (Checked into trunk)

Looks good on Mac and Windows. My apologies for the overlong delay. :-|
Attachment #238783 - Flags: review?(mnyromyr) → review+
Comment on attachment 238783 [details] [diff] [review]
Modern theme patch with min-width/height v0.3a (Checked into trunk)

Checking in (trunk)
communicator/bookmarks/bookmarksToolbar.css;
new revision: 1.15; previous revision: 1.14
global/menu.css;
new revision: 1.50; previous revision: 1.49
done
Attachment #238783 - Attachment description: Modern theme patch with min-width/height v0.3a → Modern theme patch with min-width/height v0.3a (Checked into trunk)
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Product: Core → SeaMonkey
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: