Skip to content

4k HiDPI monitor detected as 2560x1440 on Windows 10 #469

@eterevsky

Description

@eterevsky

OS: Windows 10 Home, Version 1708, build 16299.371
winit version: 0.11.3
GPU: Nvidia GTX 1080, driver 385.54
Scaling factor: 150%

events_loop.get_primary_monitor()

produces MonitorId with name = "\.\DISPLAY1", dimensions = (2560, 1440), position = (0, 0), hidpi_factor = 1

winit::WindowBuilder::new().with_fullscreen(Some(events_loop.get_primary_monitor()))

changes monitor resolution to 2560x1440 instead of using native 3840x2160.

Metadata

Metadata

Assignees

No one assigned

    Labels

    B - bugDang, that shouldn't have happenedC - in progressImplementation is proceeding smoothlyD - hardLikely harder than most tasks hereDS - win32Affects the Win32/Windows backendP - highVital to have

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions