WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
Bug 45046
[GTK] ScrollbarThemeGtk should be enabled for interior frame scrollbars
https://bugs.webkit.org/show_bug.cgi?id=45046
Summary
[GTK] ScrollbarThemeGtk should be enabled for interior frame scrollbars
Martin Robinson
Reported
2010-09-01 10:38:06 PDT
ScrollbarThemeGtk should be enabled for interior frame scrollbars. This will specialize ScrollbarGtk.cpp to only apply to main-frame scrollbars and remove all code in that unit for interior frame scrollbars. This means that interior frame scrollbars will work just as they do for all other ports and greatly reduces the code complexity. Further benefits: For WebKit2 clicks will not have to be routed through GTK+ and can simply go straight to WebCore. Additionally, it will allow us to add a switch (if we desire) to toggle the behavior of main frame scrollbars (for instance, if we wish to pass some failing layout tests).
Attachments
Enable ScrollbarThemeGtk
(33.60 KB, patch)
2010-09-01 10:55 PDT
,
Martin Robinson
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Martin Robinson
Comment 1
2010-09-01 10:55:12 PDT
Created
attachment 66236
[details]
Enable ScrollbarThemeGtk
Gustavo Noronha (kov)
Comment 2
2010-09-06 13:05:14 PDT
Comment on
attachment 66236
[details]
Enable ScrollbarThemeGtk 183 // FIXME: Restructure the ScrollView abstraction so that we do not have to 184 // copy this verbatim from ScrollView.cpp. Until then, we should make sure this 185 // is kept in sync. 186 bool needsUpdate = false; Yeah =(. I like that we are being able to further isolate the more specific stuff into their own smaller compartments, though.
Martin Robinson
Comment 3
2010-09-06 13:26:54 PDT
Wow. Thanks for the review. That's a wrap for scrollbar stuff. Enabling / disabling the current main frame behavior should only be a couple-line change if we need to do it for WebKit2.
Martin Robinson
Comment 4
2010-09-06 14:04:15 PDT
Comment on
attachment 66236
[details]
Enable ScrollbarThemeGtk Clearing flags on attachment: 66236 Committed
r66848
: <
http://trac.webkit.org/changeset/66848
>
Martin Robinson
Comment 5
2010-09-06 14:04:19 PDT
All reviewed patches have been landed. Closing bug.
Philippe Normand
Comment 6
2010-09-07 03:01:36 PDT
It seems testwebview started to crash after this patch landed:
http://webkit-bots.igalia.com/amd64/svn_66871.core-when_1283853203-_-who_testwebview-_-why_11.7435.trace.html
Looking into it
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug