-
-
Notifications
You must be signed in to change notification settings - Fork 10.5k
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
Drag and drop problems with multiple platform windows #7922
Comments
The workaround I'm using in ngscopeclient for the second issue is to suppress the tooltip if the left mouse button is down. I don't currently have a workaround for the first. |
Please specify the platform backend and if SDL or GLFW specify their version. |
GLFW 3.3.8-1 (Debian bookworm) is what I'm testing on. Unsure if this happens on others as well as it's all I have readily available. |
Update: Tested with latest upstream imgui docking as of today (c71e48c7) and the GLFW and SDL2 versions shipped with Debian stable. Both using Vulkan backend. The issue happens consistently using example_glfw_vulkan but not example_sdl2_vulkan, suggesting that it is specific to the GLFW backend. |
Also happens with example_glfw_opengl3, so not Vulkan specific. |
I think this a duplicate of #3158. Also see: #7733 (comment) |
Version/Branch of Dear ImGui:
1.91.1 19104 docking
Back-ends:
Vulkan
Compiler, OS:
gcc, Linux X11 (Debian stable)
Full config/build information:
No response
Details:
This might be a couple of bugs or just one, I'm still investigating, but I'm seeing drag-and-drop behave weirdly with multiple platform windows. We can split into separate issues if it turns out to be separate bugs.
Dragging outside a platform window creates spurious drop events
Steps to reproduce:
It appears that "leave all imgui windows" is the trigger for this failing. If the source and destination windows partially overlap (separate platform windows, but cursor is always over an imgui window) drag and drop appears to work as expected.
Tooltips leaving the source platform window create spurious drop events
Steps to reproduce:
Screenshots/Video:
No response
Minimal, Complete and Verifiable Example code:
Unmodified imgui_demo.cpp
The text was updated successfully, but these errors were encountered: