From bef10b8b35ff6a1b0ea8a1a29ac941613ddc45dd Mon Sep 17 00:00:00 2001 From: Ghostkeeper Date: Mon, 25 Jul 2022 16:57:47 +0200 Subject: [PATCH] Hide print queue if the user can't read the print queue If there are no permissions, this would result in an error and a supposedly empty queue. That's incorrect. It should make it more clear that the user has no permissions to view the queue, while appearing that it is the normal workflow (it is for that user). So hide the queue entirely, just like with the UM2+C. Contributes to issue CURA-9220. --- plugins/UM3NetworkPrinting/resources/qml/MonitorStage.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/UM3NetworkPrinting/resources/qml/MonitorStage.qml b/plugins/UM3NetworkPrinting/resources/qml/MonitorStage.qml index 9e73662e1d..6e8f6b4ebd 100644 --- a/plugins/UM3NetworkPrinting/resources/qml/MonitorStage.qml +++ b/plugins/UM3NetworkPrinting/resources/qml/MonitorStage.qml @@ -69,7 +69,7 @@ Component top: printers.bottom topMargin: 48 * screenScaleFactor // TODO: Theme! } - visible: OutputDevice.supportsPrintJobQueue + visible: OutputDevice.supportsPrintJobQueue && OutputDevice.canReadPrintJobs } PrinterVideoStream