Freezes completely when waiting for tooltip
Description Whenever you hover over an item where a tooltip is expected, the program freezes and stops functioning.. (occasionally also crashes the whole desktop environment)
To Reproduce Compile Pinta master Hover over a tool for a few seconds Freezes
Additional Info https://github.com/user-attachments/assets/12a75e6e-17f8-4bec-a1d9-9b0cf370642c
Version EndeavourOS Mercury and Pinta git (cloned from master)
Thanks for the report! I haven't seen this before in my testing on Linux, but I'm wondering if it might be an issue with either Wayland or Vulkan
I've tested on Wayland on Ubuntu 24.04 VM and didn't have this issue, or any of the warnings you had in the console..
Could you try launching with the GSK_RENDER environment variable set to either gl or cairo to have GTK use a different rendering backend than Vulkan? (https://docs.gtk.org/gtk4/running.html#gsk_renderer)
Hi, thanks for replying to my issue! I tried doing what you've told me to do and it has produced mixed results.
Both renderer options seem to fix the initial issue but produce different side effects:
- GL renderer produces artifacts in the UI
- Cairo slows down canvas rendering
https://github.com/user-attachments/assets/4a7578f1-4481-4686-9294-a22d935bf03c
Interesting, thanks!
One other thing to try would be to see if you get similar freezes with tooltips in other applications, e.g. gtk4-demo (I think launching the Builder demo should have tooltips when hovering over the toolbar buttons).
Just tried the demo and GOverlay to see if they have similar problems and turns out they don't. This problem definitely resides within Pinta itself.
Thanks for checking! I realized I should have asked you to run the libadwaita demo (adwaita-1-demo) instead in case there are any differences from libadwaita's widgets and stylesheets vs the defaults of GTK
Pinta isn't doing anything very custom in terms of its widgets, so I'm hoping it's not actually Pinta-specific :)
Thanks for checking! I realized I should have asked you to run the libadwaita demo (adwaita-1-demo) instead in case there are any differences from libadwaita's widgets and stylesheets vs the defaults of GTK Just tried this one too and doesn't seem to freeze either...