<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>156412</bug_id>
          
          <creation_ts>2016-04-08 12:18:41 -0700</creation_ts>
          <short_desc>Implement a way to test overlay scrollbars</short_desc>
          <delta_ts>2016-04-08 12:18:41 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Layout and Rendering</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Antonio Gomes">tonikitoo</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>simon.fraser</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1182247</commentid>
    <comment_count>0</comment_count>
    <who name="Antonio Gomes">tonikitoo</who>
    <bug_when>2016-04-08 12:18:41 -0700</bug_when>
    <thetext>This came form the follow discussion on IRC:

6:19 PM &lt;tonikitoo&gt; smfr: since ScrollAnimator has hooks for when mouse enters/leaves/clicks an overlay scrollbar area.
6:20 PM &lt;tonikitoo&gt; These hooks are what behavior similarly with and without the patch.
6:22 PM &lt;tonikitoo&gt; I have not tried ref test yet, but have not seen recent overlay scrollbar changes come with tests.
6:22 PM &lt;tonikitoo&gt; smfr: Do you have any pointers?

6:22 PM &lt;smfr&gt; we probably need to make a way to say “draw scrollbars now for testing&quot;
6:23 PM &lt;smfr&gt; s/draw/make visible/
6:23 PM &lt;tonikitoo&gt; (For me to look at)

6:24 PM &lt;tonikitoo&gt; Hum, thought of this too. The hardest part of testing this on mac is that overlay scrollbars only show up when actually scrolling.
6:25 PM &lt;tonikitoo&gt; A always on mode for it could help.
6:31 PM &lt;tonikitoo&gt; smfr: So, to wrap up: a always-on mode for overlay scrollbars + a mismatch ref test would make you happy with it?
6:32 PM &lt;tonikitoo&gt; IIRC webkit/gtk+ has its overlay scrollbars always on.
6:34 PM &lt;smfr&gt; tonikitoo: yes!
6:35 PM &lt;smfr&gt; tonikitoo: probably two separate patches
6:35 PM &lt;smfr&gt; tonikitoo: also note that overlay scrollbars have three modes: hidden, narrow, wide
6:37 PM &lt;tonikitoo&gt; Sounds good. If my understanding is correct, &apos;wide&apos; happens when scrolls (say with mouse wheel) gets triggered with mouse is hovering the scrollbar, right?
6:37 PM &lt;tonikitoo&gt; Where &apos;narrow&apos; is the thumb-only mode.
6:38 PM &lt;tonikitoo&gt; smfr: does it sounds correct?
6:38 PM &lt;smfr&gt; right
6:38 PM &lt;smfr&gt; ideally we could call internals to set the bars in either mode
6:38 PM &lt;tonikitoo&gt; K. Will give it a try. Thanks!</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>