<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [Regression, bisected] Tooltip corruption in Chrome"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=90264#c34">Comment # 34</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [Regression, bisected] Tooltip corruption in Chrome"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=90264">bug 90264</a>
              from <span class="vcard"><a class="email" href="mailto:lil_tux@web.de" title="Heiko <lil_tux@web.de>"> <span class="fn">Heiko</span></a>
</span></b>
        <pre>I'm also in for the tooltip corruption. I'd say it started around the time when
chromium added/enabled aura/ash or what that custom OpenGL-based frontend is
called. Though, I thought it's something specific to my machine. So it's not.

Anyway, encountering the issue on Mesa 10.7.0-devel (git-ad2c390). Most often
if the height of the tooltip changes whilst the width keeps the same.

Reverting the commit mentioned in #1
(95073a2dca03a48f4c77bc846a4a6d1f0eb81ae6), the problem is gone (or at least
seems to).

About the way chromium seems to do it's tooltips: The tooltip view seems to get
re-used all the time, just being resized/viewport adjusted. With apitrace one
can find something like this
<snip>
44579 glDisable(cap = GL_SCISSOR_TEST)
44580 glScissor(x = 0, y = 0, width = 364, height = 38)
44581 glViewport(x = 0, y = 0, width = 370, height = 72)
<snap>
While the real tooltip is 364x38, the viewport image is 370x72. Thus the actual
tooltip is in the lower left corner of the texture. Not quite sure about the
precedence of scissor vs. viewport, but if the scissor test wouldn't get
disabled, the texture should be clipped to the smaller size?

Anyway, reverting that particular commit results in ctx.Driver.Viewport being
called on every glViewport call. For radeon that's going to be something like
.radeon_viewport(ctx)
..radeon_draw_buffer(ctx, radeon->glCtx.DrawBuffer);
...radeonUpdateScissor(ctx); << unconditionallly sets the correct texture size
from glScissor call
...radeon->NewGLState |= _NEW_SCISSOR; << unconditionally requests scissor
update
And then somewhere the draw with the correctly scissored texture happens and
the tooltip gets properly displayed. I'm even not quite sure if
radeon_draw_buffer() should unconditionally update the scissor?

Looks like an application error?</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>