[Webkit-unassigned] [Bug 33511] New: QtWebKit Does Not Respect Mac Scroll Bar Preferences
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Jan 11 21:05:26 PST 2010
https://bugs.webkit.org/show_bug.cgi?id=33511
Summary: QtWebKit Does Not Respect Mac Scroll Bar Preferences
Product: WebKit
Version: 312.x
Platform: Macintosh
OS/Version: Mac OS X 10.6
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: WebKit Qt
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: mathpup at gmail.com
Overview:
On Mac OS X, the Appearance section of System Preferences permits the user to
select whether clicking in the scroller region causes the scroll bar to jump to
the next page OR to jump to the spot that is clicked. If the Option key (aka
Alt key) is pressed, the current behavior is inverted. Qt uses the style hint
QStyle::SH_ScrollBar_LeftClickAbsolutePosition for this. (There is a different
but similar style hint for platforms that use the middle pointer button.)
Steps to Reproduce:
Open a web page with enough vertical content to need a scroll bar. Click above
or below the current scroller. The document always scrolls up or down by a
page, regardless of whether the user preferences in System Preferences.
Build Date and Platform:
2010-01-09 on Mac OS X 10.6
>From Qt 4.7 git repository (but the code looks in latest QtWebKit repository)
FIx: In webkit/WebCore/platform/qt/ScrollbarThemeQt.cpp, line 182, change
FROM: return
QApplication::style()->styleHint(QStyle::SH_ScrollBar_MiddleClickAbsolutePosition)
&& evt.button() == MiddleButton;
TO: return
(QApplication::style()->styleHint(QStyle::SH_ScrollBar_MiddleClickAbsolutePosition)
&& evt.button() == MiddleButton) ||
(QApplication::style()->styleHint(QStyle::SH_ScrollBar_LeftClickAbsolutePosition)
&& evt.button() == LeftButton);
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list