Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mutli Screen with Linux, Panel get stuck #8522

Open
kingofknights opened this issue Mar 26, 2025 · 1 comment
Open

Mutli Screen with Linux, Panel get stuck #8522

kingofknights opened this issue Mar 26, 2025 · 1 comment

Comments

@kingofknights
Copy link

Version/Branch of Dear ImGui:

Version Latest commit, Branch: docking

Back-ends:

imgui_impl_opengl3.cpp + imgui_impl_glfw.cpp

Compiler, OS:

Linux Ubutnu 22.04 + GCC 11.4.0

Full config/build information:

Dear ImGui 1.92.0 WIP (19191)
--------------------------------
sizeof(size_t): 8, sizeof(ImDrawIdx): 2, sizeof(ImDrawVert): 20
define: __cplusplus=202002
define: __linux__
define: __GNUC__=11
define: IMGUI_HAS_VIEWPORT
define: IMGUI_HAS_DOCK
--------------------------------
io.BackendPlatformName: imgui_impl_glfw
io.BackendRendererName: imgui_impl_opengl3
io.ConfigFlags: 0x00000481
 NavEnableKeyboard
 DockingEnable
 ViewportsEnable
io.ConfigViewportsNoDecoration
io.ConfigNavCaptureKeyboard
io.ConfigInputTextCursorBlink
io.ConfigWindowsResizeFromEdges
io.ConfigMemoryCompactTimer = 60.0
io.BackendFlags: 0x00001C0E
 HasMouseCursors
 HasSetMousePos
 PlatformHasViewports
 HasMouseHoveredViewport
 RendererHasVtxOffset
 RendererHasViewports
--------------------------------
io.Fonts: 1 fonts, Flags: 0x00000000, TexSize: 1024,1024
io.DisplaySize: 3840.00,2123.00
io.DisplayFramebufferScale: 1.00,1.00
--------------------------------
style.WindowPadding: 8.00,8.00
style.WindowBorderSize: 0.00
style.FramePadding: 4.00,3.00
style.FrameRounding: 2.00
style.FrameBorderSize: 1.00
style.ItemSpacing: 8.00,4.00
style.ItemInnerSpacing: 4.00,4.00

Details:

My Issue/Question:

This is my ImGui Project
Arthur

Previously i was working with window, using opengl3 and sdl3 single display screen, every things works fine.
Now i have shifted to opengl3 and glfw3 in linux environment with dual monitor.
Even though application is running on single screen and not panel is shifted to other one.
when i pop out any panel, it seem to become stuck a location.

Screenshots/Video:

You can download working Binary from here

https://github.com/kingofknights/Arthur/releases/download/Demo/Query.zip
Demo

Minimal, Complete and Verifiable Example code:

https://github.com/kingofknights/Arthur.git

@kingofknights
Copy link
Author

// imo.ConfigFlags |= ImGuiConfigFlags_ViewportsEnable;  // Enable Multi-Viewport / Platform Windows
// imo.ConfigViewportsNoAutoMerge   = true;
// imo.ConfigViewportsNoTaskBarIcon = true;

if this is issue, please add the OS preprocessor,
if Yes, Them i am happy to OS Preprocessor in your examples codes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant