ImGui.NET icon indicating copy to clipboard operation
ImGui.NET copied to clipboard

ImGuiConfigFlags.ViewportsEnable not working

Open ScottKane opened this issue 4 years ago • 4 comments

When I enable this flag I'm not able to drag windows out of my main application window. Using the ImGui demo window, this flag is disabled under Configuration->Configuration and auto disabled if you try to turn it on.

Is there something more I should be doing than ImGui.GetIO().ConfigFlags |= ImGuiConfigFlags.ViewportsEnable;

ScottKane avatar Oct 25 '20 00:10 ScottKane

For the viewport feature to be enabled, the rendering code needs to be updated with support for it, because it needs to know how to do things like create multiple OS windows and render different things to each of them. The Veldrid example project in the docking branch here has been updated with support for multiple viewports, but it hasn't yet been promoted to the master branch. It is definitely in a state that can be tested and used, but I'm not happy with how I have it organized at the moment -- it should probably be cleaned up a bit before it moves over to the main branch.

Note that the MonoGame example project and renderer hasn't been updated in that branch, and likely can't be unless there is a lot of functionality in MonoGame that I'm not aware of.

mellinoe avatar Oct 27 '20 04:10 mellinoe

Aso regarding what is commented in #236, is the multiple viewport feature expected to work in the future with opengl? Just to know if it is achievable or being worked on or not. Thanks in advanced.

LuisMerinoP avatar Apr 02 '22 21:04 LuisMerinoP

@LuisMerinoP, any update or news about it? Thanks!

tingspain avatar Feb 24 '23 19:02 tingspain

Please add multi viewport support

kdserra avatar Jun 06 '23 21:06 kdserra