From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stephen Berman Newsgroups: gmane.emacs.bugs Subject: bug#53900: 29.0.50; pgtk: Gtk-CRITICAL warning with customized default face Date: Thu, 10 Feb 2022 09:53:22 +0100 Message-ID: <871r0bcdbx.fsf@gmx.net> References: <871r0coue5.fsf@rub.de> <87czjvzczr.fsf@yahoo.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20187"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: 53900-done@debbugs.gnu.org To: Po Lu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Feb 10 09:54:53 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1nI5E5-00055C-C6 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 10 Feb 2022 09:54:53 +0100 Original-Received: from localhost ([::1]:40664 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nI5E3-0007k9-QC for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 10 Feb 2022 03:54:51 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:57334) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nI5DH-0007iH-0E for bug-gnu-emacs@gnu.org; Thu, 10 Feb 2022 03:54:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:59999) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nI5DG-00074F-2F for bug-gnu-emacs@gnu.org; Thu, 10 Feb 2022 03:54:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nI5DG-0007V1-2b for bug-gnu-emacs@gnu.org; Thu, 10 Feb 2022 03:54:02 -0500 Resent-From: Stephen Berman Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Thu, 10 Feb 2022 08:54:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 53900 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Mail-Followup-To: 53900@debbugs.gnu.org, stephen.berman@gmx.net, stephen.berman@gmx.net Original-Received: via spool by 53900-done@debbugs.gnu.org id=D53900.164448321428782 (code D ref 53900); Thu, 10 Feb 2022 08:54:01 +0000 Original-Received: (at 53900-done) by debbugs.gnu.org; 10 Feb 2022 08:53:34 +0000 Original-Received: from localhost ([127.0.0.1]:53894 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nI5Cn-0007U9-Qw for submit@debbugs.gnu.org; Thu, 10 Feb 2022 03:53:34 -0500 Original-Received: from mout.gmx.net ([212.227.15.15]:43659) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nI5Cm-0007Tv-56 for 53900-done@debbugs.gnu.org; Thu, 10 Feb 2022 03:53:32 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1644483203; bh=omMBx37S1AC+nC+S/n+SWh/rLe4MoOF5+C6txzxgJ6M=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=Hf3at87g6WzywOEgBJej++1roWBShlQayqA+CEnbSMyRdc1lBhcrvksNFZtVckmED Po1iGrpFDU1613qR3+Lp5ZnnR4GzdQWANeyBQQp1dZ+ZJGNdt6UVkmvbEytHLGo1/R 2zvina5aTNijEOrVJr4w2k/79GLSGLtiZm/OmeQU= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from strobelfs2 ([89.246.38.238]) by mail.gmx.net (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1Mplc7-1o5kRa2FdV-00qDZr; Thu, 10 Feb 2022 09:53:23 +0100 In-Reply-To: <87czjvzczr.fsf@yahoo.com> (Po Lu's message of "Thu, 10 Feb 2022 10:12:08 +0800") X-Provags-ID: V03:K1:4zvNdqk1IBi8egh9gjEirlv3ThXKmSRpGV/fAZNHp7jCIJE322C ykc6rc5gQqImh1ScCx2IKgmZtKwAOL7L1y4qINn2wJFwPsvc++crniUR33FAHPZEMydNkh1 L9ccDYv3JYWctXKXFDkpCEZIcR6jY19jA7KQfKaE/wq1RRh7DQM6FhHy+rsvhtcmeLztol5 q/fwkc2cHONtuOgjUh1sQ== X-UI-Out-Filterresults: notjunk:1;V03:K0:tA4iMtVMpBo=:VljAulq+0J184pGolqAItN yQapxZs891V85u4L33sv7xHvmTRulqbM5NktpQ6c5bi0uU3ySWc5JeqLhNIdF8/WHTWvJ8QON 2K90fP/P0V+oHfZTkvYbcMkYfUuSbb98IpF2aoJBoXMbcYv4Nn93s2fiL7BaNv2+JhPjjfJxh SfbwmH+cSdDfprFbO3GtYF2V5sOWWCLall0kwRFnzTDZv+JyZZU9InVQceHtIdcg3rUxBUlOa mFmWxyUrWd3OG49aZLYng77Eb1p4tGZz+82Bi8jYZzbK5ZQ+/sXnAw5Cb8XyZtVHHCL5w3Vt1 v/XZ3FE37HUsf/0ylo42NBuf4wmpC+AXl+pAjJkrXScnPRpbAi8XlXKtUnsng/0oWEwED7wKU fknp+iOxrS1PVTlLuiDyMWdGi42+ESX4sGkN9RAHHeVuhG2V/LwOQ+pOJqoVwlr5bUfWvlJ6/ XExv28TZ5tO0GF9rgoq6F2Dpv5Sftza+CULe5eEoqHEReaF9dss09kiO/aIsMo6S4AuFzS9pl Xr9JMfbsskTSGd0CEXw43CcYD6oldh0wtSLGKkMrGUJyWOCT1p4XlxpQI2/QlmH0IMBG7qDVK JS/QCklHv7IPX7MIfk/zC2b02preUaz/NVJgvV9/bxEFVFP/Ga/mHqppJKq4/EIqDyUhi7Gtq 9/sktYxCEFB+O/2SvGJmRElGD3Xbr9ciJUBCMaCpEsXajTztaioK5dkCBOptxnnAFY6AdQg7n R2YEWh/H1Thnsjr6djDKV28F10JjlAMvB364xFJBQCT9ALejKPoUGFltXG1deKU/ZLdKvMbR X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:226565 Archived-At: On Thu, 10 Feb 2022 10:12:08 +0800 Po Lu wrote: > Stephen Berman writes: > >> 0. emacs -Q >> 1. Sanity check: evaluating the following sexp displays a non-GTK >> tooltip and the shell emits no warning: >> (let (use-system-tooltips) >> (tooltip-show "Test")) >> 2. Evaluate this sexp: >> (custom-set-faces '(default ((t (:background "lightblue"))))) >> 3. Evaluate the sexp in step 1 again: >> => A non-GTK tooltip is displayed and the shell emit a warning: >> >> emacs-pgtk:12321): Gtk-CRITICAL **: 17:05:36.422: gtk_css_provider_load_from_data: assertion 'GTK_IS_CSS_PROVIDER (css_provider)' failed >> >> In my tests this happens only when customizing the `default' face >> (though admittedly I haven't tested all faces nor all face attributes). >> It also happens when step 2 is replaced by loading any built-in theme >> (all of which customize the `default' face). (As a test I created a >> theme that does not customize the `default' face and with that theme did >> not get the warning.) >> >> My first pgtk-build that shows this warning is from commit >> dc5930ba973c9d921e9124b7afa1a65bba568b45. My previous pgtk-build at >> commit 988d3d79bac0343dd2b1b89d1b15470edbb5e6ac does not show the >> warning with the above recipe. Unfortunately, I don't have time now to >> do a git bisect to pinpoint the commit that causes the warning to be >> emitted. >> >> There is no warning if use-system-tooltips is non-nil. And there is no >> warning with the above recipe in a non-PGTK GTK3 build. > > Should be fixed now on master. Thanks. Confirmed, so I'm closing the bug. Thanks. Steve Berman