Maniphest T80525

Zooming in and out of the node viewport, text keeps changing its size
Confirmed, NormalBUG

Assigned To
None
Authored By
Charbel Nicolas (charbelnicolas)
Sep 6 2020, 4:24 PM
Tags
  • BF Blender
  • User Interface
Subscribers
Charbel Nicolas (charbelnicolas)
Germano Cavalcante (mano-wii)
Harley Acheson (harley)
Yevgeny Makarov (jenkm)

Description

System Information
Operating system: Arch Linux
Graphics card: NVIDIA GTX 980

Blender Version
Broken: Blender 2.90.0 Stable Release
Worked: I'm not sure if this has ever worked correctly but it looks ugly.

Short description of error

When zooming in and out of the node viewport, the text keeps changing its size making it look like it's jumping all around. I think the view should only zoom in and out without ever changing the text's size.

Exact steps for others to reproduce the error

Add a principled BSDF node and then zoom in and out.

Event Timeline

Charbel Nicolas (charbelnicolas) created this task.Sep 6 2020, 4:24 PM
Charbel Nicolas (charbelnicolas) updated the task description.
Germano Cavalcante (mano-wii) changed the task status from Needs Triage to Confirmed.Sep 9 2020, 7:12 PM
Germano Cavalcante (mano-wii) changed the subtype of this task from "Report" to "Bug".
Germano Cavalcante (mano-wii) added a project: User Interface.
Germano Cavalcante (mano-wii) added a subscriber: Germano Cavalcante (mano-wii).

This seems to be an old problem.
As far as I know, each font has its variant for each size.
Depending on the zoom, the variant for the specific size is chosen.
But apparently, this transition could be smoother.

I'm not sure if it's a bug, but it's worth investigating.

Yevgeny Makarov (jenkm) added a subscriber: Yevgeny Makarov (jenkm).Sep 9 2020, 7:35 PM
This comment was removed by Yevgeny Makarov (jenkm).
Harley Acheson (harley) added a subscriber: Harley Acheson (harley).Sep 19 2020, 8:36 PM

Most of this jumping is caused by our setting font sizes only to whole integer points, despite FreeType supporting sub-point sizes. This patch would help: https://developer.blender.org/D8960

Hans Goudey (HooglyBoogly) moved this task from Backlog to Bugs on the User Interface board.Mar 30 2022, 8:49 PM
Harley Acheson (harley) added a comment.Mar 30 2022, 9:08 PM

I'm no longer seeing any of the jumping shown above.

Germano Cavalcante (mano-wii) added a comment.Mar 30 2022, 10:05 PM

I compared the versions but couldn't see much difference:

Harley Acheson (harley) added a comment.Mar 30 2022, 10:22 PM
In T80525#1332573, @Germano Cavalcante (mano-wii) wrote:

I compared the versions but couldn't see much difference:

Yes, you are right. I tested this by rolling my middle mouse button and saw no jumpiness. But I see it as you do if I ctrl-middle mouse drag.