name: Bug Report
description: File a bug report
body:
  - type: markdown
    attributes:
      value: |
        ### STOP! Before continuing:
        - Please try searching for [existing reports](https://github.com/linuxmint/xreader/issues?q=is%3Aissue+state%3Aall) that may match the behavior you're seeing. *If you find one, add to that issue, instead of opening a new one*. Include any relevant details that may differ from the original author's.
        - Run xreader from a terminal to see if any errors or warnings are printed while reproducing the issue: `xreader`
        - Check your logs - there may be some obvious cause for your trouble - in Linux Mint you can check ~/.xsession-errors (a hidden file in your Home folder).
        - If this is a *crash*, provide information about it if possible (CoreDump file, stack trace, etc...). In Linux Mint you can check the System Reports program.
        ---

        Thank you for taking the time to report this issue. To allow us to work as efficiently as possible at resolving this, we need some information from you.

  - type: input
    id: distro
    attributes:
      label: Distribution
      description: Which Linux distribution are you using? Please be as specific as possible.
      placeholder: "example: Mint 21.1"
    validations:
      required: true

  - type: input
    id: pkgver
    attributes:
      label: Package version
      description: Please provide the Xreader version. You can get this by running `xreader --version` in a terminal, or clicking on Help, then About 
      placeholder: "example: 3.8.2"
    validations:
      required: true

  - type: dropdown
    id: frequency
    attributes:
      label: Frequency
      description: How often does this behavior occur?
      options:
        - Always
        - Quite often
        - Only occasionally
    validations:
      required: true

  - type: textarea
    id: current-behavior
    attributes:
      label: Bug description
      description: Please describe what is happening
    validations:
      required: true

  - type: textarea
    id: steps
    attributes:
      label: Steps to reproduce
      description: Please try to provide **detailed** steps on the most direct way to reproduce this issue. The chances of a bug being fixed go up **considerably** if we are able to duplicate the behavior ourselves.
    validations:
      required: true

  - type: textarea
    id: expected-behavior
    attributes:
      label: Expected behavior
      description: Describe what you think should happen instead of the current behavior.
    validations:
      required: true

  - type: textarea
    id: more-info
    attributes:
      label: Additional information
      description: You can add any other information you think may be relevant.
    validations:
      required: false

  - type: markdown
    attributes:
      value: |
        #### By submitting this report you agree to behave respectfully and in a mature manner. If in doubt, refer to the [Golden Rule](https://en.wikipedia.org/wiki/Golden_Rule) and [Github's Community Guidelines](https://docs.github.com/en/site-policy/github-terms/github-community-guidelines).
