imgui icon indicating copy to clipboard operation
imgui copied to clipboard

InputText freeze on focus loss

Open Azuna1 opened this issue 4 years ago • 4 comments

Version/Branch of Dear ImGui:

Version: 1.87 Branch: master

Back-end/Renderer/Compiler/OS

Back-ends: imgui_impl_win32.cpp + imgui_impl_dx9.cpp Operating System: Windows 10

My Issue/Question:

Upgrading ImGui from version 1.80 to 1.87 introduced my application to deadlock in some "external code: Category IO | Kernel" I was not able to pinpoint what actualy causes it. Downgrading back to 1.80 resolves this issue

Steps to reproduce: Click into demo widget inputtext, write text, click somewhere else inside or outside the imgui window

Cant reproduce on example_win32_directx9 v1.87

ImGui testcode was simply:

        ImGui_ImplDX9_NewFrame();
	ImGui_ImplWin32_NewFrame();
	ImGui::NewFrame();

	bool bopen = true;
	ImGui::ShowDemoWindow(&bopen);
	ImGui::EndFrame();
	ImGui::Render();
	ImGui_ImplDX9_RenderDrawData(ImGui::GetDrawData());

Azuna1 avatar Jan 31 '22 16:01 Azuna1

I am also experiencing the same issue.

ASTEYA49 avatar Jan 31 '22 23:01 ASTEYA49

Sorry this has probably nothing to do with dear imgui and cannot be reproed in the demo. Up to you to prove an issue but considering the crowd here I'll assume this is now our issue until proved wrong.

ocornut avatar Feb 01 '22 14:02 ocornut

I'm experiencing a similar problem, whenever i load a scene in my game the textbox unfocus/focus click has a random chance of freezing everything

Rex109 avatar Mar 29 '22 02:03 Rex109

Reopening as we found a possible cause for this introduced in 1.86. Apologies for eagerly closing this.

ocornut avatar Aug 01 '22 23:08 ocornut

Pushed fix 133bbafa3cc7b7a1ca68808dacd1f6cee2552d4f

ocornut avatar Aug 08 '22 09:08 ocornut

Closing back in favor of tracking this in more-explicitly named #5535 - right now we disabled the call but we'll want to further investigate to restore the call.

ocornut avatar Nov 24 '22 20:11 ocornut