Skip to content

MacOS framebuffer size and window content scale incorrect on external display without high dpi #1857

@xiaozhuai

Description

@xiaozhuai

image

When move the window to external display. the framebuffer size is incorrect. On retina display, it works fine.
Window size: 600x600
Framebuffer size: 600x600 (Actually 1200x1200)
Content scale: 1.0, 1.0 (Actually 2.0, 2.0)

My external display resolution is 2560x1440

It also works if I enable hidpi on external display https://github.com/xzhih/one-key-hidpi

Metadata

Metadata

Assignees

Labels

EGLEGL API specificbugBug reports and bugfix pull requestsmacOSverifiedReproduced or otherwise verified bugs

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions