1
0
Fork
You've already forked suspendtest
0
small app to demonstrate a bug on Ubuntu Touch
  • CMake 36.5%
  • C++ 35.8%
  • QML 27.7%
2026年05月14日 12:01:29 +02:00
assets initial commit 2026年05月14日 12:01:29 +02:00
plugins initial commit 2026年05月14日 12:01:29 +02:00
po initial commit 2026年05月14日 12:01:29 +02:00
qml initial commit 2026年05月14日 12:01:29 +02:00
.gitignore initial commit 2026年05月14日 12:01:29 +02:00
clickable.yaml initial commit 2026年05月14日 12:01:29 +02:00
CMakeLists.txt initial commit 2026年05月14日 12:01:29 +02:00
LICENSE initial commit 2026年05月14日 12:01:29 +02:00
main.cpp initial commit 2026年05月14日 12:01:29 +02:00
manifest.json.in initial commit 2026年05月14日 12:01:29 +02:00
README.md initial commit 2026年05月14日 12:01:29 +02:00
snapcraft.yaml initial commit 2026年05月14日 12:01:29 +02:00
suspendtest.apparmor initial commit 2026年05月14日 12:01:29 +02:00
suspendtest.desktop.in initial commit 2026年05月14日 12:01:29 +02:00

suspend test

Demo app for Ubuntu Touch to show a bug with Qt.application.state. When the version of the app contains "~" or "+", such as defined here in manifest.json.in:

 "version": "1.0.0~test1",

then Qt.application.state won't change anymore after the app has been suspended for the first time, but will stay at Qt.ApplicationSuspended.

When "~" is replaced by "-", i.e., to

 "version": "1.0.0~test1",

Qt.application.state will update as expected.

License

Copyright (C) 2026 Lothar Ketterer

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License version 3, as published by the Free Software Foundation.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranties of MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.