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
In the current docking branch the behavior of the ImGuiWindowFlags_UnsavedDocument tag changed. It no longer shows up when a window is docked and active. Instead the marker is overriden with the X, even when the button is not mouse-overed. See screenshots below. Thank you for having a look.
Screenshots/Video:
Old correct behaviour from v1.91.8-docking:
New regressed behaviour from docking branch:
The X-Mark is overrides the ImGuiWindowFlags_UnsavedDocument marker.
Minimal, Complete and Verifiable Example code:
static bool window_open = true;
if(ImGui::Begin("Dock This", &window_open, ImGuiWindowFlags_UnsavedDocument)){
ImGui::Text("dock this window and the unsaved document tag will disappear");
}
ImGui::End();
The text was updated successfully, but these errors were encountered:
Pushed fix ef969a5. It's currently on master but I verified that you can cherry-pick it on docking if you need the fix right away.
Apologies for the regression!
Version/Branch of Dear ImGui:
Docking
Back-ends:
Magnum
Compiler, OS:
Linux
Full config/build information:
No response
Details:
In the current docking branch the behavior of the ImGuiWindowFlags_UnsavedDocument tag changed. It no longer shows up when a window is docked and active. Instead the marker is overriden with the X, even when the button is not mouse-overed. See screenshots below. Thank you for having a look.
Screenshots/Video:
Old correct behaviour from v1.91.8-docking:

New regressed behaviour from docking branch:

The X-Mark is overrides the ImGuiWindowFlags_UnsavedDocument marker.
Minimal, Complete and Verifiable Example code:
static bool window_open = true;
if(ImGui::Begin("Dock This", &window_open, ImGuiWindowFlags_UnsavedDocument)){
ImGui::Text("dock this window and the unsaved document tag will disappear");
}
ImGui::End();
The text was updated successfully, but these errors were encountered: