Skip to content

Incorrect "nervous" mouse movements when dragging an external viewport window #8456

Open
@Vindfjall

Description

@Vindfjall

Version/Branch of Dear ImGui:

Version 1.91.8, Branch: docking

Back-ends:

imgui_impl_glfw.cpp + imgui_impl_opengl3.cpp

Compiler, OS:

Linux + GCC

Full config/build information:

No response

Details:

Incorrect "nervous" mouse movements when dragging an external viewport window.

Issue appears for external panels/windows when there is some kind of rendering in the main window, such as a internal window or even a glClear command, i.e. always.

The issue is that the mouse input gets incorrect in the axis of the mouse movement. Values are incorrect/made up and not only in incorrect order.  A rapid drag of window may move the window further than the mouse movement. 

The error magnitude seems to be proportional to the speed of the mouse pointer. 

Config flags:
ImGuiConfigFlags_ViewportsEnable
ImGuiConfigFlags_NavEnableKeyboard

Screenshots/Video:

No response

Minimal, Complete and Verifiable Example code:

No response

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions