issue_template.yml 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. name: "Ask a question, report a bug, request a feature, etc."
  2. description: "Ask any question, discuss best practices, report a bug, request a feature."
  3. body:
  4. - type: markdown
  5. attributes:
  6. value: |
  7. FOR FIRST-TIME USERS ISSUES COMPILING/LINKING/RUNNING or LOADING FONTS, please use [GitHub Discussions](https://github.com/ocornut/imgui/discussions)
  8. For anything else: we are happy to use 'GitHub Issues' for many types of open-ended questions. We are encouraging 'Issues' becoming a large, centralized and cross-referenced database of Dear ImGui contents.
  9. 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.
  10. - type: markdown
  11. attributes:
  12. value: |
  13. **Prerequisites:**
  14. - I have read [Frequently Asked Questions](https://github.com/ocornut/imgui/blob/master/docs/FAQ.md).
  15. - I have read [Contributing Guidelines -> General Advices](https://github.com/ocornut/imgui/blob/master/docs/CONTRIBUTING.md#getting-started--general-advice).
  16. - I have read [Contributing Guidelines -> How to open an Issue](https://github.com/ocornut/imgui/blob/master/docs/CONTRIBUTING.md#how-to-open-an-issue).
  17. - I have searched [Github Issues and PR](https://github.com/ocornut/imgui/issues?q=) for discussion of similar topics.
  18. ----
  19. - type: input
  20. id: specs_version
  21. attributes:
  22. label: "Version/Branch of Dear ImGui:"
  23. description: "(please specify if you have made substantial modifications to your copy)"
  24. value: "Version 1.XX, Branch: XXX (master/docking/etc.)"
  25. placeholder: "Version 1.XX, Branch: XXX (master/docking/etc.)"
  26. validations:
  27. required: true
  28. - type: input
  29. id: specs_backend
  30. attributes:
  31. label: "Back-ends:"
  32. description: (or specify when using custom engine/back-ends)
  33. value: "imgui_impl_XXX.cpp + imgui_impl_XXX.cpp"
  34. placeholder: "imgui_impl_XXX.cpp + imgui_impl_XXX.cpp or n/a"
  35. validations:
  36. required: true
  37. - type: input
  38. id: specs_compiler_os
  39. attributes:
  40. label: "Compiler, OS:"
  41. placeholder: "e.g. Windows 11 + MSVC 2022, macOS + Clang 12, Linux + GCC etc."
  42. validations:
  43. required: true
  44. - type: textarea
  45. id: specs_full
  46. attributes:
  47. label: "Full config/build information:"
  48. placeholder: |
  49. (If you can run, you may go to 'Demo->Tools->About Dear ImGui->Config/Build Info' to obtain detailed information that you can paste here)
  50. validations:
  51. required: false
  52. - type: textarea
  53. id: issue_description
  54. attributes:
  55. label: "Details:"
  56. description: "Try to be explicit with your goals, your expectations and what you have tried. Be mindful of [The XY Problem](https://xyproblem.info). What you have in mind or in your code is not obvious to other people. People frequently discuss problems and suggest incorrect solutions without first clarifying their goals. When requesting a new feature, please describe the usage context (how you intend to use it, why you need it, etc.). If you tried something and it failed, show us what you tried. If you are reporting a bug, explain what's the bug, how does it occur, etc. If you are reporting a crash, please include a debugger callstack."
  57. value: |
  58. **My Issue/Question:**
  59. XXX _(please provide as much context as possible)_
  60. validations:
  61. required: true
  62. - type: textarea
  63. id: screenshots
  64. attributes:
  65. label: "Screenshots/Video:"
  66. description: "Attach screenshots or gif/videos to clarify the context. They often convey useful information that is omitted by the description."
  67. placeholder: "(You can drag files here)"
  68. validations:
  69. required: false
  70. - type: textarea
  71. id: repro_code
  72. attributes:
  73. label: "Minimal, Complete and Verifiable Example code:"
  74. description: "Provide an [MCVE](https://stackoverflow.com/help/mcve) to demonstrate your problem. An ideal submission includes a small piece of code that anyone can paste into one of the examples applications (examples/*/main.cpp) or the demo (imgui_demo.cpp) to understand and reproduce it. Narrowing your problem to its shortest and purest form is the easiest way to understand it, explain it and fix it. Please test your shortened code to ensure it exhibits the problem. Often while creating the MCVE you will solve the problem! Many questions that are missing a standalone verifiable example are missing the actual cause of their issue in the description, which ends up wasting everyone's time."
  75. value: |
  76. ```cpp
  77. // Here's some code anyone can copy and paste to reproduce your issue
  78. ImGui::Begin("Example Bug");
  79. MoreCodeToExplainMyIssue();
  80. ImGui::End();
  81. ```
  82. validations:
  83. required: false
  84. - type: markdown
  85. attributes:
  86. value: |
  87. Thank you for taking the time to read prerequisites, filling this template and double-checking your message and your code!