Closed
Bug 345141
Opened 18 years ago
Closed 18 years ago
arrows on scrollbars do nothing
Categories
(Core :: XUL, defect)
Tracking
()
VERIFIED
FIXED
People
(Reporter: aja+bugzilla, Assigned: ispiked)
References
Details
(Keywords: regression)
Attachments
(1 file, 2 obsolete files)
(deleted),
patch
|
roc
:
review+
roc
:
superreview+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20060718 Minefield/3.0a1
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20060718 Minefield/3.0a1
Up/down arrows on vertical scrollbars are nonfunctional
Reproducible: Always
Steps to Reproduce:
1. Left click up or down arrow on vertical scrollbar
2.
3.
Actual Results:
no scrolling
Expected Results:
scrolling
Since checkin of bug 303048 perhaps?
Reporter | ||
Comment 1•18 years ago
|
||
Using:
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20060718 Minefield/3.0a1 ID:2006071817 [cairo]
I backed out bug 303048 locally and I'm not seeing this. Looks like this is regression from it.
Comment 3•18 years ago
|
||
Confirming with Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20060719 Minefield/3.0a1 ID:2006071903 [cairo]
Blocks: 303048
Severity: normal → major
Status: UNCONFIRMED → NEW
Ever confirmed: true
Flags: blocking1.9a1?
Keywords: regression
Product: Firefox → Core
Version: unspecified → Trunk
Updated•18 years ago
|
Assignee: nobody → jag
Component: General → XP Toolkit/Widgets
QA Contact: general → xptoolkit.widgets
Assignee | ||
Updated•18 years ago
|
Assignee: jag → ispiked
Assignee | ||
Comment 4•18 years ago
|
||
mwu pointed out that I wasn't returning anything most of the time in this function. Not sure if this is the root cause of the problem, though...
Comment 5•18 years ago
|
||
When I change this code (in nsscrollbarbuttonframe.cpp) from instead to returning false:
if (NS_FAILED(aPresContext->LookAndFeel()->GetMetric(tmpAction,
pressedButtonAction)))
from:
return PR_FALSE;
to:
pressedButtonAction = 0;
I get the scrolling working again.
Assignee | ||
Comment 7•18 years ago
|
||
This will fix stuff, but I'm still trying to figure out how a trunk build I pulled and compiled from CVS is not making scrollbars active when I right or middle click them, but my own build that I originally made this patch in is.
Attachment #229838 -
Attachment is obsolete: true
Attachment #229888 -
Flags: superreview?(roc)
Attachment #229888 -
Flags: review?(roc)
Updated•18 years ago
|
Attachment #229869 -
Attachment is obsolete: true
Attachment #229869 -
Attachment is patch: false
Attachment #229869 -
Flags: review?(neil)
(In reply to comment #7)
> I'm still trying to figure out how a trunk build I
> pulled and compiled from CVS is not making scrollbars active when I right or
> middle click them, but my own build that I originally made this patch in is.
That's probably a separate bug that we should fix separately.
Comment on attachment 229888 [details] [diff] [review]
patch to fix
good to go
Attachment #229888 -
Flags: superreview?(roc)
Attachment #229888 -
Flags: superreview+
Attachment #229888 -
Flags: review?(roc)
Attachment #229888 -
Flags: review+
Assignee | ||
Comment 10•18 years ago
|
||
I filed bug 345245 for the issue I mentioned in comment 7.
Comment 11•18 years ago
|
||
Checking in widget/src/gtk2/nsLookAndFeel.cpp;
/cvsroot/mozilla/widget/src/gtk2/nsLookAndFeel.cpp,v <-- nsLookAndFeel.cpp
new revision: 1.29; previous revision: 1.28
done
Checking in widget/src/xpwidgets/nsXPLookAndFeel.cpp;
/cvsroot/mozilla/widget/src/xpwidgets/nsXPLookAndFeel.cpp,v <-- nsXPLookAndFee
l.cpp
new revision: 1.52; previous revision: 1.51
done
Checking in layout/xul/base/src/nsScrollbarButtonFrame.cpp;
/cvsroot/mozilla/layout/xul/base/src/nsScrollbarButtonFrame.cpp,v <-- nsScroll
barButtonFrame.cpp
new revision: 1.48; previous revision: 1.47
done
Checked into trunk.
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Updated•18 years ago
|
Flags: blocking1.9a1?
Comment 12•18 years ago
|
||
Comment on attachment 229888 [details] [diff] [review]
patch to fix
If you're not going to use the prefs you might as well #ifdef the scrollbar button code...
Assignee | ||
Comment 13•18 years ago
|
||
*** Bug 345273 has been marked as a duplicate of this bug. ***
Reporter | ||
Updated•18 years ago
|
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•