Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Different TextEdit preview on HiDPI display #35586

Open
timothyqiu opened this issue Jan 26, 2020 · 3 comments
Open

Different TextEdit preview on HiDPI display #35586

timothyqiu opened this issue Jan 26, 2020 · 3 comments

Comments

@timothyqiu
Copy link
Member

Godot version: 3.2 RC3

OS/device including version: macOS 10.15.2

Issue description:

On a HiDPI display, the TextEdit preview in the editor is inconsistent with the actual one:

screenshot

As in the screenshot:

  1. Only three lines are displayed, while it's all four lines when running
  2. The display area (highlighted) shown in the minimap only covers two lines, but it's actually three lines shown in the preview, and four when running

Steps to reproduce:

  1. Open Godot on a HiDPI display, or set the Display Scale to 200%
  2. Create a new scene, and add a TextEdit
  3. Make four lines of text, and set the size to 120x75, you can also turn on the minimap

Minimal reproduction project: TextEditTest.zip

@KoBeWi
Copy link
Member

KoBeWi commented Dec 15, 2020

Can anyone still reproduce this bug in Godot 3.2.3 or any later release?

@timothyqiu
Copy link
Member Author

Yes. I can still reproduce this in 3.2.4 beta4.

With seamless display scaling implemented, it's now also seen on a low-dpi monitor if there's any hidpi monitor available.

截屏2020-12-15 上午9 58 06

@kitbdev
Copy link
Contributor

kitbdev commented May 1, 2024

Can reproduce in 3.5, but cannot reproduce in 4.0 or later using DisplayScale set to 200%.

@akien-mga akien-mga added this to the 3.x milestone May 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants