You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, not sure if I did something that made it behave like that or if it's intended but when ImGui::IsItemHovered() uses ImGuiHoveredFlags_ForTooltip, tooltips won't show on nav highlight, but if cursor is hovering the tooltip will show correctly (on the cursor) but if you move the nav highlight the tooltip will follow it even outside the item that the tooltip should be.
Video
imgui_tooltip_issue.mp4
Standalone, minimal, complete and verifiable example:
You can check it on ImGui Demo Window > Widgets > Tooltips.
Basic, Fancy and Manual tooltips don't show tooltip on nav highlight, the others do. Those same tooltips if hovered by the cursor and moving the nav highlight, the tooltip will follow it, the others don't behave like that. I just used without the ImGuiHoveredFlags_ForTooltip on my project so it isn't much of a problem.
The text was updated successfully, but these errors were encountered:
euyogi
changed the title
Tooltips not showing on nav highlighting but follow nav highlighting on mouse hover
Tooltips not showing on nav highlighting and follow nav highlighting on mouse hover
Jul 20, 2023
Ouch. Very embarrassingly when I added ImGuiHoveredFlags_AllowWhenOverlappedByItem for 10c7709 (June 26) i offset some flags and created a conflict between ImGuiHoveredFlags_ForTooltip and ImGuiHoveredFlags_NoNavOverride.
Version/Branch of Dear ImGui:
Version: 1.89.7 (18971)
Branch: docking
Back-end/Renderer/Compiler/OS
Back-ends: imgui_impl_win32cpp + imgui_impl_dx12.cpp
My Issue/Question:
Hello, not sure if I did something that made it behave like that or if it's intended but when ImGui::IsItemHovered() uses ImGuiHoveredFlags_ForTooltip, tooltips won't show on nav highlight, but if cursor is hovering the tooltip will show correctly (on the cursor) but if you move the nav highlight the tooltip will follow it even outside the item that the tooltip should be.
Video
imgui_tooltip_issue.mp4
Standalone, minimal, complete and verifiable example:
You can check it on ImGui Demo Window > Widgets > Tooltips.
Basic, Fancy and Manual tooltips don't show tooltip on nav highlight, the others do. Those same tooltips if hovered by the cursor and moving the nav highlight, the tooltip will follow it, the others don't behave like that. I just used without the ImGuiHoveredFlags_ForTooltip on my project so it isn't much of a problem.
The text was updated successfully, but these errors were encountered: