Double-click window collapsing doesn't correctly test for other active widgets e.g. InvisibleButton(..., ImGuiButtonFlags_MouseButtonRight)
#7841
Labels
InvisibleButton(..., ImGuiButtonFlags_MouseButtonRight)
#7841
Version/Branch of Dear ImGui:
Version 1.90.9
Back-ends:
imgui_impl_sdl2.cpp + imgui_impl_sdlrenderer2.cpp
Compiler, OS:
Windows 10 + MSVC 2022
Full config/build information:
No response
Details:
For
InvisibleButton(..., ImGuiButtonFlags_MouseButtonRight)
, when the button is right-clicked and held, users can still collapse the windows by (left) double-clicking the title bars. I think this behavior is a bit surprising.Screenshots/Video:
Minimal, Complete and Verifiable Example code:
If the invisible button is right-clicked, interactions with other widgets are disabled as expected, but
A
orB
window will still be collapsed when their title bars are (left) double-clicked.The text was updated successfully, but these errors were encountered: