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
Since 300464a, Begin shows a tooltip when io.ConfigDockingWithShift is enabled and the left mouse button is down without moving for >1s.
However it does so before clearing NextWindowData, which causes the tooltip to inherit any SetNextWindowSize or SetNextWindowSizeConstraints and display with an inappropriate size.
Even if it was correctly sized, it is quite surprising to have a tooltip show up in the middle of the window that wasn't intended by the application/tool/script developer: https://i.imgur.com/hGw49go.gif.
…stationary while moving a window displays an help tooltip to increase affordance."
Effectively reverts commit 300464a.
It would show a huge and undesirable tooltip when ConfigVar_DockingWithShift is enabled + SetNextWindowSize{,Constraints} + Begin.
https://i.imgur.com/hGw49go.gifocornut#7491
cfillion
added a commit
to cfillion/reaimgui
that referenced
this issue
Apr 13, 2024
Version/Branch of Dear ImGui:
1.89.9-docking – 1.90.5-docking
Details:
Since 300464a,
Begin
shows a tooltip whenio.ConfigDockingWithShift
is enabled and the left mouse button is down without moving for >1s.However it does so before clearing
NextWindowData
, which causes the tooltip to inherit anySetNextWindowSize
orSetNextWindowSizeConstraints
and display with an inappropriate size.Even if it was correctly sized, it is quite surprising to have a tooltip show up in the middle of the window that wasn't intended by the application/tool/script developer: https://i.imgur.com/hGw49go.gif.
Screenshots/Video:
Minimal, Complete and Verifiable Example code:
The text was updated successfully, but these errors were encountered: