lumina: Errors with some approaches to closing windows
- launch QTerminal
- type
exit
Expected: closure of the window and quit of the application.
Actual result:
Application Error The following application experienced an error and needed to close:
qterminal
Another application that seems prone to errors at close time is the SysAdm client. For example (details taken from the error dialogue):
Open WebSocket: URL: "wss://127.0.0.1:12150"
Open Localhost window: On Page: ""
Init UI
Connection Authorized: "127.0.0.1"
Got Server Authentication
Got Updates reply: "page_updates_checkup" "response" "sysadm" QJsonValue(object, QJsonObject({"checkupdates":{"details":"Boot-strapping updater...FAILED Fetch\nUpdating trueos-base repository catalogue...\npkg-static: http://pkg.cdn.trueos.org/master/amd64-base/meta.txz: No address record\nrepository trueos-base has no meta file, using default settings\npkg-static: http://pkg.cdn.trueos.org/master/amd64-base/packagesite.txz: No address record\nUnable to update repository trueos-base\nUpdating trueos-major repository catalogue...\npkg-static: http://pkg.cdn.trueos.org/master/amd64/meta.txz: No address record\nrepository trueos-major has no meta file, using default settings\npkg-static: http://pkg.cdn.trueos.org/master/amd64/packagesite.txz: No address record\nUnable to update repository trueos-major\nERROR: Error 70: /usr/local/sbin/pkg-static update\n\n","last_check":"2016-10-15T20:05:52","status":"noupdates"}}))
Got update check: "noupdates"
Got Updates reply: "page_updates_list_settings" "response" "sysadm" QJsonValue(object, QJsonObject({"listsettings":{"maxbe":"5","package_set":"EDGE"}}))
Got Updates reply: "page_updates_listbranch" "response" "sysadm" QJsonValue(object, QJsonObject({"listbranches":{}}))
- Connection Closed: "127.0.0.1"
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Comments: 20 (14 by maintainers)
See if this makes it work better for you[1]. I disabled the checking of the return code, and only look for actual process crashes now, since it is clear that some apps return non-zero even when closing successfully.
[1] https://github.com/trueos/lumina/commit/64012116a826c52c7c11e94a13309f246e3f5516