emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Transitory GUI connections (was Re: Merging the pgtk branch)


From: Po Lu
Subject: Re: Transitory GUI connections (was Re: Merging the pgtk branch)
Date: Thu, 02 Sep 2021 14:22:10 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Alex Bennée <alex.bennee@linaro.org> writes:

> 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 
> unexpectedly lost.
>   Using an Emacs configured with --with-x-toolkit=lucid does not have this 
> 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?

I don't think any program can "address" this long-standing issue, as
long as said program uses GTK+, which dies whenever a display connection
closes underneath its nose.

Some time ago, I worked on a port of feature/pgtk to GTK+ 4, which
exhibited the same problem.  I'm not quite confident that situation will
change any time soon.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]