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

Copying to clipboard doesn't work correctly in Docking branch #8254

Closed
the-goodies opened this issue Dec 22, 2024 · 2 comments
Closed

Copying to clipboard doesn't work correctly in Docking branch #8254

the-goodies opened this issue Dec 22, 2024 · 2 comments

Comments

@the-goodies
Copy link

the-goodies commented Dec 22, 2024

Version/Branch of Dear ImGui:

Version 1.91.7 WIP, Branch: docking

Back-ends:

example_glfw_opengl3

Compiler, OS:

Windows 11; Visual Studio 2019

Full config/build information:

Dear ImGui 1.91.7 WIP (19163)
--------------------------------
sizeof(size_t): 4, sizeof(ImDrawIdx): 2, sizeof(ImDrawVert): 20
define: __cplusplus=199711
define: _WIN32
define: _MSC_VER=1929
define: _MSVC_LANG=201402
define: IMGUI_HAS_VIEWPORT
define: IMGUI_HAS_DOCK
--------------------------------
io.BackendPlatformName: imgui_impl_glfw
io.BackendRendererName: imgui_impl_opengl3
io.ConfigFlags: 0x00000483
 NavEnableKeyboard
 NavEnableGamepad
 DockingEnable
 ViewportsEnable
io.ConfigViewportsNoDecoration
io.ConfigNavCaptureKeyboard
io.ConfigInputTextCursorBlink
io.ConfigWindowsResizeFromEdges
io.ConfigMemoryCompactTimer = 60.0
io.BackendFlags: 0x0000140E
 HasMouseCursors
 HasSetMousePos
 PlatformHasViewports
 RendererHasVtxOffset
 RendererHasViewports
--------------------------------
io.Fonts: 1 fonts, Flags: 0x00000000, TexSize: 512,128
io.DisplaySize: 1280.00,720.00
io.DisplayFramebufferScale: 1.00,1.00
--------------------------------
style.WindowPadding: 8.00,8.00
style.WindowBorderSize: 1.00
style.FramePadding: 4.00,3.00
style.FrameRounding: 0.00
style.FrameBorderSize: 0.00
style.ItemSpacing: 8.00,4.00
style.ItemInnerSpacing: 4.00,4.00

Details:

Copying to clipboard doesn't work correctly in Docking branch.
When selecting all input text, it copies text correctly, but it doesn't when selecting only part of a text.
In master branch clipboard seems to work fine.

Screenshots/Video:

No response

Minimal, Complete and Verifiable Example code:

No response

ocornut added a commit that referenced this issue Dec 22, 2024
@ocornut
Copy link
Owner

ocornut commented Dec 22, 2024

My apologies, 32f1140 pushed on wednesday badly broke this (it's unrelated to branches).
Pushed fix 6982ce4

@ocornut ocornut closed this as completed Dec 22, 2024
@ocornut
Copy link
Owner

ocornut commented Dec 22, 2024

Thanks for reporting!

ocornut added a commit that referenced this issue Dec 22, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Broken by 32f1140
matthew-mccall pushed a commit to matthew-mccall/imgui that referenced this issue Jan 1, 2025
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

2 participants