<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [GTK] Implement overlay scrollbars"
   href="https://bugs.webkit.org/show_bug.cgi?id=153405#c4">Comment # 4</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [GTK] Implement overlay scrollbars"
   href="https://bugs.webkit.org/show_bug.cgi?id=153405">bug 153405</a>
              from <span class="vcard"><a class="email" href="mailto:mcatanzaro&#64;igalia.com" title="Michael Catanzaro &lt;mcatanzaro&#64;igalia.com&gt;"> <span class="fn">Michael Catanzaro</span></a>
</span></b>
        <pre>Comment on <span class=""><a href="attachment.cgi?id=269692&amp;action=diff" name="attach_269692" title="Patch">attachment 269692</a> <a href="attachment.cgi?id=269692&amp;action=edit" title="Patch">[details]</a></span>
Patch

View in context: <a href="https://bugs.webkit.org/attachment.cgi?id=269692&amp;action=review">https://bugs.webkit.org/attachment.cgi?id=269692&amp;action=review</a>

<span class="quote">&gt; Source/WebCore/platform/gtk/ScrollbarThemeGtk.cpp:238
&gt; +    m_usesOverlayScrollbars = g_strcmp0(g_getenv(&quot;GTK_OVERLAY_SCROLLING&quot;), &quot;0&quot;);</span >

Is this really the right test...? It's not a style property? I assumed this variable was to turn off overlay scrolling for debugging purposes. Are all themes expected to implement overlay scrollbars?

I'm halfway pleased that the technical limitation of threaded compositor necessitates implementing overlay scrollbars, because now we have overlay scrollbars. But it's disappointing that threaded compositor will prevent us from rendering non-overlay scrollbars. I expect this could cause scrollbars to look quite bad with anything besides Adwaita or Ambiance. Can you or Yoon explain the technical limitation here?

<span class="quote">&gt; Source/WebCore/platform/gtk/ScrollbarThemeGtk.cpp:432
&gt; +#if GTK_CHECK_VERSION(3, 19, 8)</span >

I don't understand this version check. 3.19.7 was released last week; I don't see any scrollbar-related changes since then?

I would just get rid of the check; it's enough that the code works with GTK+ master, that's what you and I are going to use, we're the people testing it so optimize for us. Otherwise I'd have to manually remove the check to test this code.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>