Bug 238290 - [GTK4] Tooltips often broken
Summary: [GTK4] Tooltips often broken
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks: GTK4
  Show dependency treegraph
 
Reported: 2022-03-23 14:20 PDT by Michael Catanzaro
Modified: 2023-09-25 08:29 PDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.