From 9831fdbe0fcbe573313a65d984bb1675e4067ffc Mon Sep 17 00:00:00 2001 From: Veronica Berglyd Olsen <1619840+vkbo@users.noreply.github.com> Date: Sat, 15 Mar 2025 17:01:12 +0100 Subject: [PATCH 1/2] Add required info to bug report template --- .github/ISSUE_TEMPLATE/bug-report.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/ISSUE_TEMPLATE/bug-report.md b/.github/ISSUE_TEMPLATE/bug-report.md index cf59ae2a..1e164573 100644 --- a/.github/ISSUE_TEMPLATE/bug-report.md +++ b/.github/ISSUE_TEMPLATE/bug-report.md @@ -10,7 +10,15 @@ Please also check if an issue already exists on this problem. Please provide a description covering the following points, if applicable: * A clear and concise description of what the bug is. -* Steps to reproduce the behaviour +* Steps to reproduce the behaviour. * A clear and concise description of what you expected to happen. * If applicable, add screenshots to help explain your problem. * If the error dialog popped up, copy/paste the content here. + +Please also *always* include the following information: + +* The operating system you are using, and if Linux, also the distro. +* The version of novelWriter you are using. +* How and from where you installed novelWriter. + +Issues without this required information will be closed. From e1cd848a776bb346903d759924a10f154d6a68a1 Mon Sep 17 00:00:00 2001 From: Veronica Berglyd Olsen <1619840+vkbo@users.noreply.github.com> Date: Sat, 15 Mar 2025 17:26:37 +0100 Subject: [PATCH 2/2] Fix type and redundant parentheses --- novelwriter/__init__.py | 2 +- pkgutils.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/novelwriter/__init__.py b/novelwriter/__init__.py index b548c974..43b3a4e9 100644 --- a/novelwriter/__init__.py +++ b/novelwriter/__init__.py @@ -283,7 +283,7 @@ def _createApp(style: str) -> QApplication: """Create the app. This is done in a function to make it easier to block app creation during testing. """ - app = QApplication([CONFIG.appName, (f"-style={style}")]) + app = QApplication([CONFIG.appName, f"-style={style}"]) app.setApplicationName(CONFIG.appName) app.setApplicationVersion(__version__) app.setOrganizationDomain(__domain__) diff --git a/pkgutils.py b/pkgutils.py index 240faa94..80281d5c 100755 --- a/pkgutils.py +++ b/pkgutils.py @@ -141,7 +141,7 @@ if __name__ == "__main__": parser = argparse.ArgumentParser( usage="pkgutils.py [command] [--flags]", description=( - "This tool provides setup and build commands for installing or distibuting " + "This tool provides setup and build commands for installing or distributing " "novelWriter as a package on Linux, Mac and Windows, as well as developer tools " "for internationalisation." )