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

ImGui assert opening file window while rendering tooltip? #267

Open
sphaero opened this issue Nov 25, 2022 · 0 comments
Open

ImGui assert opening file window while rendering tooltip? #267

sphaero opened this issue Nov 25, 2022 · 0 comments

Comments

@sphaero
Copy link
Collaborator

sphaero commented Nov 25, 2022

1  __pthread_kill_implementation  pthread_kill.c   44   0x7ffff71caccc 
2  __pthread_kill_internal        pthread_kill.c   78   0x7ffff71cad2f 
3  __GI_raise                     raise.c          26   0x7ffff717bef2 
4  __GI_abort                     abort.c          79   0x7ffff7166472 
5  __assert_fail_base             assert.c         92   0x7ffff7166395 
6  __GI___assert_fail             assert.c         101  0x7ffff7174df2 
7  ImGui::Begin                   imgui.cpp        6298 0x55555559dced 
8  ImGui::BeginTooltipEx          imgui.cpp        8458 0x5555555a591d 
9  ImGui::BeginTooltip            imgui.cpp        8426 0x5555555a573b 
10 ActorContainer::RenderTooltip  ActorContainer.h 229  0x555555662482 
11 ActorContainer::RenderFilename ActorContainer.h 540  0x55555566371d 
12 ActorContainer::Render         ActorContainer.h 335  0x55555566298b 
13 UpdateActors                   stage.cpp        940  0x55555565e890 
14 UILoop                         main.cpp         576  0x5555555855b0 
15 main                           main.cpp         422  0x555555585062 

This assert:

                // Avoid focusing a window that is created outside of active modal. This will prevent active modal from being closed.
                // Since window is not focused it would reappear at the same display position like the last time it was visible.
                // In case of completely new windows it would go to the top (over current modal), but input to such window would still be blocked by modal.
                // Position window behind a modal that is not a begin-parent of this window.
                want_focus = false;
                if (window == window->RootWindow)
                {
                    ImGuiWindow* blocking_modal = FindBlockingModal(window);
 --->               IM_ASSERT(blocking_modal != NULL);
                    BringWindowToDisplayBehind(window, blocking_modal);
                }
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