Closed
Bug 121440
Opened 23 years ago
Closed 23 years ago
Mac OS X native theme scrollbar arrows not painted correctly
Categories
(SeaMonkey :: Themes, defect, P1)
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla1.0
People
(Reporter: adamlock, Assigned: mikepinkerton)
References
Details
(Keywords: topembed+)
Attachments
(1 file, 1 obsolete file)
56.74 KB,
patch
|
sdagley
:
review+
beard
:
superreview+
jud
:
approval+
|
Details | Diff | Splinter Review |
Observed on Mac OS X with a trunk pull & build from 23 Jan:
1. Set the theme to classic so native style scrollbars are rendered.
2. Load a URL into the browser and shrink the window until horizontal and
vertical scrollbars are visible.
3. Scroll the image by clicking on the up/down arrows on the vertical scrollbar
and the left/right arrows on the horizontal one.
Result:
Arrows are not correctly highlighted when depressed. The only one that is
highlighted is the down arrow and that sometimes renders a a pixel off from
where it should be causing a jiggling effect. Same behaviour is observed whether
the system prefs are set so that arrows are rendered at either end of the bar or
grouped together.
Comment 1•23 years ago
|
||
-> Themes
Assignee: jaggernaut → hewitt
Component: XP Toolkit/Widgets → Themes
QA Contact: jrgm → pmac
Assignee | ||
Comment 2•23 years ago
|
||
yeah yeah i know.
hyatt, the current scheme for scrollbars just isn't going to work on mac since
we can only draw the entire bar. we're gonna have to come up with something like
a single frame with no anon content.
Assignee: hewitt → pinkerton
Priority: -- → P2
Target Milestone: --- → mozilla0.9.9
The APIs say there is a DrawThemeScrollBarArrows function for this purpose. I
noticed a comment in nsNativeThemeMac that says this is a no-op - is that really
true?
Assignee | ||
Comment 4•23 years ago
|
||
yes, it is really true. I asked apple. DrawThemeScrollBarArrows is a no-op in aqua.
Assignee | ||
Updated•23 years ago
|
Target Milestone: mozilla0.9.9 → mozilla1.0
Assignee | ||
Comment 5•23 years ago
|
||
this will go away as part of the rewrite for 115758
Depends on: 115758
Priority: P2 → P5
Assignee | ||
Comment 6•23 years ago
|
||
this patch guts xbl scrollbars in classic and replaces them with native ones,
specified via XBL. the mechanism to do native scrollbars from within the gfx
scrollview is XP, but currently only implemented on macos.
needing r/sr.
Assignee | ||
Comment 7•23 years ago
|
||
smfr wanted to be cc'd. also could use the sr.
Status: NEW → ASSIGNED
Priority: P5 → P1
Assignee | ||
Updated•23 years ago
|
Assignee | ||
Comment 8•23 years ago
|
||
i forgot most of the makefile changes in the first patch. also detabbed a
couple files and switched from NPL to MPL on new files.
Attachment #76078 -
Attachment is obsolete: true
Comment 9•23 years ago
|
||
Comment on attachment 76102 [details] [diff] [review]
updated patch with all the files
r=sdagley
Attachment #76102 -
Flags: review+
Comment 10•23 years ago
|
||
Comment on attachment 76102 [details] [diff] [review]
updated patch with all the files
Nit, don't introduce a new mRefCnt field in nsNativeScrollbar if you can help
it.
sr=beard
Updated•23 years ago
|
Attachment #76102 -
Flags: superreview+
Comment 11•23 years ago
|
||
Comment on attachment 76102 [details] [diff] [review]
updated patch with all the files
Nit, don't introduce a new mRefCnt field in nsNativeScrollbar if you can help
it.
sr=beard
Updated•23 years ago
|
Attachment #76102 -
Flags: approval+
Assignee | ||
Comment 12•23 years ago
|
||
yay! fixed
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Updated•16 years ago
|
Product: Core → SeaMonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•