Skip to content

Mutli Screen with Linux, Panel get stuck #8522

@kingofknights

Description

@kingofknights

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions