Skip to content

Screen resolution change cannot be handled correctly on windows 11 platform #239

@cliche9

Description

@cliche9

Thanks for creating such an amazing node-editor framework, it's really great!

Here is my issue which has been raised in imgui issues.
Here is the link to this issue: https://github.com/ocornut/imgui/issues/6556#issue-1778994593

Version/Branch of Dear ImGui:

Version: 1.89.6
Branch: docking

Back-end/Renderer/Compiler/OS/Dependencies

Back-ends: GLFW
Renderer: OpenGL
Compiler: MSVC 2022
Operating System: Windows 11
Dependencies: imgui-node-editor and GLFW&OpenGL related(glm, glad, etc.)

My Issue/Question:

  1. When I set the screen resolution scale to 100%, the program works fine.
  2. When the program is running, I scale the screen resolution to 125%, the program goes black.
  3. When my screen resolution is set to 125%, the program goes wired. The mouse cannot operate correctly, as if a single mouse position occupies multiple pixels, making it impossible to perform proper positioning and selection operations.

It seems like the screen's dpi change cannot be handled correctly. I don't know how to address this problem.

I already checked my code, I have a same code structure like the blueprint example, but the problem still exists, any ideas about this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions