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

Resizing OS window makes Dear PyGui unresponsive #2401

Open
peralmered opened this issue Oct 10, 2024 · 1 comment
Open

Resizing OS window makes Dear PyGui unresponsive #2401

peralmered opened this issue Oct 10, 2024 · 1 comment
Labels
state: pending not addressed yet type: bug bug

Comments

@peralmered
Copy link

When running the demo application (as detailed in #2387), if I resize the OS window before touching the DPG window, the DPG window gets completely unresponsive, and I can only close down the OS window. Python 3.12.6, Windows 10 Pro 22H2, DPG 1.11.1

Version of Dear PyGui

Python v3.12.6
Dear PyGui v1.11.1
Windows 10 Pro 22H2

My Issue/Question

When running the demo application (as detailed in #2387), if I resize the OS window before touching the DPG window, the DPG window gets completely unresponsive, and I can only close down the OS window.

To Reproduce

Steps to reproduce the behavior:

`import dearpygui.dearpygui as dpg
import dearpygui.demo as demo

dpg.create_context()
dpg.create_viewport(title='Custom Title', width=600, height=600)

demo.show_demo()

dpg.setup_dearpygui()
dpg.show_viewport()
dpg.start_dearpygui()
dpg.destroy_context()
`

Run code, resize the OS window, then try clicking or click-dragging any part of the DPG window. It's completely unresponsize, and all I can do it close the OS window.

Expected behavior

I'd expect DPG to run as normal even when resizing the OS window first. If I just click the DPG window before resizing the OS window, all is well. 100% reproducible here.

@peralmered peralmered added state: pending not addressed yet type: bug bug labels Oct 10, 2024
@v01d-gh
Copy link

v01d-gh commented Oct 10, 2024

Yes, yes, yes! I've encountered this same problem many times. Windows 11 23H2. In the end, I decided to prohibit resizing so that there was no way to break it. But if somebody fix it, it would be great. Although first I would like to get support for Python 3.13.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
state: pending not addressed yet type: bug bug
Projects
None yet
Development

No branches or pull requests

2 participants