Scaling issues on Tooltip with stretch_mode = canvas_items
Tested versions
Reproducible: 4.3-rc3, 4.1.2-stable
System information
Godot v4.3.rc3 - Ubuntu 22.04.4 LTS 22.04 - X11 - Vulkan (Forward+) - integrated Intel(R) UHD Graphics (CML GT2) - Intel(R) Core(TM) i7-10850H CPU @ 2.70GHz (12 Threads)
Issue description
When using Project Settings -> Display -> Window -> Strech -> Mode = canvas_items, most UI elements are correctly scaled when the window is resized (they are rendered at the target size, with crisps results on screen).
For Tooltip it's not the case. They seems to be rendered at base size and then scaled to the target size, this leads to blurry & pixelated results on screen. It's mostly visible on the font, but it seems to impact the Tooltip panel too.
Steps to reproduce
-
Project Settings -> Display -> Window -> Strech -> Mode=canvas_items - Create a label, with text, and tooltip text
- launch it
- resize the window
- put the mouse on the label
- the label looks good, the tooltip looks blurry and pixelated
Minimal reproduction project (MRP)
Not sure if this is specific to canvas_scaling or tooltips.
stretch/mode: disabled with scaling:4 shows the same blurry font. And Items in a PopupMenu show up blurry with both methods as well.
try https://github.com/godotengine/godot/issues/54030#issuecomment-2389247901
try https://github.com/godotengine/godot/issues/54030#issuecomment-2389247901
I'm not sure how to use the workaround posted there (in particular how to get correct the windows & viewports for tooltips), but I've tried the fix https://github.com/godotengine/godot/pull/97745, and it solves this issues.
try #54030 (comment)
I'm not sure how to use the workaround posted there (in particular how to get correct the windows & viewports for tooltips), but I've tried the fix #97745, and it solves this issues.
#97745 has been merged and it works out of the box as of 4.4 beta1, so this issue should be closed?
It's indeed fixed on my side since 4.4-beta1, with no regression AFAIK, so yes, I think we can close this issue.
Closing per the above comment.