From debbugs-submit-bounces@debbugs.gnu.org Mon Nov 28 17:35:16 2022 Received: (at submit) by debbugs.gnu.org; 28 Nov 2022 22:35:16 +0000 Received: from localhost ([127.0.0.1]:51346 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ozmia-0005au-28 for submit@debbugs.gnu.org; Mon, 28 Nov 2022 17:35:16 -0500 Received: from lists.gnu.org ([209.51.188.17]:59570) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ozmiT-0005ah-Ez for submit@debbugs.gnu.org; Mon, 28 Nov 2022 17:35:09 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ozmiS-000532-TM for guix-patches@gnu.org; Mon, 28 Nov 2022 17:35:09 -0500 Received: from mout-p-102.mailbox.org ([2001:67c:2050:0:465::102]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1ozmiP-00078O-ER for guix-patches@gnu.org; Mon, 28 Nov 2022 17:35:07 -0500 Received: from smtp1.mailbox.org (smtp1.mailbox.org [10.196.197.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-102.mailbox.org (Postfix) with ESMTPS id 4NLgJf5lJTz9sSg; Mon, 28 Nov 2022 23:34:58 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=minikn.xyz; s=MBO0001; t=1669674898; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=7hf4V6enSganYW2jjrjHQ/ZmZ/90OAO4xFJGIgU+lBo=; b=BwZqhcIp7utRVUY+e3gFvM/lgJ9SwA8iwYCf2LY0EqE5LnnlygG6pc4lkOpiXtiXzcrtlc s2kRY4VbynvBcP2oPcUg004sIcN1QHfAI8eNqj/vhtvNRjNm1Jdw5jqOHRJ3Ning1WeyGR aycDZOY09dK+MEuj6iCfsSb8+jU0sV8VvITN0Pyutc5H5g3PyB/Od9SAHtrj5nczwr//mp FrwvqKlKCuNzKpHaIi5qMoMbcwzowqyMwaf0px1jc8NSU6HIFNR4c9pYNaE/G1dzhal3/4 qeKHt0ChmJS2SJ2JxQZaMyqsXFowyHkjgBSda0sXkrcMvoI3S+1ix3RxR900kA== From: Demis Balbach To: Christopher Baines Subject: Re: [bug#59451] [PATCH] gnu: cura: Make it work on wayland. In-Reply-To: <874juqrpoo.fsf@cbaines.net> References: <20221121171403.30222-1-db@minikn.xyz> <874juqrpoo.fsf@cbaines.net> Date: Mon, 28 Nov 2022 23:34:56 +0100 Message-ID: <87fse23dyn.fsf@minikn.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: none client-ip=2001:67c:2050:0:465::102; envelope-from=db@minikn.xyz; helo=mout-p-102.mailbox.org X-Spam_score_int: -7 X-Spam_score: -0.8 X-Spam_bar: / X-Spam_report: (-0.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FROM_SUSPICIOUS_NTLD=0.001, PDS_OTHER_BAD_TLD=1.999, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: -0.3 (/) X-Debbugs-Envelope-To: submit Cc: 59451@debbugs.gnu.org, guix-patches@gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.3 (/) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 2022-11-23 09:20, Christopher Baines wrote: > Setting this environment variable here seems quite unusual. What's it > doing, and would anyone want to set a different value? > > Thanks, > > Chris Hello Chris, unfortunately I can't help much with this. Cura is currently not running under Wayland (XWayland). After doing a bit of research, I found https://github.com/Ultimaker/Cura/issues/10815, and setting `QT_QPA_PLATFORM` to `xcb` was the suggested workaround until wayland is officially supported. My QT knowledge is very limited, but the QT_QPA_PLATFORM env var seems to allow for defining platform-specific features for the application (https://doc.qt.io/qt-6/embedded-linux.html#specifying-additional-settings). Setting it to `xcb` enables the XCB plugin (https://doc.qt.io/qt-6/embedded-linux.html#xcb), which seems to be the default X11 plugin. Setting the env var to `wayland` doesn't work unfortunately. As an alternative, I could create a package derivation `cura-wayland` and only apply the patch there? Would that be more suitable? =2D-=20 Best regards / Mit freundlichen Gr=C3=BC=C3=9Fen, Demis Balbach --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEz9zHmXzCRksxyCGU8X3bmMw8QFwFAmOFN5AACgkQ8X3bmMw8 QFySdxAAtJzBWube0WsPxGKD2WFdsR7UOPhecimo8td2pj2AlX9vIh26QGpdSacx NuzZQDUGOrhboyz0l9mHDmI63tuEFa1p/huYJN8nBDoNsbqKVJLoDeeTgWkxFSDz HYpOwV7qzIy0hk42PGgf4HkS2dIWkG8+wKQytcZkNaIF7OtnxJOpwt3tTjYOv5em +pLfV33jxIl7mDapO8cpfxbSLTOP/da9Y8O1cTWm5Vb1mxFg8X7Jq5biqyLrFK8s SFkbZHHzpYDwXzw2CFxGXVWg3ys6DcRODnkmtsu/bcg2yCbKLUaiEmM4Yp8/ODJp bQIlw1ylIKGbhj4fW3BxiYcQzwsPFSxN9rt6DGK5YzmTJzMEDDldylkitMR1CeFI s58cFX+zk79WFbACmsfZmcgR6yaxa+wXb3zb04MT6rRC5t+IPBLaeIiqFKwMBtZS 085QGa/OgN1Hm63Fs/jz5sekcXMB+zfe6YF8K9XnmfuCT+wwcZ39VMNtqinxv75/ RK0sLhCrZmxzj7uX3/W6ri2QeDteodzOAPB4xB/IHiptm1z4/AaVVYajLqS1MF/E 7mVfrXAOLiud07d/6bwmvLO2uNzitKwr5aVijF+JyC/kTsndxEco1070fsVSpJQw dZfEidI4JRFjPu6JXLB+h04C1/THOqc4aS2ibtYA2Jvt7jqVZZs= =Cq0J -----END PGP SIGNATURE----- --=-=-=--