From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id IMUSEuE3hWNFSAAAbAwnHQ (envelope-from ) for ; Mon, 28 Nov 2022 23:36:17 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id +H/uEeE3hWNfygAA9RJhRA (envelope-from ) for ; Mon, 28 Nov 2022 23:36:17 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 073366FFE for ; Mon, 28 Nov 2022 23:36:16 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ozmjQ-0005GM-Bg; Mon, 28 Nov 2022 17:36:08 -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 1ozmjL-0005EM-Bo for guix-patches@gnu.org; Mon, 28 Nov 2022 17:36:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ozmjL-0007VI-2s for guix-patches@gnu.org; Mon, 28 Nov 2022 17:36:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ozmjK-0005bG-Rp for guix-patches@gnu.org; Mon, 28 Nov 2022 17:36:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#59451] [PATCH] gnu: cura: Make it work on wayland. Resent-From: Demis Balbach Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 28 Nov 2022 22:36:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59451 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: moreinfo patch To: Christopher Baines Cc: 59451@debbugs.gnu.org X-Debbugs-Original-Cc: 59451@debbugs.gnu.org, guix-patches@gnu.org Received: via spool by 59451-submit@debbugs.gnu.org id=B59451.166967490921492 (code B ref 59451); Mon, 28 Nov 2022 22:36:02 +0000 Received: (at 59451) by debbugs.gnu.org; 28 Nov 2022 22:35:09 +0000 Received: from localhost ([127.0.0.1]:51342 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ozmiS-0005aa-OU for submit@debbugs.gnu.org; Mon, 28 Nov 2022 17:35:09 -0500 Received: from mout-p-102.mailbox.org ([80.241.56.152]:36806) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ozmiQ-0005a6-Tx for 59451@debbugs.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 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" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1669674977; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=7hf4V6enSganYW2jjrjHQ/ZmZ/90OAO4xFJGIgU+lBo=; b=GiZUnnuajVHonHT8ZubAj2+obSqJ+VteXV0r7NoYmUTpMAALfxOsVQo9LF5gHUcV+reCH7 PZo2pujFTZNG4gLFKx6oNC3rY+ozRf52XsvcwQfC5UFtXpHUVyehaGtZYMNTRrt1xbARwe p6MAkBB82jj7y63BE8Hnh+e3O21dvRYzPqjqAFJXoo0nuWrEJyUbUTItczsPu2GC7X1hE7 5LOcryFbUF0YeTNXH/nFxutoVfLQZNr/MPsm8Th9RdePJFp+GuTGvkqLkYgkqmZ3B0w3OU pYtRTJv4Z+fRIDSNlziwzEnkpWfxn9A3peI4guiFQJpuiLPIddyoL79zmzz1aw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1669674977; a=rsa-sha256; cv=none; b=Ql7LMzs9/Vi+ZE250sVL7nI/u+gX44Y8APPQh2AEp2ejAqStCtQqbWLtbX0HOpWrGbt+oQ mxhn8YTW4ATuJxXGqyD656Z5NzPzR3rvqEydYl2bf8Mb/VFPvEu7navw3mBBu3RdV1MSVB 1DapV+44NaHPKXhefoyUKO4h8Of+0PwJOh4apNb9paPGFfTbWGI8ygiEKlbbIHChNhsEtb 5Bl1NbmWKwAXeY6uN5d005nedWWy+U5FCM9zJof/aIzrdu1LC2bADzaTADGi2IG2vl7NvB hZ/TgSG+yFh1aOzwkYmxjeZFEB5NagrcB9Sip+DQCwcWZLheuaHXQt4zvxJjgw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=minikn.xyz header.s=MBO0001 header.b=BwZqhcIp; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -2.06 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=minikn.xyz header.s=MBO0001 header.b=BwZqhcIp; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 073366FFE X-Spam-Score: -2.06 X-Migadu-Scanner: scn0.migadu.com X-TUID: 4AUi/uQ4gshe --=-=-= 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----- --=-=-=--