Bug 238290

Summary: [GTK4] Tooltips often broken
Product: WebKit Reporter: Michael Catanzaro <mcatanzaro>
Component: WebKitGTKAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: alicem, bugs-noreply, mcatanzaro
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 210100    

Description Michael Catanzaro 2022-03-23 14:20:38 PDT
With GTK 4, tooltips are sometimes broken. They usually work... except when they don't. Test by hovering over a link to a bug in this Bugzilla instance (e.g. the GTK 4 bug in the "Blocks" field up above).

When they don't work, they don't work for any link. When they do work,t hey work for all links.
Comment 1 Alice Mikhaylenko 2022-10-13 05:04:36 PDT
Interestingly enough, when a tooltip fails, this happens:

```
(MiniBrowser:17): Gdk-CRITICAL **: 05:04:13.942: OPENGL:
    Source: API
    Type: Error
    Severity: High
    Message: GL_INVALID_OPERATION in glGetFramebufferAttachmentParameteriv(invalid pname GL_FRAMEBUFFER_ATTACHMENT_RED_SIZE)

(MiniBrowser:17): Gdk-CRITICAL **: 05:04:13.942: OPENGL:
    Source: API
    Type: Error
    Severity: High
    Message: GL_INVALID_FRAMEBUFFER_OPERATION in glClear(incomplete framebuffer)

(MiniBrowser:17): Gdk-CRITICAL **: 05:04:13.942: OPENGL:
    Source: API
    Type: Error
    Severity: High
    Message: GL_INVALID_FRAMEBUFFER_OPERATION in glDrawArrays

(MiniBrowser:17): Gdk-CRITICAL **: 05:04:13.942: OPENGL:
    Source: API
    Type: Error
    Severity: High
    Message: GL_INVALID_FRAMEBUFFER_OPERATION in glDrawArrays

(MiniBrowser:17): Gdk-CRITICAL **: 05:04:13.942: OPENGL:
    Source: API
    Type: Error
    Severity: High
    Message: GL_INVALID_FRAMEBUFFER_OPERATION in glDrawArrays
```
Comment 2 Michael Catanzaro 2022-10-13 07:14:41 PDT
OK, I'm running with G_DEBUG=fatal-criticals now to try to get a backtrace, but sadly the tooltips that were so broken for me yesterday are working just fine today. Let's hope I manage to catch it.
Comment 3 Alice Mikhaylenko 2022-10-13 12:12:55 PDT
Ok, it's GTK. https://gitlab.gnome.org/GNOME/gtk/-/issues/5258
Comment 4 Michael Catanzaro 2022-10-13 12:18:24 PDT
(In reply to Michael Catanzaro from comment #2)
> OK, I'm running with G_DEBUG=fatal-criticals now to try to get a backtrace,
> but sadly the tooltips that were so broken for me yesterday are working just
> fine today. Let's hope I manage to catch it.

I had to give up on this due to https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/1055. A fix for that issue was just released yesterday, but hasn't hit freedesktop-sdk yet.
Comment 5 Michael Catanzaro 2023-09-25 08:29:44 PDT
I think this got mysteriously fixed at some point in the past year.