Git Product home page Git Product logo

Comments (2)

damntourists avatar damntourists commented on May 27, 2024

I've got a bit more info. I enabled the debug log window then opened the Dear Imgui Demo and tried the example delete modal which produced:

[00734] SetActiveID() old:0x00000000 (window "") -> new:0xC84D9E80 (window "Dear ImGui Debug Log")
[00761] SetActiveID() old:0xC84D9E80 (window "Dear ImGui Debug Log") -> new:0x00000000 (window "")
[00810] SetActiveID() old:0x00000000 (window "") -> new:0xA4E3BC2C (window "Dear ImGui Debug Log")
[00890] SetActiveID() old:0xA4E3BC2C (window "Dear ImGui Debug Log") -> new:0x00000000 (window "")
[00926] SetActiveID() old:0x00000000 (window "") -> new:0xB89D6EE5 (window "Dear ImGui Debug Log")
[01004] SetActiveID() old:0xB89D6EE5 (window "Dear ImGui Debug Log") -> new:0x00000000 (window "")
[01005] [docking] DockContextProcessDock node 0x8B93E3BD target 'DockSpaceViewport_11111111/DockSpace_8B93E3BD' dock window 'Dear ImGui Debug Log', split_dir 3
[01005] [docking] DockContextAddNode 0x00000009
[01005] [docking] DockContextAddNode 0x0000000A
[01005] [docking] DockSettingsRenameNodeReferences: from 0x8B93E3BD -> to 0x00000009
[01005] [docking] DockNodeAddWindow node 0x0000000A window 'Dear ImGui Debug Log'
[01005] [docking] In node 0x0000000A: 1 new appearing tabs:
[01005] [docking] - Tab 0xB80FFB58 'Dear ImGui Debug Log' Order -1
[01005] [docking] SelectedTabId = 0x00000000, NavWindow->TabId = 0xB80FFB58
[01232] SetActiveID() old:0x00000000 (window "") -> new:0x001B543F (window "Dear ImGui Demo")
[01232] [focus] SetNavWindow("Dear ImGui Demo")
[01239] SetActiveID() old:0x001B543F (window "Dear ImGui Demo") -> new:0x00000000 (window "")
[01239] [popup] OpenPopup("Delete?" -> 0x7E8E6FFA)
[01239] [popup] OpenPopupEx(0x7E8E6FFA)
[01239] [focus] SetNavWindow("Delete?")
[01239] [nav] NavInitRequest: from NavInitWindow(), init_for_nav=1, window="Delete?", layer=0
[01240] [nav] NavInitRequest: ApplyResult: NavID 0x50217843 in Layer 0 Window "Delete?"

however if I trigger the modal I'm trying to populate, I get scrolling output with the following:

[00734] SetActiveID() old:0x00000000 (window "") -> new:0xC84D9E80 (window "Dear ImGui Debug Log")
[00761] SetActiveID() old:0xC84D9E80 (window "Dear ImGui Debug Log") -> new:0x00000000 (window "")
[00810] SetActiveID() old:0x00000000 (window "") -> new:0xA4E3BC2C (window "Dear ImGui Debug Log")
[00890] SetActiveID() old:0xA4E3BC2C (window "Dear ImGui Debug Log") -> new:0x00000000 (window "")
[00926] SetActiveID() old:0x00000000 (window "") -> new:0xB89D6EE5 (window "Dear ImGui Debug Log")
[01004] SetActiveID() old:0xB89D6EE5 (window "Dear ImGui Debug Log") -> new:0x00000000 (window "")
[01005] [docking] DockContextProcessDock node 0x8B93E3BD target 'DockSpaceViewport_11111111/DockSpace_8B93E3BD' dock window 'Dear ImGui Debug Log', split_dir 3
[01005] [docking] DockContextAddNode 0x00000009
[01005] [docking] DockContextAddNode 0x0000000A
[01005] [docking] DockSettingsRenameNodeReferences: from 0x8B93E3BD -> to 0x00000009
[01005] [docking] DockNodeAddWindow node 0x0000000A window 'Dear ImGui Debug Log'
[01005] [docking] In node 0x0000000A: 1 new appearing tabs:
[01005] [docking] - Tab 0xB80FFB58 'Dear ImGui Debug Log' Order -1
[01005] [docking] SelectedTabId = 0x00000000, NavWindow->TabId = 0xB80FFB58
[01232] SetActiveID() old:0x00000000 (window "") -> new:0x001B543F (window "Dear ImGui Demo")
[01232] [focus] SetNavWindow("Dear ImGui Demo")
[01239] SetActiveID() old:0x001B543F (window "Dear ImGui Demo") -> new:0x00000000 (window "")
[01239] [popup] OpenPopup("Delete?" -> 0x7E8E6FFA)
[01239] [popup] OpenPopupEx(0x7E8E6FFA)
[01239] [focus] SetNavWindow("Delete?")
[01239] [nav] NavInitRequest: from NavInitWindow(), init_for_nav=1, window="Delete?", layer=0
[01240] [nav] NavInitRequest: ApplyResult: NavID 0x50217843 in Layer 0 Window "Delete?"
[09130] SetActiveID() old:0x00000000 (window "") -> new:0xCE2A49DB (window "Delete?")
[09139] SetActiveID() old:0xCE2A49DB (window "Delete?") -> new:0x00000000 (window "")
[09152] SetActiveID() old:0x00000000 (window "") -> new:0x24A6E536 (window "Delete?")
[09159] SetActiveID() old:0x24A6E536 (window "Delete?") -> new:0x00000000 (window "")
[09159] [popup] CloseCurrentPopup 0 -> 0
[09159] [popup] ClosePopupToLevel(0), restore_focus_to_window_under_popup=1
[09159] [focus] SetNavWindow("Dear ImGui Demo")
[09256] [popup] OpenPopupEx(0x09FA8DD9)
[09256] [focus] SetNavWindow("##Popup_09fa8dd9")
[09256] [nav] NavInitRequest: from NavInitWindow(), init_for_nav=1, window="##Popup_09fa8dd9", layer=0
[09257] [nav] NavInitRequest: ApplyResult: NavID 0x98D83B86 in Layer 0 Window "##Popup_09fa8dd9"
[09324] SetActiveID() old:0x00000000 (window "") -> new:0x98D83B86 (window "##Popup_09fa8dd9")
[09330] SetActiveID() old:0x98D83B86 (window "##Popup_09fa8dd9") -> new:0x00000000 (window "")
[09330] [popup] CloseCurrentPopup 0 -> 0
[09330] [popup] ClosePopupToLevel(0), restore_focus_to_window_under_popup=1
[09330] [focus] SetNavWindow("Dear ImGui Demo")
[09330] [popup] OpenPopup(" Add Scene" -> 0x4ACCCE4A)
[09330] [popup] OpenPopupEx(0x4ACCCE4A)
[09330] [focus] SetNavWindow(" Add Scene")
[09330] [nav] NavInitRequest: from NavInitWindow(), init_for_nav=1, window=" Add Scene", layer=0
[09330] SetKeyboardFocusHere(0) in window " Add Scene"
[09331] [nav] NavMoveRequest: result NavID 0xDA79C927 in Layer 0 Window " Add Scene"
[09331] [popup] OpenPopup(" Add Scene" -> 0x4ACCCE4A)
[09331] [popup] OpenPopupEx(0x4ACCCE4A)
[09331] SetKeyboardFocusHere(0) in window " Add Scene"
[09331] SetActiveID() old:0x00000000 (window "") -> new:0xDA79C927 (window " Add Scene")
[09331] [popup] OpenPopup(" Add Scene" -> 0x4ACCCE4A)
[09331] [popup] OpenPopupEx(0x4ACCCE4A)
[09331] [popup] ClosePopupToLevel(0), restore_focus_to_window_under_popup=1
[09331] [focus] SetNavWindow("Dear ImGui Demo")
[09331] SetActiveID() old:0xDA79C927 (window " Add Scene") -> new:0x00000000 (window "")
[09331] SetKeyboardFocusHere(0) in window " Add Scene"
[09331] [focus] SetNavWindow(" Add Scene")
[09331] SetActiveID() old:0x00000000 (window "") -> new:0xDA79C927 (window " Add Scene")
[09331] [io] Calling io.SetPlatformImeDataFn(): WantVisible: 1, InputPos (477.00,523.00)
[09332] [nav] NavMoveRequest: result NavID 0xDA79C927 in Layer 0 Window " Add Scene"
[09332] [popup] OpenPopup(" Add Scene" -> 0x4ACCCE4A)
[09332] [popup] OpenPopupEx(0x4ACCCE4A)
[09332] SetKeyboardFocusHere(0) in window " Add Scene"
[09332] [popup] OpenPopup(" Add Scene" -> 0x4ACCCE4A)
[09332] [popup] OpenPopupEx(0x4ACCCE4A)
[09332] [popup] ClosePopupToLevel(0), restore_focus_to_window_under_popup=1
[09332] SetKeyboardFocusHere(0) in window " Add Scene"
[09333] [nav] NavMoveRequest: result NavID 0xDA79C927 in Layer 0 Window " Add Scene"
[09333] [popup] OpenPopup(" Add Scene" -> 0x4ACCCE4A)
[09333] [popup] OpenPopupEx(0x4ACCCE4A)
[09333] SetKeyboardFocusHere(0) in window " Add Scene"
[09333] [popup] OpenPopup(" Add Scene" -> 0x4ACCCE4A)
[09333] [popup] OpenPopupEx(0x4ACCCE4A)
[09333] [popup] ClosePopupToLevel(0), restore_focus_to_window_under_popup=1
[09333] SetKeyboardFocusHere(0) in window " Add Scene"
[09334] [nav] NavMoveRequest: result NavID 0xDA79C927 in Layer 0 Window " Add Scene"
[09334] [popup] OpenPopup(" Add Scene" -> 0x4ACCCE4A)
[09334] [popup] OpenPopupEx(0x4ACCCE4A)
[09334] SetKeyboardFocusHere(0) in window " Add Scene"
[09334] [popup] OpenPopup(" Add Scene" -> 0x4ACCCE4A)
[09334] [popup] OpenPopupEx(0x4ACCCE4A)
[09334] [popup] ClosePopupToLevel(0), restore_focus_to_window_under_popup=1
[09334] SetKeyboardFocusHere(0) in window " Add Scene"
[09335] [nav] NavMoveRequest: result NavID 0xDA79C927 in Layer 0 Window " Add Scene"
[09335] [popup] OpenPopup(" Add Scene" -> 0x4ACCCE4A)
[09335] [popup] OpenPopupEx(0x4ACCCE4A)
[09335] SetKeyboardFocusHere(0) in window " Add Scene"
[09335] [popup] OpenPopup(" Add Scene" -> 0x4ACCCE4A)
[09335] [popup] OpenPopupEx(0x4ACCCE4A)
[09335] [popup] ClosePopupToLevel(0), restore_focus_to_window_under_popup=1

from imgui.

damntourists avatar damntourists commented on May 27, 2024

Closing this out as I've found my issue. MakeProjectManagerWindow was being called twice, so I've fixed the issue on my end. Sorry for the false alarm!

from imgui.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.