Qt.application.state never gets out of Qt.ApplicationSuspended when app version contains "~"
When the version of an app contains `~` or `+`, `Qt.application.state` won't get out of `Qt.ApplicationSuspended` anymore after suspending the app for the first time. See here for a demo: https://codeberg.org/lk108/suspendtest. When starting an app, `Qt.application.state` is `Qt.ApplicationActive`. Going to the app spread will change it to `Qt.ApplicationInactive`. Focusing the app again will change it back to `Qt.ApplicationActive` and so on. However, once the app has been in the background for the first time, the state changes to `Qt.ApplicationSuspended` and stays there, even when the app is brought into focus again. Apart from `Qt.application.state` being stuck, the app works without problems when in focus. In my tests, this issue only occurs if the version number of the app contains `~` or `+`. Replacing those characters with `-` fixes the issue (test it with the above linked demo app).
issue