From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Alex =?utf-8?Q?Benn=C3=A9e?= Newsgroups: gmane.emacs.devel Subject: Transitory GUI connections (was Re: Merging the pgtk branch) Date: Wed, 01 Sep 2021 16:06:37 +0100 Message-ID: <87h7f4qqf0.fsf@linaro.org> References: <835ywpo8ar.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="23112"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.7.0; emacs 28.0.50 Cc: Yuuki Harano , emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Sep 01 17:15:15 2021 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mLRxJ-0005kA-HS for ged-emacs-devel@m.gmane-mx.org; Wed, 01 Sep 2021 17:15:13 +0200 Original-Received: from localhost ([::1]:34328 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mLRxI-0001va-5E for ged-emacs-devel@m.gmane-mx.org; Wed, 01 Sep 2021 11:15:12 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48606) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mLRwR-0001FV-Vb for emacs-devel@gnu.org; Wed, 01 Sep 2021 11:14:19 -0400 Original-Received: from mail-wm1-x330.google.com ([2a00:1450:4864:20::330]:53073) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mLRwN-000141-86 for emacs-devel@gnu.org; Wed, 01 Sep 2021 11:14:19 -0400 Original-Received: by mail-wm1-x330.google.com with SMTP id e26so48929wmk.2 for ; Wed, 01 Sep 2021 08:14:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=references:user-agent:from:to:cc:subject:date:in-reply-to :message-id:mime-version:content-transfer-encoding; bh=bg+TXtY2sUOzohyXBqWUAyKM1AlABMgjJARJScTd5QA=; b=zKy+1kNI+ge2voDpwCuaBQ+jDSH7t2odcwX2JU+CWZzZ8vgMDLebegqa4v5H7mkA4K IgT3eFcSzXrhInz8mVX7arV4kISPWXBSItMmD1CrloA1B40WxvQSfXNU79eESU8tdRyq rBLqf6swhgz1Pwy9N5vhfclyUzft21q6kcMozVuhiDPrS5qyTIA3oP4gq5psX5CXcfXL mNTOVidNg3xaHT+ebdq7n3nicRoXx7DNvuj/JMK1segjbOkhHf8dx/urQB1O8FNU2Q2n y+Dg/kvt/KN5LpTC1LakackI7lq98VmVCFtoN7LkuLHEmg7lNtFw7+nzgQqhq+2l107j gO9Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:cc:subject:date :in-reply-to:message-id:mime-version:content-transfer-encoding; bh=bg+TXtY2sUOzohyXBqWUAyKM1AlABMgjJARJScTd5QA=; b=PLJgyUZWVogQMl+0uCuYRZKsdrIRArrU+2Msih6HnV510qWdtovhTxcAp8gDbXu4cI d9/sdoVLLvq4YN7FLKMFL1L+5wy829H0jQD661P6RzZcWgZheKEb56PhM/z6xojaGbJ2 W6Kozir3KLALiVuMRvh1hvV4humDs2MP4Tb0ZOsJFZXip7crg3WwQqvDj/acIyssFM2N lNMVPsBgbFrv1gm2lBZviZjMY+hIyTe3smW2hGsY2MEMY4GIN4yEzlqaBqqMhFJUJns+ hhp7oZqDyK8bNqPxT2jHtqUkiMrqD8I6X5f9RD3DXVOmHYc0mEjAPI7xihi10tHkfUyv /SxA== X-Gm-Message-State: AOAM531lxC2uq5cMK5mtAXiRd10gQdI6nJ1i4inoEyfNFPSTe6DzW7oc rT63wk+xMjbr7L6vDl48IE45uiDIeIyibg== X-Google-Smtp-Source: ABdhPJyO8llTNUJ7pmSjPTkD6w5f4LJBCn3UWXayWPUEUtherM44jtcsAjOZZ3PEnD5IOrfbdkBgNQ== X-Received: by 2002:a7b:c92b:: with SMTP id h11mr5833wml.62.1630509252717; Wed, 01 Sep 2021 08:14:12 -0700 (PDT) Original-Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id m5sm5621868wmi.1.2021.09.01.08.14.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Sep 2021 08:14:12 -0700 (PDT) Original-Received: from zen (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 509261FF96; Wed, 1 Sep 2021 16:14:11 +0100 (BST) In-reply-to: <835ywpo8ar.fsf@gnu.org> Received-SPF: pass client-ip=2a00:1450:4864:20::330; envelope-from=alex.bennee@linaro.org; helo=mail-wm1-x330.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:273667 Archived-At: Eli Zaretskii writes: > We would like to merge the pgtk branch onto master soon, so that it > could be included in Emacs 28.1. Below please find some preliminary > comments from reviewing the branch's code. > > I would ask people here who are interested in this feature to please > build the branch, both --with-pgtk and without it, and report any > problems they see (using "M-x report-emacs-bug", preferably). > I've switched to running feature/pgtk on my daily driver to kick the tyres and see how things work. However I wonder about how this new code deals with a failing desktop environment. When I start up I still get the warning: Warning: due to a long standing Gtk+ bug https://gitlab.gnome.org/GNOME/gtk/issues/221 Emacs might crash when run in daemon mode and the X11 connection is unexp= ectedly lost. Using an Emacs configured with --with-x-toolkit=3Dlucid does not have thi= s problem. which doesn't inspire confidence. I've just taken down my Wayland/sway session due to an unrelated bug and while I could see emacs --daemon processes running the server socket in /run/user/1000/emacs had disappeared. So a quick question: - Is the pgtk branch meant to address this longstanding issue? Follow-up questions for debugging: - How do I check from inside Emacs is the GUI frame is connection via GTK/Wayland or is using GTK/X11 (via Xwayland)? Thanks, --=20 Alex Benn=C3=A9e