Bug 129680
Summary: | [GTK] jQuery's nicescroll scrollbars not painted | ||
---|---|---|---|
Product: | WebKit | Reporter: | Sergio Villar Senin <svillar> |
Component: | WebKitGTK | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED INVALID | ||
Severity: | Major | CC: | dpino, eocanha, mcatanzaro, mrobinson |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
URL: | http://8by8mag.com/blog/ |
Sergio Villar Senin
The page I linked above shows a custom scrollbar. WebKitGtk does not render it and thus makes that webpage totally unusable.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Diego Pino
The scrollbars are painted by a jQuery plugin called nicescroll https://github.com/inuyaksa/jquery.nicescroll.
Other sites using that plugin have the same problem, for instance http://www.crowdfundmafia.com/.
Sergio Villar Senin
Looks like a serious issue
Martin Robinson
Is this with WebKit1 or WebKit2?
Sergio Villar Senin
(In reply to comment #3)
> Is this with WebKit1 or WebKit2?
Both
Enrique Ocaña
Diego Pino and I have been triaging this bug and have found that the problem is in the code that the NiceScroll JavaScript library uses to detect if the device has touch capabilities (the scrollbar is hidden in that case). Manually forcing the library to believe that the device is non-touchable solves the issue.
We have reported the bug[1] to the NiceScroll authors and submitted a patch[2] to apply the same fix they already used for Chrome.
[1] https://github.com/inuyaksa/jquery.nicescroll/issues/367
[2] https://github.com/inuyaksa/jquery.nicescroll/pull/368
Sergio Villar Senin
(In reply to comment #5)
> Diego Pino and I have been triaging this bug and have found that the problem is in the code that the NiceScroll JavaScript library uses to detect if the device has touch capabilities (the scrollbar is hidden in that case). Manually forcing the library to believe that the device is non-touchable solves the issue.
>
> We have reported the bug[1] to the NiceScroll authors and submitted a patch[2] to apply the same fix they already used for Chrome.
>
> [1] https://github.com/inuyaksa/jquery.nicescroll/issues/367
> [2] https://github.com/inuyaksa/jquery.nicescroll/pull/368
Great job! Have you had any feedback so far?
Enrique Ocaña
Nope. No response to the submitted bug and no integration of the pull request.
Enrique Ocaña
The pull request has been integrated today:
https://github.com/inuyaksa/jquery.nicescroll/pull/368
Michael Catanzaro
Not a WebKit bug, then?