Bug 129680 - [GTK] jQuery's nicescroll scrollbars not painted
Summary: [GTK] jQuery's nicescroll scrollbars not painted
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Major
Assignee: Nobody
URL: http://8by8mag.com/blog/
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-04 04:48 PST by Sergio Villar Senin
Modified: 2016-01-25 07:06 PST (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sergio Villar Senin 2014-03-04 04:48:14 PST
The page I linked above shows a custom scrollbar. WebKitGtk does not render it and thus makes that webpage totally unusable.
Comment 1 Diego Pino 2014-03-04 05:04:37 PST
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/.
Comment 2 Sergio Villar Senin 2014-03-04 07:27:04 PST
Looks like a serious issue
Comment 3 Martin Robinson 2014-03-04 08:24:55 PST
Is this with WebKit1 or WebKit2?
Comment 4 Sergio Villar Senin 2014-03-04 08:30:05 PST
(In reply to comment #3)
> Is this with WebKit1 or WebKit2?

Both
Comment 5 Enrique Ocaña 2014-03-05 10:01:32 PST
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
Comment 6 Sergio Villar Senin 2014-03-25 10:07:26 PDT
(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?
Comment 7 Enrique Ocaña 2014-03-25 10:25:05 PDT
Nope. No response to the submitted bug and no integration of the pull request.
Comment 8 Enrique Ocaña 2014-04-29 07:32:40 PDT
The pull request has been integrated today:

https://github.com/inuyaksa/jquery.nicescroll/pull/368
Comment 9 Michael Catanzaro 2016-01-25 07:06:51 PST
Not a WebKit bug, then?