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 window breaks newer versions of DPG #2361

Open
pettta opened this issue Jul 12, 2024 · 0 comments
Open

Resizing window breaks newer versions of DPG #2361

pettta opened this issue Jul 12, 2024 · 0 comments
Labels
state: pending not addressed yet type: bug bug

Comments

@pettta
Copy link

pettta commented Jul 12, 2024

Version of Dear PyGui

Version: 1.11.0 - 1.11.1
Operating System: Windows 10 Enterprise 21H2

My Issue/Question

Resizing the window by dragging it horizontally/vertically (not forcing fullscreen or snapping) causes break in logic that causes items to be drawn over by the black background

To Reproduce

Steps to reproduce the behavior:

  1. Create a new python venv with just pip, install dearpygui version >= 1.11.0
  2. Write any dearpygui code with windows being drawn on the screen, even the demo from here works: https://dearpygui.readthedocs.io/en/latest/tutorials/first-steps.html#demo
  3. Drag the side of the window left and right over the window on the screen, and it will have background covering the foreground and breaking the logic.

Expected behavior

Every version before this does not do this, it should not break when you resize the window. If you force the version to be 1.10.1 or earlier, you will not have this issue.

Standalone, minimal, complete and verifiable example

# Literally you can use the demo code to reproduce this issue 
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()
@pettta pettta added state: pending not addressed yet type: bug bug labels Jul 12, 2024
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

1 participant