name: Bug Report
description: Something is not working right
labels: ["bug"]
body:
  - type: checkboxes
    attributes:
      label: Already reported ? *
      description: Before opening a new bug report, please take a moment to search through the current open and closed issues to check if it already exists.
      options:
      - label: I have searched the existing open and closed issues.
        required: true

  - type: dropdown
    id: type
    attributes:
      label: Regression?
      description: |
        Regression means that something used to work but no longer does.
        **BEFORE CONTINUING**, please check if this bug is a regression or not, and if it is, we need you to bisect with the help of the wiki: https://wiki.hyprland.org/Crashes-and-Bugs/#bisecting-an-issue
      multiple: true
      options:
        - "Yes"
        - "No"
    validations:
      required: true

  - type: textarea
    id: ver
    attributes:
      label: System Info and Version
      description: |
        Paste the output of `hyprctl systeminfo -c` here. If you can't
        launch Hyprland, paste the output of `Hyprland --systeminfo`.
        If `Hyprland --systeminfo` errors out (added in 0.44.0), find
        and paste the Hyprland version manually.
      value: "<details>
        <summary>System/Version info</summary>


        ```sh
        
        <Paste the output of the command here>

        ```


        </details>"
    validations:
      required: true

  - type: textarea
    id: desc
    attributes:
      label: Description
      description: "What went wrong?"
    validations:
      required: true

  - type: textarea
    id: repro
    attributes:
      label: How to reproduce
      description: "How can someone else reproduce the issue?"
    validations:
      required: true

  - type: textarea
    id: logs
    attributes:
      label: Crash reports, logs, images, videos
      description: |
        Anything that can help. Please always ATTACH and not paste them.
        Logs can be found in $XDG_RUNTIME_DIR/hypr
        Crash reports are stored in ~/.cache/hyprland or $XDG_CACHE_HOME/hyprland