imgui_bundle icon indicating copy to clipboard operation
imgui_bundle copied to clipboard

Local and Online Demo Don't Match

Open Talbe1 opened this issue 2 months ago • 3 comments

Firstly, I would like to say I really appreciate this project, it is extremely helpful!

Describe the issue

When opening the online demo (by clicking the bird), and navigating to the Dear ImGui tab, an 'imgui_demo - code' window will appear on the right side of the screen. (online demo)

Image

However, if I launch the demo locally, the mentioned window showing the demo code is no longer present. I did make sure to delete the .ini configuration file that is automatically generated by ImGui to avoid configuration errors. (local demo)

Image

Version & Platform

Mention

  • Dear ImGui Bundle version: 1.92.4
  • The platform I am on: Windows 11 25H2, OS build: 26200.6901
  • The language I am using: Python 3.10.11 with the Poetry package manager (and with pip).

Note: I experienced the same issue on a different computer using Windows 10, running Python 3.10.5 (with Poetry).

Minimal reproducible example

Python code:

from imgui_bundle.demos_python.demo_imgui_bundle import main

main()

I did read the documentation and tried making sure I am not misunderstanding. I apologize if this is a mistake on my end and not an actual issue.

Talbe1 avatar Oct 28 '25 17:10 Talbe1

Hi,

I cannot reproduce this issue on my side (running on a Mac). More investigations are needed.

Could you make sure an ini file is not causing this issue? You might try to rename the ini file, like this inside bindings/imgui_bundle/demos_python/demo_imgui_bundle.py

def main():
    runner_params, addons = make_params()
    runner_params.ini_filename = "foo.ini"   # change the ini file name here 
    immapp.run(runner_params=runner_params, add_ons_params=addons)

pthom avatar Nov 03 '25 10:11 pthom

Hello,

Apologies for the delay in my reply. I renamed the ini file and reran the demo, but it didn't fix the issue (see the screenshot below). Note that in the attached screenshot I am using Linux with Python 3.13 (Previously Windows 11 with Python 3.10.11). System information:

  • Dear ImGUI Bundle version: 1.92.4 (specifically: imgui_bundle-1.92.4-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl)
  • Platform: Kubuntu 25.10 (Ubuntu with KDE Plasma desktop)
  • Python version: 3.13 with .venv virtual environment and pip package manager.

I would like to note that unlike in my initial post, this time I didn't build a whl file of the library myself, but used the one that was available directly from PyPI. Perhaps the issue is stemming from some process during the building of the library into a .whl file that causes this? Additionally, does the traineq demo website run the demo using the C++ code or Python code? Perhaps there's a difference between the two implementations. I did try cloning the repo to inspect the original code myself, but couldn't resolve the import errors (I'm not very knowledgeable about setting up environments when cloning repos).

Image

Talbe1 avatar Nov 04 '25 18:11 Talbe1

The demo on the website uses the C++ code. There might be a small difference in the implementations between Python and C++, you are right.

I will leave this issue opened and I will study it later. I don't think it is very urgent. Thanks for mentioning it anyhow :-)

pthom avatar Nov 09 '25 18:11 pthom