unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Paul Eggert <eggert@cs.ucla.edu>
To: Po Lu <luangruo@yahoo.com>, Stefan Kangas <stefan@marxist.se>
Cc: 44204@debbugs.gnu.org, Bhavin Gandhi <bhavin7392@gmail.com>
Subject: bug#44204: Emacs --with-xwidgets complains under Ubuntu 20.04
Date: Wed, 8 Dec 2021 17:35:27 -0800	[thread overview]
Message-ID: <5d033739-b73d-0d62-41e4-75277cd5872b@cs.ucla.edu> (raw)
In-Reply-To: <87a6had3da.fsf@yahoo.com>

On 12/8/21 16:32, Po Lu wrote:

> It works here (on both X11 and Xwayland), but I'm using Fedora
> 35.

That's odd, as I observe some of the problem on Fedora 35 x86-64, using 
the default GNOME login. I built current Emacs master (commit 
63f07ea22f3954c2154d831017caf494911cb515) with './configure 
--with-xwidgets --enable-gcc-warnings', then run 'src/emacs -Q', then in 
the *scratch* buffer type:

(make-xwidget 'webkit "title" 500 500 '())

followed by C-j. On stderr I see this string:

Overriding existing handler for signal 10. Set JSC_SIGNAL_FOR_GC if you 
want WebKit to use a different signal

and in the *Messages* buffer I see:

<xwidget-event> is undefined [4 times]

On this platform, the shell command "env | grep '^XDG' | sort" outputs:

XDG_CURRENT_DESKTOP=GNOME
XDG_DATA_DIRS=/home/eggert/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share/:/usr/share/
XDG_MENU_PREFIX=gnome-
XDG_RUNTIME_DIR=/run/user/1000
XDG_SESSION_CLASS=user
XDG_SESSION_DESKTOP=gnome
XDG_SESSION_TYPE=wayland


> Paul, could you tell me what version of WebKitGTK you are using?

On Fedora 35, 'dnf info' reports:

Name         : webkit2gtk3
Version      : 2.34.1
Release      : 2.fc35


On my Ubuntu 20.04.3 LTS x86-64 platform, where I observe both the above 
issues and the Gdk-WARNINGs I mentioned previously, 'dpkg -s 
libwebkit2gtk-4.0-37' reports:

Version: 2.34.1-0ubuntu0.20.04.1

and "env | grep '^XDG' | sort" outputs:

XDG_CONFIG_DIRS=/etc/xdg/xdg-ubuntu:/etc/xdg
XDG_CURRENT_DESKTOP=ubuntu:GNOME
XDG_DATA_DIRS=/usr/share/ubuntu:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop
XDG_MENU_PREFIX=gnome-
XDG_RUNTIME_DIR=/run/user/1000
XDG_SESSION_CLASS=user
XDG_SESSION_DESKTOP=ubuntu
XDG_SESSION_TYPE=x11





  reply	other threads:[~2021-12-09  1:35 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-25  0:00 bug#44204: Emacs --with-xwidgets complains under Wayland Paul Eggert
2020-10-25  0:24 ` bug#44204: Emacs --with-xwidgets complains under Ubuntu 20.04 Paul Eggert
2020-10-25  5:51 ` bug#44204: Emacs --with-xwidgets complains under Wayland Bhavin Gandhi
2020-10-25 17:25   ` bug#44204: Emacs --with-xwidgets complains under Ubuntu 20.04 Paul Eggert
2020-10-25 17:35     ` Lars Ingebrigtsen
2021-12-08 20:23     ` Stefan Kangas
2021-12-08 21:12       ` Paul Eggert
2021-12-08 22:06         ` Stefan Kangas
2021-12-09  0:32           ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-12-09  1:35             ` Paul Eggert [this message]
2021-12-09  2:20               ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-12-12 10:56               ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2020-10-25 13:19 ` bug#44204: Emacs --with-xwidgets complains under Wayland Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5d033739-b73d-0d62-41e4-75277cd5872b@cs.ucla.edu \
    --to=eggert@cs.ucla.edu \
    --cc=44204@debbugs.gnu.org \
    --cc=bhavin7392@gmail.com \
    --cc=luangruo@yahoo.com \
    --cc=stefan@marxist.se \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).