From b2e2f088c45ea55544f61c99f01e8453acce8571 Mon Sep 17 00:00:00 2001 From: Jaime van Kessel Date: Wed, 24 Apr 2019 16:44:13 +0200 Subject: [PATCH 1/2] Add even more logging to the auth service --- cura/OAuth2/AuthorizationService.py | 1 + 1 file changed, 1 insertion(+) diff --git a/cura/OAuth2/AuthorizationService.py b/cura/OAuth2/AuthorizationService.py index 39ec9846e7..209e79c0cf 100644 --- a/cura/OAuth2/AuthorizationService.py +++ b/cura/OAuth2/AuthorizationService.py @@ -130,6 +130,7 @@ class AuthorizationService: self._storeAuthData(response) self.onAuthStateChanged.emit(logged_in = True) else: + Logger.log("w", "Failed to get a new access token from the server.") self.onAuthStateChanged.emit(logged_in = False) ## Delete the authentication data that we have stored locally (eg; logout) From f04b0c3fcccea010fe99566b3bef31b0d12d2393 Mon Sep 17 00:00:00 2001 From: Lipu Fei Date: Thu, 25 Apr 2019 08:17:18 +0200 Subject: [PATCH 2/2] Increase the size of network printer list The local printer list utilizes the whole space, but the network printer list is only use half of the space. --- resources/qml/WelcomePages/AddNetworkOrLocalPrinterContent.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/qml/WelcomePages/AddNetworkOrLocalPrinterContent.qml b/resources/qml/WelcomePages/AddNetworkOrLocalPrinterContent.qml index 34ec3b4a24..6037868aaa 100644 --- a/resources/qml/WelcomePages/AddNetworkOrLocalPrinterContent.qml +++ b/resources/qml/WelcomePages/AddNetworkOrLocalPrinterContent.qml @@ -57,7 +57,7 @@ Item { id: networkPrinterScrollView - maxItemCountAtOnce: 6 // show at max 6 items at once, otherwise you need to scroll. + maxItemCountAtOnce: 10 // show at max 10 items at once, otherwise you need to scroll. onRefreshButtonClicked: {