GNU bug report logs - #44204
Emacs --with-xwidgets complains under Ubuntu 20.04

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Paul Eggert <eggert@HIDDEN>; dated Sun, 25 Oct 2020 00:01:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 44204 <at> debbugs.gnu.org:


Received: (at 44204) by debbugs.gnu.org; 25 Oct 2020 17:25:33 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Oct 25 13:25:33 2020
Received: from localhost ([127.0.0.1]:37563 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kWjls-0007q2-Tv
	for submit <at> debbugs.gnu.org; Sun, 25 Oct 2020 13:25:33 -0400
Received: from zimbra.cs.ucla.edu ([131.179.128.68]:45424)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eggert@HIDDEN>) id 1kWjlq-0007po-NP
 for 44204 <at> debbugs.gnu.org; Sun, 25 Oct 2020 13:25:31 -0400
Received: from localhost (localhost [127.0.0.1])
 by zimbra.cs.ucla.edu (Postfix) with ESMTP id A71C8160089;
 Sun, 25 Oct 2020 10:25:24 -0700 (PDT)
Received: from zimbra.cs.ucla.edu ([127.0.0.1])
 by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032)
 with ESMTP id 0E2yO1CJxmQV; Sun, 25 Oct 2020 10:25:23 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1])
 by zimbra.cs.ucla.edu (Postfix) with ESMTP id BCFFC16008D;
 Sun, 25 Oct 2020 10:25:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu
Received: from zimbra.cs.ucla.edu ([127.0.0.1])
 by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026)
 with ESMTP id 3FLvJQT_1jVy; Sun, 25 Oct 2020 10:25:23 -0700 (PDT)
Received: from [192.168.1.9] (cpe-23-243-218-95.socal.res.rr.com
 [23.243.218.95])
 by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id 97FE1160089;
 Sun, 25 Oct 2020 10:25:23 -0700 (PDT)
Subject: Re: bug#44204: Emacs --with-xwidgets complains under Ubuntu 20.04
To: Bhavin Gandhi <bhavin7392@HIDDEN>
References: <a11113c5-3ad5-7c8c-19b8-12fa93352f56@HIDDEN>
 <CAOn=hbdQ4Qh8zUnCobQZzuC6zY_sCPPxXShWM+PL0cXguU8iGg@HIDDEN>
From: Paul Eggert <eggert@HIDDEN>
Autocrypt: addr=eggert@HIDDEN; prefer-encrypt=mutual; keydata=
 mQINBEyAcmQBEADAAyH2xoTu7ppG5D3a8FMZEon74dCvc4+q1XA2J2tBy2pwaTqfhpxxdGA9
 Jj50UJ3PD4bSUEgN8tLZ0san47l5XTAFLi2456ciSl5m8sKaHlGdt9XmAAtmXqeZVIYX/UFS
 96fDzf4xhEmm/y7LbYEPQdUdxu47xA5KhTYp5bltF3WYDz1Ygd7gx07Auwp7iw7eNvnoDTAl
 KAl8KYDZzbDNCQGEbpY3efZIvPdeI+FWQN4W+kghy+P6au6PrIIhYraeua7XDdb2LS1en3Ss
 mE3QjqfRqI/A2ue8JMwsvXe/WK38Ezs6x74iTaqI3AFH6ilAhDqpMnd/msSESNFt76DiO1ZK
 QMr9amVPknjfPmJISqdhgB1DlEdw34sROf6V8mZw0xfqT6PKE46LcFefzs0kbg4GORf8vjG2
 Sf1tk5eU8MBiyN/bZ03bKNjNYMpODDQQwuP84kYLkX2wBxxMAhBxwbDVZudzxDZJ1C2VXujC
 OJVxq2kljBM9ETYuUGqd75AW2LXrLw6+MuIsHFAYAgRr7+KcwDgBAfwhPBYX34nSSiHlmLC+
 KaHLeCLF5ZI2vKm3HEeCTtlOg7xZEONgwzL+fdKo+D6SoC8RRxJKs8a3sVfI4t6CnrQzvJbB
 n6gxdgCu5i29J1QCYrCYvql2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wpG2ITZUGtrEjESlE6Dscx734HKd
 r5ORIocLUUKEOGeiU6DGhGFdb5Twu0Sn+u1mUPDN0M++CdMvClIE8klo4G91EOImu1Upb8xc
 OPQwxh1jwqSrU5QwoNmSYegQSHLpIUurFz1iQUh1vpPXzKinkWEqv4IqA1ciL+LyySuLkp7M
 sJpVRMbWJCNWOOSbaH4oDBJ5dHMGc35x5mosCk90PXknuFDDsYHfDo5smf9lo6YXx7N9
Organization: UCLA Computer Science Department
Message-ID: <9b24e2b8-ac42-9bd8-f283-aa39dc2d42bd@HIDDEN>
Date: Sun, 25 Oct 2020 10:25:23 -0700
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101
 Thunderbird/68.10.0
MIME-Version: 1.0
In-Reply-To: <CAOn=hbdQ4Qh8zUnCobQZzuC6zY_sCPPxXShWM+PL0cXguU8iGg@HIDDEN>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 7bit
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 44204
Cc: 44204 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

On 10/24/20 10:51 PM, Bhavin Gandhi wrote:

>> (make-xwidget 'webkit "title" 500 500 '())
>
> I tried executing the above line in the *scratch* buffer, nothing
> happens (emacs -Q). Is it expected behavior?

Yes, it's just a trivial example that doesn't do anything. The point is that the 
xwidget startup causes the diagnostics that I mentioned, on Ubuntu 20.04.

> I don't see any errors in
> the terminal as well. I'm running under wayland on GNOME 3.36.7 and
> Fedora 32.

Yes, I was wrong when I fingered Wayland in the original bug report. I've 
retitled the bug report to say "under Ubuntu 20.04" rather than "under Wayland".

For what it's worth, Ubuntu 20.04 ships Emacs 26.3 without enabling xwidgets, so 
the bug is not present in /usr/bin/emacs.

Also, I have not tested the Emacs 27.1 that Ubuntu makes available as a snap, 
but that snap outputs such a blizzard of other diagnostics, that I expect nobody 
would care anyway. See:

https://bugs.launchpad.net/ubuntu/+source/emacs/+bug/1898083

I am getting the impression that Ubuntu no longer cares about Emacs; if that's 
true, I suppose I should stop using Ubuntu.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#44204; Package emacs. Full text available.

Message received at 44204 <at> debbugs.gnu.org:


Received: (at 44204) by debbugs.gnu.org; 25 Oct 2020 13:19:17 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Oct 25 09:19:17 2020
Received: from localhost ([127.0.0.1]:35989 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kWfvY-0001N3-Vq
	for submit <at> debbugs.gnu.org; Sun, 25 Oct 2020 09:19:17 -0400
Received: from quimby.gnus.org ([95.216.78.240]:59148)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1kWfvX-0001Mq-2s
 for 44204 <at> debbugs.gnu.org; Sun, 25 Oct 2020 09:19:15 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org;
 s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:
 References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:
 Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender:
 Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:
 List-Subscribe:List-Post:List-Owner:List-Archive;
 bh=R/zrHjBbdyOvGYV0tb5SSlfKuqbMGWfTGE3+ycGh/MU=; b=DB232FlkdPONeYOTXJp37V+i5L
 e795T0hFdNtvJeeaa6dFECIMvKuyDUQpjIrch4Ec15RYptKrEJnw0B303HQJnE079rKqbHrFPm2/5
 UOY3i6MgEN+MvytgQoKix05luyWpk6sJuv7eNyYNkEUCSYvnKeUI/e42drEF3CZ7PFLs=;
Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo)
 by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <larsi@HIDDEN>)
 id 1kWfvO-0000x6-Bf; Sun, 25 Oct 2020 14:19:09 +0100
From: Lars Ingebrigtsen <larsi@HIDDEN>
To: Paul Eggert <eggert@HIDDEN>
Subject: Re: bug#44204: Emacs --with-xwidgets complains under Wayland
References: <a11113c5-3ad5-7c8c-19b8-12fa93352f56@HIDDEN>
X-Now-Playing: Instant Life's _I turned my best friends into slaves_: "Fing
 Flie"
Date: Sun, 25 Oct 2020 14:19:05 +0100
In-Reply-To: <a11113c5-3ad5-7c8c-19b8-12fa93352f56@HIDDEN> (Paul Eggert's
 message of "Sat, 24 Oct 2020 17:00:23 -0700")
Message-ID: <87d016bfzq.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 @@CONTACT_ADDRESS@@ for details.
 Content preview: Paul Eggert <eggert@HIDDEN> writes: > Under Ubuntu
 20.04.1
 LTS x86-64, when I use './configure > --with-xwidgets' and run Emacs in the
 default windowing environment > (which is Gnome under Wayland), simple xwidgets
 functions do not seem [...] 
 Content analysis details:   (-2.9 points, 5.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -1.0 ALL_TRUSTED            Passed through trusted hosts only via SMTP
 -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
 [score: 0.0000]
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 44204
Cc: 44204 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Paul Eggert <eggert@HIDDEN> writes:

> Under Ubuntu 20.04.1 LTS x86-64, when I use './configure
> --with-xwidgets' and run Emacs in the default windowing environment
> (which is Gnome under Wayland), simple xwidgets functions do not seem
> to work. For example:
>
> (make-xwidget 'webkit "title" 500 500 '())
>
> causes the following to appear on stderr:
>
> (emacs:139090): Gdk-WARNING **: 16:53:59.652:
> ../../../../../gdk/x11/gdkwindow-x11.c:5633 drawable is not a native
> X11 window

Just a data point: Under Debian bullseye (Gnome/Xorg), this warning is
not issued.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#44204; Package emacs. Full text available.

Message received at 44204 <at> debbugs.gnu.org:


Received: (at 44204) by debbugs.gnu.org; 25 Oct 2020 05:52:00 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Oct 25 01:52:00 2020
Received: from localhost ([127.0.0.1]:35615 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kWYwi-0000Xb-7i
	for submit <at> debbugs.gnu.org; Sun, 25 Oct 2020 01:52:00 -0400
Received: from mail-lf1-f53.google.com ([209.85.167.53]:40884)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <bhavin7392@HIDDEN>) id 1kWYwf-0000XK-Ji
 for 44204 <at> debbugs.gnu.org; Sun, 25 Oct 2020 01:51:58 -0400
Received: by mail-lf1-f53.google.com with SMTP id a9so7557345lfc.7
 for <44204 <at> debbugs.gnu.org>; Sat, 24 Oct 2020 22:51:57 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=mime-version:references:in-reply-to:from:date:message-id:subject:to
 :cc:content-transfer-encoding;
 bh=FsujtGMRYHc3VbZsFcQxcryJ1Xzts8yQUuUf4gkFsP8=;
 b=YnyKkSf6k5XJ7pGiFliQ4rTzavNnO5J6iQt1o2FD1fhN68tk4pSfMknMbc6g3qs5J9
 b208wn1CwRgjj5oFk/gfqMH/m3kDxYiUpehBWSFM6t3S/aL8LPuggxKtlN+ryXMzwb7f
 +oleABnUVvwIj+DiidHhx9jkjl2UeOAxlW3H0xLrB9pktBGbJSMA0mFfmQ/mC0jLqSgE
 ZNcJ44UWwEgL0ZgUaU1fZp8WcMaYb+X5eXDPr65R/aS1FDU32+DUtlrmgm0Tk8lmVkCV
 YymhPboz1bBrDlj3/IxjO9yQ2nvlP/ot28L1Ywf9140guxDgo37iD+w0uiGx02cbFypa
 lW/A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:references:in-reply-to:from:date
 :message-id:subject:to:cc:content-transfer-encoding;
 bh=FsujtGMRYHc3VbZsFcQxcryJ1Xzts8yQUuUf4gkFsP8=;
 b=dV13dRdpmr87q1DRnOGDKaWJpqO7x41I+NMp6/oYZHOfU074JZzv5bhuXTOJ7K5ASR
 /VPPDKByYW6uJ+iHcWNsa0Ss6Zp6N08vckW0JwjoK/yhbohbkasFBf+sI1KgxgzT9JlO
 VmLqVhq/4BTo48V7SQPnRqU+e45ykd6XyiMLhgJFryFNQ+VTqVjOqh1SPEHOvZ02kbPa
 ywrO+x6DzpmtHBTbK8twT85c9srktpq3s2/C3ncZGvRvRnJ4GYqo522MSCY0Xq0wdmfn
 AneM5Bi+8M7/2foJCMhVG0rd1CBjoxZoyY1I3U6a94qrdi+m06173dSK+EYoE/TZe2oo
 ksZA==
X-Gm-Message-State: AOAM53373F0FYrzmbL5C2Or7Urws5J1bE1UfMADGhZaIUWDd+owsSrHE
 xPY73Xvf+MWgf/xbUdVzMM3a150mfzHse0jnips=
X-Google-Smtp-Source: ABdhPJyNHcqxUOVyHiRtOfo+ipYK3n2haCncAtKe5S7Wr3KiT8WSjbZrH6H9t4dQfBlCXVyGHTRbbvOiv9ZufPTyaEo=
X-Received: by 2002:a19:220d:: with SMTP id i13mr3011252lfi.37.1603605111492; 
 Sat, 24 Oct 2020 22:51:51 -0700 (PDT)
MIME-Version: 1.0
References: <a11113c5-3ad5-7c8c-19b8-12fa93352f56@HIDDEN>
In-Reply-To: <a11113c5-3ad5-7c8c-19b8-12fa93352f56@HIDDEN>
From: Bhavin Gandhi <bhavin7392@HIDDEN>
Date: Sun, 25 Oct 2020 11:21:15 +0530
Message-ID: <CAOn=hbdQ4Qh8zUnCobQZzuC6zY_sCPPxXShWM+PL0cXguU8iGg@HIDDEN>
Subject: Re: bug#44204: Emacs --with-xwidgets complains under Wayland
To: Paul Eggert <eggert@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.2 (/)
X-Debbugs-Envelope-To: 44204
Cc: 44204 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.8 (/)

On Sun, 25 Oct 2020 at 05:31, Paul Eggert <eggert@HIDDEN> wrote:
>
> Under Ubuntu 20.04.1 LTS x86-64, when I use './configure --with-xwidgets'=
 and
> run Emacs in the default windowing environment (which is Gnome under Wayl=
and),
> simple xwidgets functions do not seem to work. For example:
>
> (make-xwidget 'webkit "title" 500 500 '())
> [=E2=80=A6]

I tried executing the above line in the *scratch* buffer, nothing
happens (emacs -Q). Is it expected behavior? I don't see any errors in
the terminal as well. I'm running under wayland on GNOME 3.36.7 and
Fedora 32.

In GNU Emacs 27.1 (build 1, x86_64-redhat-linux-gnu, GTK+ Version
3.24.21, cairo version 1.16.0)
 of 2020-08-21 built on buildvm-x86-24.iad2.fedoraproject.org
Windowing system distributor 'Fedora Project', version 11.0.12009000
System Description: Fedora 32 (Workstation Edition)

Configured using:
 'configure --build=3Dx86_64-redhat-linux-gnu
 --host=3Dx86_64-redhat-linux-gnu --program-prefix=3D
 --disable-dependency-tracking --prefix=3D/usr --exec-prefix=3D/usr
 --bindir=3D/usr/bin --sbindir=3D/usr/sbin --sysconfdir=3D/etc
 --datadir=3D/usr/share --includedir=3D/usr/include --libdir=3D/usr/lib64
 --libexecdir=3D/usr/libexec --localstatedir=3D/var
 --sharedstatedir=3D/var/lib --mandir=3D/usr/share/man
 --infodir=3D/usr/share/info --with-dbus --with-gif --with-jpeg --with-png
 --with-rsvg --with-tiff --with-xft --with-xpm --with-x-toolkit=3Dgtk3
 --with-gpm=3Dno --with-xwidgets --with-modules --with-harfbuzz
 --with-cairo --with-json build_alias=3Dx86_64-redhat-linux-gnu
 host_alias=3Dx86_64-redhat-linux-gnu 'CFLAGS=3D-DMAIL_USE_LOCKF -O2 -g
 -pipe -Wall -Werror=3Dformat-security -Wp,-D_FORTIFY_SOURCE=3D2
 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong
 -grecord-gcc-switches -specs=3D/usr/lib/rpm/redhat/redhat-hardened-cc1
 -specs=3D/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=3Dgeneric
 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection'
 LDFLAGS=3D-Wl,-z,relro
 PKG_CONFIG_PATH=3D:/usr/lib64/pkgconfig:/usr/share/pkgconfig'

Configured features:
XPM JPEG TIFF GIF PNG RSVG CAIRO SOUND DBUS GSETTINGS GLIB NOTIFY
INOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE HARFBUZZ M17N_FLT LIBOTF
ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS XWIDGETS
LIBSYSTEMD JSON PDUMPER GMP

--=20
Warm Regards,
Bhavin Gandhi (bhavin192) | https://geeksocket.in




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#44204; Package emacs. Full text available.

Message received at 44204 <at> debbugs.gnu.org:


Received: (at 44204) by debbugs.gnu.org; 25 Oct 2020 00:27:19 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Oct 24 20:27:18 2020
Received: from localhost ([127.0.0.1]:35524 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kWTsU-00038N-Lj
	for submit <at> debbugs.gnu.org; Sat, 24 Oct 2020 20:27:18 -0400
Received: from zimbra.cs.ucla.edu ([131.179.128.68]:34440)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eggert@HIDDEN>)
 id 1kWTsT-000386-6L; Sat, 24 Oct 2020 20:27:17 -0400
Received: from localhost (localhost [127.0.0.1])
 by zimbra.cs.ucla.edu (Postfix) with ESMTP id CF224160065;
 Sat, 24 Oct 2020 17:27:11 -0700 (PDT)
Received: from zimbra.cs.ucla.edu ([127.0.0.1])
 by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032)
 with ESMTP id xgQVCoMVLoOO; Sat, 24 Oct 2020 17:27:09 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1])
 by zimbra.cs.ucla.edu (Postfix) with ESMTP id 64FFB1600E5;
 Sat, 24 Oct 2020 17:27:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu
Received: from zimbra.cs.ucla.edu ([127.0.0.1])
 by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026)
 with ESMTP id xulNrBAS4tZ6; Sat, 24 Oct 2020 17:27:09 -0700 (PDT)
Received: from [192.168.1.9] (cpe-23-243-218-95.socal.res.rr.com
 [23.243.218.95])
 by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id 15350160065;
 Sat, 24 Oct 2020 17:27:09 -0700 (PDT)
Subject: Re: bug#43071: Enable WebKit sandboxing
To: Stefan Kangas <stefankangas@HIDDEN>, 43071-done <at> debbugs.gnu.org
References: <05668e76-ce5b-0766-471f-0cafa91fd978@HIDDEN>
 <CADwFkmk-8J=+NUic1bMspNA+x2Q+pvF8E1yJQTooea+m-=V=kg@HIDDEN>
From: Paul Eggert <eggert@HIDDEN>
Autocrypt: addr=eggert@HIDDEN; prefer-encrypt=mutual; keydata=
 mQINBEyAcmQBEADAAyH2xoTu7ppG5D3a8FMZEon74dCvc4+q1XA2J2tBy2pwaTqfhpxxdGA9
 Jj50UJ3PD4bSUEgN8tLZ0san47l5XTAFLi2456ciSl5m8sKaHlGdt9XmAAtmXqeZVIYX/UFS
 96fDzf4xhEmm/y7LbYEPQdUdxu47xA5KhTYp5bltF3WYDz1Ygd7gx07Auwp7iw7eNvnoDTAl
 KAl8KYDZzbDNCQGEbpY3efZIvPdeI+FWQN4W+kghy+P6au6PrIIhYraeua7XDdb2LS1en3Ss
 mE3QjqfRqI/A2ue8JMwsvXe/WK38Ezs6x74iTaqI3AFH6ilAhDqpMnd/msSESNFt76DiO1ZK
 QMr9amVPknjfPmJISqdhgB1DlEdw34sROf6V8mZw0xfqT6PKE46LcFefzs0kbg4GORf8vjG2
 Sf1tk5eU8MBiyN/bZ03bKNjNYMpODDQQwuP84kYLkX2wBxxMAhBxwbDVZudzxDZJ1C2VXujC
 OJVxq2kljBM9ETYuUGqd75AW2LXrLw6+MuIsHFAYAgRr7+KcwDgBAfwhPBYX34nSSiHlmLC+
 KaHLeCLF5ZI2vKm3HEeCTtlOg7xZEONgwzL+fdKo+D6SoC8RRxJKs8a3sVfI4t6CnrQzvJbB
 n6gxdgCu5i29J1QCYrCYvql2UyFPAK+do99/1jOXT4m2836j1wARAQABtCBQYXVsIEVnZ2Vy
 dCA8ZWdnZXJ0QGNzLnVjbGEuZWR1PokCVQQTAQgAPwIbAwYLCQgHAwIGFQgCCQoLBBYCAwEC
 HgECF4AWIQR+N5Kp2Kz31jO8FYjtl+kOYqp+NAUCXyW9lwUJFK4LswAK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NWOOSbaH4oDBJ5dHMGc35x5mosCk90PXknuFDDsYHfDo5smf9lo6YXx7N9
Organization: UCLA Computer Science Department
Message-ID: <d0d22eb9-f0f3-27c3-9e12-783c1412ba3a@HIDDEN>
Date: Sat, 24 Oct 2020 17:27:08 -0700
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101
 Thunderbird/68.10.0
MIME-Version: 1.0
In-Reply-To: <CADwFkmk-8J=+NUic1bMspNA+x2Q+pvF8E1yJQTooea+m-=V=kg@HIDDEN>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 7bit
X-Spam-Score: -2.4 (--)
X-Debbugs-Envelope-To: 44204
Cc: 44204 <at> debbugs.gnu.org, Qiantan Hong <qhong@HIDDEN>,
 Jaesup Kwak <veshboo@HIDDEN>, Robert Pluim <rpluim@HIDDEN>,
 Jimmy Aguilar Mena <kratsbinovish@HIDDEN>,
 Sungbin Jo <pcr910303@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.4 (---)

No further comment, so I installed the WebKit sandboxing patch into the emacs-27 
branch on Savannah 
<https://git.savannah.gnu.org/cgit/emacs.git/commit/?h=emacs-27&id=71661b287297f328c2c5ad67e180a760f80850cb>. 
After the next merge from emacs-27 to master, this patch should appear in the 
master branch. I am closing Bug#43071.

While testing the fix, I ran into a problem with xwidgets and filed Bug#44204 
"Emacs --with-xwidgets complains under Ubuntu 20.04" which you can see here:

https://bugs.gnu.org/44204

Has anyone had luck running Emacs --with-xwidgets under Ubuntu 20.04 or later? 
I'll cc. this to 44204 <at> debbugs.gnu.org to try to move that part of the 
discussion there.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#44204; Package emacs. Full text available.

Message received at 44204 <at> debbugs.gnu.org:


Received: (at 44204) by debbugs.gnu.org; 25 Oct 2020 00:24:56 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Oct 24 20:24:56 2020
Received: from localhost ([127.0.0.1]:35518 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kWTqB-00034R-Vo
	for submit <at> debbugs.gnu.org; Sat, 24 Oct 2020 20:24:56 -0400
Received: from zimbra.cs.ucla.edu ([131.179.128.68]:34148)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eggert@HIDDEN>) id 1kWTqA-00034F-Dy
 for 44204 <at> debbugs.gnu.org; Sat, 24 Oct 2020 20:24:54 -0400
Received: from localhost (localhost [127.0.0.1])
 by zimbra.cs.ucla.edu (Postfix) with ESMTP id EE668160065
 for <44204 <at> debbugs.gnu.org>; Sat, 24 Oct 2020 17:24:48 -0700 (PDT)
Received: from zimbra.cs.ucla.edu ([127.0.0.1])
 by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032)
 with ESMTP id G92PbPcXU_Ao for <44204 <at> debbugs.gnu.org>;
 Sat, 24 Oct 2020 17:24:48 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1])
 by zimbra.cs.ucla.edu (Postfix) with ESMTP id 03DC41600E5
 for <44204 <at> debbugs.gnu.org>; Sat, 24 Oct 2020 17:24:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu
Received: from zimbra.cs.ucla.edu ([127.0.0.1])
 by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026)
 with ESMTP id ia0-XqOmiQLL for <44204 <at> debbugs.gnu.org>;
 Sat, 24 Oct 2020 17:24:47 -0700 (PDT)
Received: from [192.168.1.9] (cpe-23-243-218-95.socal.res.rr.com
 [23.243.218.95])
 by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id D34CB160065
 for <44204 <at> debbugs.gnu.org>; Sat, 24 Oct 2020 17:24:47 -0700 (PDT)
Subject: Re: Emacs --with-xwidgets complains under Ubuntu 20.04
From: Paul Eggert <eggert@HIDDEN>
To: 44204 <at> debbugs.gnu.org
References: <a11113c5-3ad5-7c8c-19b8-12fa93352f56@HIDDEN>
Autocrypt: addr=eggert@HIDDEN; prefer-encrypt=mutual; keydata=
 mQINBEyAcmQBEADAAyH2xoTu7ppG5D3a8FMZEon74dCvc4+q1XA2J2tBy2pwaTqfhpxxdGA9
 Jj50UJ3PD4bSUEgN8tLZ0san47l5XTAFLi2456ciSl5m8sKaHlGdt9XmAAtmXqeZVIYX/UFS
 96fDzf4xhEmm/y7LbYEPQdUdxu47xA5KhTYp5bltF3WYDz1Ygd7gx07Auwp7iw7eNvnoDTAl
 KAl8KYDZzbDNCQGEbpY3efZIvPdeI+FWQN4W+kghy+P6au6PrIIhYraeua7XDdb2LS1en3Ss
 mE3QjqfRqI/A2ue8JMwsvXe/WK38Ezs6x74iTaqI3AFH6ilAhDqpMnd/msSESNFt76DiO1ZK
 QMr9amVPknjfPmJISqdhgB1DlEdw34sROf6V8mZw0xfqT6PKE46LcFefzs0kbg4GORf8vjG2
 Sf1tk5eU8MBiyN/bZ03bKNjNYMpODDQQwuP84kYLkX2wBxxMAhBxwbDVZudzxDZJ1C2VXujC
 OJVxq2kljBM9ETYuUGqd75A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Gpru38C26REn5f4I0vGE3VfIXHe8TMCNmQut1NtMuUm
 pDIy1aLxGzuptUhnOJN//r+VjDPoi3LOySNYphqe/dMubsfUr6ohP41mKF81FuwI4amqJtrq
 IL2yqax3a0qlfwCxXftieqJcuekX+eCPDCKrYMXR0FYgwpG2ITZUGtrEjESlE6Dscx734HKd
 r5ORIocLUUKEOGeiU6DGhGFdb5Twu0Sn+u1mUPDN0M++CdMvClIE8klo4G91EOImu1Upb8xc
 OPQwxh1jwqSrU5QwoNmSYegQSHLpIUurFz1iQUh1vpPXzKinkWEqv4IqA1ciL+LyySuLkp7M
 sJpVRMbWJCNWOOSbaH4oDBJ5dHMGc35x5mosCk90PXknuFDDsYHfDo5smf9lo6YXx7N9
Organization: UCLA Computer Science Department
Message-ID: <197448f5-0f8e-1256-2c52-3ebe3cd9b692@HIDDEN>
Date: Sat, 24 Oct 2020 17:24:47 -0700
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101
 Thunderbird/68.10.0
MIME-Version: 1.0
In-Reply-To: <a11113c5-3ad5-7c8c-19b8-12fa93352f56@HIDDEN>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 7bit
X-Spam-Score: -2.4 (--)
X-Debbugs-Envelope-To: 44204
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.4 (---)

Oops, I now see that I am not running under Gnome under Wayland. At least,

$ echo $XDG_SESSION_TYPE

outputs "x11". So, forget all my comments about Wayland. It's the default Ubuntu 
20.04 Gnome windowing manager.

But we still have a bug here. Why is the Emacs xwidgets code complaining about 
not having native x11 access?




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#44204; Package emacs. Full text available.
Changed bug title to 'Emacs --with-xwidgets complains under Ubuntu 20.04' from 'Emacs --with-xwidgets complains under Wayland' Request was from Paul Eggert <eggert@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 25 Oct 2020 00:00:35 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Oct 24 20:00:35 2020
Received: from localhost ([127.0.0.1]:35477 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kWTSc-0002TQ-TI
	for submit <at> debbugs.gnu.org; Sat, 24 Oct 2020 20:00:35 -0400
Received: from lists.gnu.org ([209.51.188.17]:56188)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eggert@HIDDEN>) id 1kWTSa-0002TH-7J
 for submit <at> debbugs.gnu.org; Sat, 24 Oct 2020 20:00:33 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:33172)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eggert@HIDDEN>)
 id 1kWTSZ-0002QT-UV
 for bug-gnu-emacs@HIDDEN; Sat, 24 Oct 2020 20:00:31 -0400
Received: from zimbra.cs.ucla.edu ([131.179.128.68]:52154)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eggert@HIDDEN>)
 id 1kWTSV-0000U7-AI
 for bug-gnu-emacs@HIDDEN; Sat, 24 Oct 2020 20:00:31 -0400
Received: from localhost (localhost [127.0.0.1])
 by zimbra.cs.ucla.edu (Postfix) with ESMTP id EFFA5160065
 for <bug-gnu-emacs@HIDDEN>; Sat, 24 Oct 2020 17:00:24 -0700 (PDT)
Received: from zimbra.cs.ucla.edu ([127.0.0.1])
 by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032)
 with ESMTP id H-wWTSx9QpjJ for <bug-gnu-emacs@HIDDEN>;
 Sat, 24 Oct 2020 17:00:23 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1])
 by zimbra.cs.ucla.edu (Postfix) with ESMTP id B48B81600E5
 for <bug-gnu-emacs@HIDDEN>; Sat, 24 Oct 2020 17:00:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu
Received: from zimbra.cs.ucla.edu ([127.0.0.1])
 by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026)
 with ESMTP id xgoEpsYCM1Yx for <bug-gnu-emacs@HIDDEN>;
 Sat, 24 Oct 2020 17:00:23 -0700 (PDT)
Received: from [192.168.1.9] (cpe-23-243-218-95.socal.res.rr.com
 [23.243.218.95])
 by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id 8F36D160065
 for <bug-gnu-emacs@HIDDEN>; Sat, 24 Oct 2020 17:00:23 -0700 (PDT)
To: Emacs bug reports and feature requests <bug-gnu-emacs@HIDDEN>
From: Paul Eggert <eggert@HIDDEN>
Subject: Emacs --with-xwidgets complains under Wayland
Autocrypt: addr=eggert@HIDDEN; prefer-encrypt=mutual; keydata=
 mQINBEyAcmQBEADAAyH2xoTu7ppG5D3a8FMZEon74dCvc4+q1XA2J2tBy2pwaTqfhpxxdGA9
 Jj50UJ3PD4bSUEgN8tLZ0san47l5XTAFLi2456ci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9EXUI3lS4v0MEaPG43flEs1UR+1
 rpFQWVHo1y1OO+sAEQEAAYkCPAQYAQgAJgIbDBYhBH43kqnYrPfWM7wViO2X6Q5iqn40BQJf
 Jb2zBQkUrgvPAAoJEO2X6Q5iqn40cnMP/17CgUkXT9aIJriPM8wbceYrcl7+bdYEf79SlwSb
 bHN7R4CoIJFOlN9S/34typGVYvpgmCJDYFTBxyPO92iMXDgA4+cWHzt5T1aYO9hsKhh7vDtK
 +6ProZGc+08gUTXHhb97hMMQhknJlnfjpSEC9em906FU+I93T1fTGupnBa3aWcK8jM0JaBGb
 y2hG1S3olaDLSTtBINNBYmvuWR9MKOhhqDrlk5cwFDJLh5NrXteEY08WAzcLzG3pkrXPHkFe
 MQtfqk0jLdGGvGC3NCIkqYrdLhiRvGpru38C26REn5f4I0vGE3VfIXHe8TMCNmQut1NtMuUm
 pDIy1aLxGzuptUhnOJN//r+VjDPoi3LOySNYphqe/dMubsfUr6ohP41mKF81FuwI4amqJtrq
 IL2yqax3a0qlfwCxXftieqJcuekX+eCPDCKrYMXR0FYgwpG2ITZUGtrEjESlE6Dscx734HKd
 r5ORIocLUUKEOGeiU6DGhGFdb5Twu0Sn+u1mUPDN0M++CdMvClIE8klo4G91EOImu1Upb8xc
 OPQwxh1jwqSrU5QwoNmSYegQSHLpIUurFz1iQUh1vpPXzKinkWEqv4IqA1ciL+LyySuLkp7M
 sJpVRMbWJCNWOOSbaH4oDBJ5dHMGc35x5mosCk90PXknuFDDsYHfDo5smf9lo6YXx7N9
Organization: UCLA Computer Science Department
Message-ID: <a11113c5-3ad5-7c8c-19b8-12fa93352f56@HIDDEN>
Date: Sat, 24 Oct 2020 17:00:23 -0700
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101
 Thunderbird/68.10.0
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 7bit
Received-SPF: pass client-ip=131.179.128.68; envelope-from=eggert@HIDDEN;
 helo=zimbra.cs.ucla.edu
X-detected-operating-system: by eggs.gnu.org: First seen = 2020/10/24 20:00:25
X-ACL-Warn: Detected OS   = Linux 3.1-3.10 [fuzzy]
X-Spam_score_int: -41
X-Spam_score: -4.2
X-Spam_bar: ----
X-Spam_report: (-4.2 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3,
 SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.3 (-)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)

Under Ubuntu 20.04.1 LTS x86-64, when I use './configure --with-xwidgets' and 
run Emacs in the default windowing environment (which is Gnome under Wayland), 
simple xwidgets functions do not seem to work. For example:

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

causes the following to appear on stderr:


(emacs:139090): Gdk-WARNING **: 16:53:59.652: 
../../../../../gdk/x11/gdkwindow-x11.c:5633 drawable is not a native X11 window

(emacs:139090): Gdk-WARNING **: 16:53:59.652: 
../../../../../gdk/x11/gdkwindow-x11.c:5633 drawable is not a native X11 window

(emacs:139090): Gdk-WARNING **: 16:53:59.652: 
../../../../../gdk/x11/gdkwindow-x11.c:5633 drawable is not a native X11 window


Apparently the Emacs xwidgets code assumes native X11, but Emacs is running 
under Wayland, not native X11.

I observe the problem when running Emacs 26.3, Emacs 27.1, and Emacs savannah 
master, so it's not a new problem.

A simple workaround is to not use --with-xwidgets; this is now Debian and Ubuntu 
build the Emacs 26.3 that they distribute, at any rate.




Acknowledgement sent to Paul Eggert <eggert@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#44204; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sun, 25 Oct 2020 17:30:01 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.