Closed Bug 113027 Opened 23 years ago Closed 23 years ago

menu icon size CSS rule problem (checkmark, bullet)

Categories

(SeaMonkey :: Themes, defect)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED
mozilla0.9.7

People

(Reporter: mozilla, Assigned: hewitt)

References

Details

(Keywords: regression)

Attachments

(6 files)

Hey Ben, with the favicon CSS changes, I've noticed a problem. On Linux (and I'd expect Win32 as well), other icons such as checkmarks are now scaled to 16x16 as well. Example: the check next to View->Sidebar when the sidebar is open. Can you come up with a better rule than .menu-iconic-icon { width: 16px; height: 16px; } in mozilla/themes/{modern|classic}/global/menu.css
Behaviour confirmed on win32 as well Build ID: Mozilla/5.0 (Windows; U; Win98; en-US; rv:0.9.6+) Gecko/20011201 This wasn't happening on yesterday's build. btw, where is this CSS file on win32 systems? I did a serach but couldn't find it anywhere.
Jason, lxr is your friend, just look at this link: http://lxr.mozilla.org/seamonkey/source/themes/classic/global/win/menu.css#246 rjc, what if we add something like this to menu.css#131? menuitem[checked="true"] { width: 16px; height: 16px; list-style-image : url("chrome://global/skin/menu-check.gif"); } -Neil.
But, you better replace 16px with 12px or whatever that should be!
note: chrome://global/skin/menu/menu-radio.gif and chrome://global/skin/menu/menu-check.gif are both 7px by 7px
OS: Linux → All
need to cure bug 113102 as well - arrow gifs in link toolbar grew
*** Bug 113145 has been marked as a duplicate of this bug. ***
*** Bug 113151 has been marked as a duplicate of this bug. ***
*** Bug 113165 has been marked as a duplicate of this bug. ***
*** Bug 113246 has been marked as a duplicate of this bug. ***
Can we add checkmarks and bullets to summary line to avoid dupes, just got two more.
*** Bug 113263 has been marked as a duplicate of this bug. ***
*** Bug 113262 has been marked as a duplicate of this bug. ***
Summary: menu icon CSS rule problem → menu icon size CSS rule problem (checkmark bullet)
*** Bug 113270 has been marked as a duplicate of this bug. ***
This patch changes the menu-iconic-icon to 7x7 pixels, so the image is the right size. It also centres (sorta :) the image within the same 16x16px box.
Please add the patch keyword
Actually, that patch causes the bookmark menu icons to shrink to 7px - I never thought of that unitl I found another bug which said that the addition of bookmark menu icons caused this bug! Anyway, this patch works a lot better. Let me know if I've broken anything else! (Sorry for all the spam)
Will this also correct the checkmark bullets in the search dialog dropdowns?
Yes. I had no idea of that bug's existence, but this patch does fix it. (I assume you mean the "using" combobox in the search sidebar)
No, the select search header field (to the left of the comparison dropdown).
So, you must mean the search dialog in mail&news? That's fixed, too. If that's still not what you mean, then please post a screenshot...
Status: NEW → ASSIGNED
olga, are you seeing this? perhaps bug 113340 might be this issue...
No, it's different issue in bug 113340. This one is about increased size of checkmark.
*** Bug 113472 has been marked as a duplicate of this bug. ***
*** Bug 113485 has been marked as a duplicate of this bug. ***
adding some keywords.
Keywords: nsbeta1, regression
forget comment #5. It's bug 113100 that also needs fixing - same cause.
*** Bug 113512 has been marked as a duplicate of this bug. ***
Will this fix checkmark in searchsidebar dropdownbox too?
Using build 2001120504 on Windows 2000, the checkmarks are still way ugly.
*** Bug 113644 has been marked as a duplicate of this bug. ***
In 2001120508 on Linux it's also ugly.
Just to clear a few things up. My patch isn't in the tree yet (it hasn't even got a review yet), so any builds will still show horrid checkmarks. To speed this process, someone may add the patch keyword to this bug (because I can't :o( ) If you would like to build from source, you may add this patch by running "patch -p0 < '/path/to/downloaded/patch'" before running make. My patch moves the 16px size from the checkmark image to it's containing box, so that any image smaller will _not_ be stretched, but no image will be bigger than 16px. Finally, this fixes _all_ instances of checkmarks (and bullets) in the dropdown menus. This includes 1) the window menus (&View and &Tasks etc) 2) xul dropdowns, including those in the search sidebar, the tabs dropdown, and in the mail&news search dialog.
Have you already notified Ben ? This will speed things up even more =)
Keywords: patch
Keywords: mozilla0.9.7
*** Bug 113762 has been marked as a duplicate of this bug. ***
*** Bug 113822 has been marked as a duplicate of this bug. ***
Hardware: PC → All
Summary: menu icon size CSS rule problem (checkmark bullet) → menu icon size CSS rule problem (checkmark, bullet)
Component: Skinability → Themes
*** Bug 114099 has been marked as a duplicate of this bug. ***
*** Bug 114186 has been marked as a duplicate of this bug. ***
rjc, beng, can you all take a look at this. It's a high profile bug that's wasting a lot of reporting and triage time. A contributor has come up with a patch and it's been sitting for a few days now with no comment.
*** Bug 114294 has been marked as a duplicate of this bug. ***
This patch fixes the oversized checkmark bug, but it reverts the intended behavior of rjc's favicon patch. The reason the icon has a width/height of 16px is to prevent oversized favicons from making the menuitem grow. So, in addition to the current patch, you should put max-width: 16px and max-height 16px; on .menu-iconic-icon
*** Bug 114313 has been marked as a duplicate of this bug. ***
Attached file testcase
This testpage uses attachment 61019 [details] as it's favicon. That icon has only a 72x72px image, so it is usable to check that no favicons are being stretched (see bug 109862 for why I can't just use any icon). If you add this page to your favourites, it stretches the menu widthways (but not heightways). I'll then see if I can fix this bug without causing these favicons to break...
Blocks: 114455
*** Bug 114567 has been marked as a duplicate of this bug. ***
*** Bug 114683 has been marked as a duplicate of this bug. ***
*** Bug 114735 has been marked as a duplicate of this bug. ***
Just needed to make the checkbox/radio images 16x16, this saves us from needed an extra box around the image (which I will remove soon).
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla0.9.7
It's always great to see the patch attached to a bug, so that we don't have to search for it :)
I guess you changed the images, used in menu.css, because it's a faster way of doing things: http://lxr.mozilla.org/seamonkey/source/themes/modern/global/menu.css#178-202 But i'm not 100% sure, did you change more?
checkmarks in preferences/fonts (dropdown menus) still large in classic theme
*** Bug 114966 has been marked as a duplicate of this bug. ***
*** Bug 114977 has been marked as a duplicate of this bug. ***
this isn't fixed. classic images are still too large.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
The link toolbar images have also not been fixed.
a=asa (on behalf of drivers) for checkin to 0.9.7
mine
Assignee: ben → hewitt
Status: REOPENED → NEW
Joe, looks like another bug Ben has (ie bug 113100) is also for this.
Don't forget that the alignment menulist in EdImageProps.xul uses large images. Wouldn't it be easier to set the icon size only on bookmark items i.e. .bookmark-item > .menu-iconic-left > image /* should put class on that image */ { width: 16px; height: 16px; }
fixed on trunk and branch
Status: NEW → RESOLVED
Closed: 23 years ago23 years ago
Resolution: --- → FIXED
Link toolbar icons are now the correct size in classic, but still stretched in modern. Build 2001121909 WinME I think all the remaining issues are covered by bug 113100.
No longer blocks: 114455
Verified (2001-12-28-08-trunk)
Status: RESOLVED → VERIFIED
The bug still exists with the modern theme, for the Site Navigation bar, with build 2001122803 on w2k.
Status: VERIFIED → REOPENED
Resolution: FIXED → ---
Please read "Additional Comment #62 From Luke Koleszar 2001-12-19 16:13" Thank you.
Status: REOPENED → RESOLVED
Closed: 23 years ago23 years ago
Resolution: --- → FIXED
As requested by pmac@netscape.com, here is a screenshot of the site nav bar in modern theme. I've modified it to show the images when it's active and when it's not. Most are still very aliased.
Sébastien, I don't see it anymore. If you still see it in current build, please reopen. Verified (2002-01-29-06-trunk)
Status: RESOLVED → VERIFIED
Works nice now.
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: