imgui icon indicating copy to clipboard operation
imgui copied to clipboard

Can no longer use ctrl shortcuts in InputText's as of v1.90.6

Open ItsBrank opened this issue 1 year ago • 0 comments

Version/Branch of Dear ImGui:

Version 1.90.6, Branch: master

Back-ends:

imgui_impl_win32.cpp + imgui_impl_dx11.cpp

Compiler, OS:

Windows 10, MSVC 2022

Full config/build information:

Dear ImGui 1.90.6 (19060)
--------------------------------
sizeof(size_t): 8, sizeof(ImDrawIdx): 2, sizeof(ImDrawVert): 20
define: __cplusplus=199711
define: _WIN32
define: _WIN64
define: _MSC_VER=1939
define: _MSVC_LANG=202002
--------------------------------
io.BackendPlatformName: imgui_impl_win32
io.BackendRendererName: imgui_impl_dx11
io.ConfigFlags: 0x00000021
 NavEnableKeyboard
 NoMouseCursorChange
io.MouseDrawCursor
io.ConfigInputTextCursorBlink
io.ConfigWindowsResizeFromEdges
io.ConfigMemoryCompactTimer = 60.0
io.BackendFlags: 0x0000000E
 HasMouseCursors
 HasSetMousePos
 RendererHasVtxOffset
--------------------------------
io.Fonts: 22 fonts, Flags: 0x00000000, TexSize: 2048,4096
io.DisplaySize: 1920.00,1080.00
io.DisplayFramebufferScale: 1.00,1.00
--------------------------------
style.WindowPadding: 12.00,12.00
style.WindowBorderSize: 0.00
style.FramePadding: 8.00,4.00
style.FrameRounding: 4.00
style.FrameBorderSize: 0.00
style.ItemSpacing: 8.00,5.00
style.ItemInnerSpacing: 4.00,4.00

Details:

My Issue/Question:

I can no longer use ctrl shortcuts in ImGui::InputText's. For example using ctrl + a to select everything in the input, ctrl + c to copy the selected text, or ctrl + v to paste text into the input; none of which work anymore. The only flags I'm using are ImGuiInputTextFlags_EnterReturnsTrue.

I've verified the clipboard functions such as ImGui::SetClipboardText all still work fine, so it seems to be an issue with ImGui::InputText's. I reverted to the previous ImGui release (v1.90.5) without changing anything else and all the ctrl shortcuts work fine again.

Screenshots/Video:

No response

Minimal, Complete and Verifiable Example code:

No response

ItsBrank avatar May 08 '24 23:05 ItsBrank