|
| 1 | +name: Bug Report |
| 2 | +description: File a report for unexpected or broken behavior. |
| 3 | +labels: ["state: pending", "type: bug"] |
| 4 | +body: |
| 5 | + - type: markdown |
| 6 | + attributes: |
| 7 | + value: | |
| 8 | + **Before opening a bug report, please:** |
| 9 | + - Search [existing issues](https://github.com/hoffstadt/DearPyGui/issues?q=is%3Aissue) (including closed ones) — your bug may already be known. |
| 10 | + - Check the [FAQ](https://github.com/hoffstadt/DearPyGui/discussions/categories/frequently-asked-questions-faq), [Wiki](https://github.com/hoffstadt/DearPyGui/wiki), and [online documentation](https://dearpygui.readthedocs.io/en/latest/index.html). |
| 11 | + - **FOR FIRST-TIME USERS' ISSUES**, please use the [Discord server](https://discord.gg/tyE7Gu4). |
| 12 | + - Remove all third-party libraries. |
| 13 | + - Confirm that the problem still exists with the **latest released version** of DearPyGui. |
| 14 | + - Be mindful that messages are being sent to the e-mail box of "Watching" users. Try to proof-read your messages before sending them. Edits are not seen by those users. |
| 15 | +
|
| 16 | + - type: input |
| 17 | + id: dpg_version |
| 18 | + attributes: |
| 19 | + label: "Dear PyGui version:" |
| 20 | + description: > |
| 21 | + To obtain it, run `python -c "import dearpygui; print(dearpygui.__version__)"` or `pip show dearpygui`. |
| 22 | + placeholder: "e.g. 2.2.1" |
| 23 | + validations: |
| 24 | + required: true |
| 25 | + |
| 26 | + - type: input |
| 27 | + id: python_version |
| 28 | + attributes: |
| 29 | + label: "Python version:" |
| 30 | + description: > |
| 31 | + To obtain it, run `python --version`. |
| 32 | + Note: DearPyGui requires Python 3.8+. |
| 33 | + placeholder: "e.g. 3.11.4" |
| 34 | + validations: |
| 35 | + required: true |
| 36 | + |
| 37 | + - type: input |
| 38 | + id: operating_system |
| 39 | + attributes: |
| 40 | + label: "Operating system:" |
| 41 | + placeholder: "e.g. Windows 11 22H2 or Ubuntu 22.04 LTS" |
| 42 | + validations: |
| 43 | + required: true |
| 44 | + |
| 45 | + - type: textarea |
| 46 | + id: description |
| 47 | + attributes: |
| 48 | + label: "My issue/question:" |
| 49 | + description: "A clear and concise description of what the issue/question is. Please provide as much context as possible!" |
| 50 | + validations: |
| 51 | + required: true |
| 52 | + |
| 53 | + - type: textarea |
| 54 | + id: steps |
| 55 | + attributes: |
| 56 | + label: "Steps to reproduce:" |
| 57 | + value: | |
| 58 | + 1. Go to '...' |
| 59 | + 2. Click on '....' |
| 60 | + 3. Scroll down to '....' |
| 61 | + 4. See error |
| 62 | + validations: |
| 63 | + required: true |
| 64 | + |
| 65 | + - type: textarea |
| 66 | + id: expected |
| 67 | + attributes: |
| 68 | + label: "Expected behavior:" |
| 69 | + description: "What did you expect to happen?" |
| 70 | + validations: |
| 71 | + required: true |
| 72 | + |
| 73 | + - type: textarea |
| 74 | + id: screenshots |
| 75 | + attributes: |
| 76 | + label: "Screenshots:" |
| 77 | + description: | |
| 78 | + If applicable, attach screenshots or a screen recording (GIF/video) to help illustrate the problem. You can drag and drop files directly into this field. Please remove "N/A" text if you insert any screenshots. |
| 79 | + # This is to prevent GitHub from inserting "No response" section - N/A reads better. |
| 80 | + # As soon as GitHub starts entirely omitting empty inputs from issue description, |
| 81 | + # we can remove the "value" and just let the Screenshots section disappear if the user |
| 82 | + # doesn't provide any. |
| 83 | + value: "N/A" |
| 84 | + validations: |
| 85 | + required: false |
| 86 | + |
| 87 | + - type: textarea |
| 88 | + id: mcve |
| 89 | + attributes: |
| 90 | + label: "Standalone, minimal, complete and verifiable example:" |
| 91 | + description: | |
| 92 | + **Please provide the shortest self-contained Python script that recreates the issue.** |
| 93 | + Strip your code down to only what is necessary to trigger the bug.<br> |
| 94 | + **Anyone** should be able to **copy and paste** this code and recreate your issue.<br> |
| 95 | + Issues without a reproducible example may be closed. |
| 96 | + render: python |
| 97 | + placeholder: | |
| 98 | + import dearpygui.dearpygui as dpg |
| 99 | +
|
| 100 | + dpg.create_context() |
| 101 | + dpg.create_viewport(title="Bug Demo") |
| 102 | + dpg.setup_dearpygui() |
| 103 | +
|
| 104 | + with dpg.window(label="Bug Demo"): |
| 105 | + # minimal code that triggers the bug |
| 106 | + pass |
| 107 | +
|
| 108 | + dpg.show_viewport() |
| 109 | + dpg.start_dearpygui() |
| 110 | + dpg.destroy_context() |
| 111 | + validations: |
| 112 | + required: true |
| 113 | + |
| 114 | + - type: markdown |
| 115 | + attributes: |
| 116 | + value: | |
| 117 | + **Last-chance checklist:** |
| 118 | + - I have read DearPyGui documentation, |
| 119 | + - I have checked FAQ and wiki articles for solution, |
| 120 | + - I have searched for similar issues and found none, |
| 121 | + - I have proof-read the description and it fully describes the problem. |
0 commit comments