Closed
Bug 845306
Opened 11 years ago
Closed 11 years ago
Use 2x images for menu arrows
Categories
(Toolkit :: Themes, defect)
Tracking
()
RESOLVED
FIXED
mozilla22
People
(Reporter: fryn, Assigned: fryn)
References
Details
Attachments
(4 files, 1 obsolete file)
Use 2x images for the menu arrows (the rightward-pointing arrows that indicate the item is a menu) and the arrows in <autorepeatbutton/> elements. The odd thing is that OS X is using a 17px-wide arrow image, whereas our non-HiDPI version is 8px wide, which means that we'll need to do something like the following for HiDPI mode: width: 8.5px; margin-right: -.5px; I created a 2x version of menu-arrow.png using Reuben's images in bug 795665, but they don't perfectly match OS X's. Here's a preliminary patch for this. It looks a lot better in HiDPI mode than the incorrectly colored, fuzzy 1x images we have now, but it's not perfect.
Attachment #718395 -
Flags: review?(shorlander)
Assignee | ||
Updated•11 years ago
|
Attachment #718395 -
Flags: review?(shorlander) → feedback?(shorlander)
Comment 1•11 years ago
|
||
Hey Frank, I think this is the correct image. I thought the other one was the menu arrow image because it also had a grey version, supposedly for disabled menus. This one looks more like the OS X menu arrow image, but I don't see disabled/selected states in the OS X files.
Assignee | ||
Updated•11 years ago
|
Attachment #718395 -
Flags: feedback?(shorlander)
Assignee | ||
Comment 2•11 years ago
|
||
(In reply to Reuben Morais [:reuben] from comment #1) > Hey Frank, I think this is the correct image. I thought the other one was > the menu arrow image because it also had a grey version, supposedly for > disabled menus. This one looks more like the OS X menu arrow image, but I > don't see disabled/selected states in the OS X files. Interesting. Nice find. That does look more like it. Its large size seems to explain the anti-aliasing that hints of down-scaling in the native menu arrows. I'm not sure what to do with this, but Stephen hopefully knows. This is somewhat low priority compared to Stephen's multiple high-priority projects, so I removed the feedback flag for now, since it's not a trivial fix.
Comment 3•11 years ago
|
||
The small arrows are 9px wide, the larger arrows are 18 they just have 1 row of transparent pixels.
Comment 4•11 years ago
|
||
Comment 5•11 years ago
|
||
Had to adjust the size. Now 27 x 10 was 24 x 10
Assignee | ||
Comment 6•11 years ago
|
||
Try run was all green, including reftests: https://tbpl.mozilla.org/?tree=Try&rev=7639bf90e016
Assignee: nobody → fyan
Attachment #718395 -
Attachment is obsolete: true
Status: NEW → ASSIGNED
Attachment #719177 -
Flags: review?(shorlander)
Assignee | ||
Updated•11 years ago
|
Component: Theme → Themes
Product: Firefox → Toolkit
Assignee | ||
Updated•11 years ago
|
Attachment #719177 -
Flags: review?(shorlander) → review?(dolske)
Updated•11 years ago
|
Attachment #719177 -
Flags: review?(dolske) → review+
Comment 7•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/5e9be4f5489d
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla22
You need to log in
before you can comment on or make changes to this bug.
Description
•