From debbugs-submit-bounces@debbugs.gnu.org Sun Oct 07 14:32:50 2018 Received: (at submit) by debbugs.gnu.org; 7 Oct 2018 18:32:50 +0000 Received: from localhost ([127.0.0.1]:39620 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g9DrF-0006Qz-SF for submit@debbugs.gnu.org; Sun, 07 Oct 2018 14:32:50 -0400 Received: from eggs.gnu.org ([208.118.235.92]:46801) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g9DeZ-00064q-Ed for submit@debbugs.gnu.org; Sun, 07 Oct 2018 14:19:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g9DeT-0004ms-A9 for submit@debbugs.gnu.org; Sun, 07 Oct 2018 14:19:37 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:55548) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1g9DeS-0004mD-Ar for submit@debbugs.gnu.org; Sun, 07 Oct 2018 14:19:37 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56405) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g9DeR-0003zN-Dq for bug-gnu-emacs@gnu.org; Sun, 07 Oct 2018 14:19:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g9DeM-0004g8-MH for bug-gnu-emacs@gnu.org; Sun, 07 Oct 2018 14:19:35 -0400 Received: from mailrelay1-1.pub.mailoutpod1-cph3.one.com ([46.30.210.182]:22892) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1g9DeL-0004ay-Vs for bug-gnu-emacs@gnu.org; Sun, 07 Oct 2018 14:19:30 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tjernlund.se; s=20140924; h=content-transfer-encoding:mime-version:content-type:date:to:from:subject: message-id:from; bh=T0IAmqGoFoT90I07TnAtbXPEYTVzqRpks2SRNAlRMN8=; b=RnZ5g0f+WNVKb1W3984gaPceKkSy3ZNM/Qlx+ceOhbonwGzRQ0ZD5gi5uGsTVy9vD61C9GZxV2h3F KPXnzSsgEXT7tbFBpd/CuXORk5RN3IgZrLyBgOQiPqAePQqC/vlyjpflB2Ykok0dox66eauVdjh8r0 716fCPGmFSYFJt2s= X-HalOne-Cookie: 4fe8edcc0a1c630c5bf5bfe64eec46a0fb2d6f3d X-HalOne-ID: 85d6621c-ca5d-11e8-942c-d0431ea8a283 Received: from [192.168.0.136] (unknown [178.174.231.82]) by mailrelay1.pub.mailoutpod1-cph3.one.com (Halon) with ESMTPSA id 85d6621c-ca5d-11e8-942c-d0431ea8a283; Sun, 07 Oct 2018 18:19:26 +0000 (UTC) Message-ID: <1538936366.8755.2.camel@tjernlund.se> Subject: Emacs 26.1; GTK Warnings From: Tjernlund To: bug-gnu-emacs@gnu.org Date: Sun, 07 Oct 2018 20:19:26 +0200 Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.26.6 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: FreeBSD 9.x [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Sun, 07 Oct 2018 14:32:48 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.0 (------) Setting background-color like so(in my .emacs files): (setq default-frame-alist '((background-color . "#333333") (foreground-color . "White") (cursor-color . "White"))) Prints these GTK warnings: (emacs-26:9664): Gtk-CRITICAL **: gtk_widget_get_parent: assertion 'GTK_IS_WIDGET (widget)' failed (emacs-26:9664): Gtk-CRITICAL **: gtk_widget_override_background_color: assertion 'GTK_IS_WIDGET (widget)' failed (emacs-26:9664): Gtk-CRITICAL **: gtk_widget_get_parent: assertion 'GTK_IS_WIDGET (widget)' failed (emacs-26:9664): Gtk-CRITICAL **: gtk_widget_override_background_color: assertion 'GTK_IS_WIDGET (widget)' failed (emacs-26:9664): Gtk-CRITICAL **: gtk_widget_get_parent: assertion 'GTK_IS_WIDGET (widget)' failed (emacs-26:9664): Gtk-CRITICAL **: gtk_widget_override_background_color: assertion 'GTK_IS_WIDGET (widget)' failed (emacs-26:9664): Gtk-CRITICAL **: gtk_widget_get_parent: assertion 'GTK_IS_WIDGET (widget)' failed (emacs-26:9664): Gtk-CRITICAL **: gtk_widget_override_background_color: assertion 'GTK_IS_WIDGET (widget)' failed From debbugs-submit-bounces@debbugs.gnu.org Sun Oct 07 15:04:15 2018 Received: (at 32975) by debbugs.gnu.org; 7 Oct 2018 19:04:15 +0000 Received: from localhost ([127.0.0.1]:39634 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g9ELe-0007Ad-QM for submit@debbugs.gnu.org; Sun, 07 Oct 2018 15:04:14 -0400 Received: from eggs.gnu.org ([208.118.235.92]:53745) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g9ELc-0007AQ-GQ for 32975@debbugs.gnu.org; Sun, 07 Oct 2018 15:04:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g9ELU-0000Lx-66 for 32975@debbugs.gnu.org; Sun, 07 Oct 2018 15:04:07 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:46073) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g9ELU-0000LW-2H; Sun, 07 Oct 2018 15:04:04 -0400 Received: from [176.228.60.248] (port=2201 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1g9ELT-0003pq-Lh; Sun, 07 Oct 2018 15:04:04 -0400 Date: Sun, 07 Oct 2018 22:03:54 +0300 Message-Id: <83zhvpzihx.fsf@gnu.org> From: Eli Zaretskii To: Tjernlund In-reply-to: <1538936366.8755.2.camel@tjernlund.se> (message from Tjernlund on Sun, 07 Oct 2018 20:19:26 +0200) Subject: Re: bug#32975: Emacs 26.1; GTK Warnings References: <1538936366.8755.2.camel@tjernlund.se> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 32975 Cc: 32975@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.0 (------) > From: Tjernlund > Date: Sun, 07 Oct 2018 20:19:26 +0200 > > Setting background-color like so(in my .emacs files): > (setq default-frame-alist '((background-color . "#333333") (foreground-color . "White") (cursor-color . "White"))) > > Prints these GTK warnings: > (emacs-26:9664): Gtk-CRITICAL **: gtk_widget_get_parent: assertion 'GTK_IS_WIDGET (widget)' failed Please tell your GTK version (and preferably all the other information collected by "M-x report-emacs-bug RET"). Thanks. P.S. Do I understand correctly that these messages are emitted only for that combination of colors? From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 08 01:27:13 2018 Received: (at 32975) by debbugs.gnu.org; 8 Oct 2018 05:27:13 +0000 Received: from localhost ([127.0.0.1]:39828 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g9O4W-0005kb-NB for submit@debbugs.gnu.org; Mon, 08 Oct 2018 01:27:12 -0400 Received: from mailrelay3-1.pub.mailoutpod1-cph3.one.com ([46.30.210.184]:49532) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g9O4U-0005kR-DS for 32975@debbugs.gnu.org; Mon, 08 Oct 2018 01:27:11 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tjernlund.se; s=20140924; h=content-transfer-encoding:mime-version:content-type:references:in-reply-to: date:cc:to:from:subject:message-id:from; bh=xaZxZDTIgBh8v8xDzjmrlNA7fOgzOoEJdRyO7cHuO+8=; b=p6LPr5/nuV7YtuyoYxCbDPhqjHe2sGWuFgr0vsgBa1SJSvvnMuMx70cAiJwgE9fFfsSUK6GoovHUV kx96GhC3irjIADkro0/Lw5dq8tmAvxkVkME9nnFGC2HcJ1ehgs6mtGbOgWtKNmj/aBl3qlH2/x8Jg9 cYIqDGKdC1xh+1TE= X-HalOne-Cookie: 39a957904715c523bd34691769342527512f8870 X-HalOne-ID: ccb373dd-caba-11e8-af49-d0431ea8bb03 Received: from [192.168.0.136] (unknown [178.174.231.82]) by mailrelay3.pub.mailoutpod1-cph3.one.com (Halon) with ESMTPSA id ccb373dd-caba-11e8-af49-d0431ea8bb03; Mon, 08 Oct 2018 05:27:08 +0000 (UTC) Message-ID: <1538976428.8755.6.camel@tjernlund.se> Subject: Re: bug#32975: Emacs 26.1; GTK Warnings From: Tjernlund To: Eli Zaretskii Date: Mon, 08 Oct 2018 07:27:08 +0200 In-Reply-To: <83zhvpzihx.fsf@gnu.org> References: <1538936366.8755.2.camel@tjernlund.se> <83zhvpzihx.fsf@gnu.org> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.26.6 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 32975 Cc: 32975@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On Sun, 2018-10-07 at 22:03 +0300, Eli Zaretskii wrote: > > From: Tjernlund > > Date: Sun, 07 Oct 2018 20:19:26 +0200 > > > > Setting background-color like so(in my .emacs files): > > (setq default-frame-alist '((background-color . "#333333") (foreground-color . "White") (cursor-color . "White"))) > > > > Prints these GTK warnings: > > (emacs-26:9664): Gtk-CRITICAL **: gtk_widget_get_parent: assertion 'GTK_IS_WIDGET (widget)' failed > > Please tell your GTK version (and preferably all the other > information collected by "M-x report-emacs-bug RET"). > > Thanks. > > P.S. Do I understand correctly that these messages are emitted only > for that combination of colors? No, setting background-color to any value will cause the errors gtk version 3.22.30 Here are some data from M-x report-emacs-bug RET: Configured using: 'configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-silent-rules --docdir=/usr/share/doc/emacs-26.1-r3 --htmldir=/usr/share/doc/emacs-26.1-r3/html --libdir=/usr/lib64 --program-suffix=-emacs-26 --infodir=/usr/share/info/emacs-26 --localstatedir=/var --enable-locallisppath=/etc/emacs:/usr/share/emacs/site-lisp --without-compress-install --without-hesiod --without-pop --with-file-notification=inotify --enable-acl --with-dbus --without-modules --without-gameuser --with-gpm --without-kerberos --without-kerberos5 --with-lcms2 --without-xml2 --without-mailutils --without-selinux --with-gnutls --without-libsystemd --with-threads --without-wide-int --with-zlib --with-sound=alsa --with-x --without-ns --without-gconf --without-gsettings --without-toolkit-scroll-bars --with-gif --with-jpeg --with-png --with-rsvg --with-tiff --with-xpm --without-imagemagick --with-xft --without-cairo --without-libotf --without-m17n-flt --with-x-toolkit=gtk3 --without-xwidgets 'CFLAGS=-O2 -pipe -Wno-error -fno-stack-check' CPPFLAGS= 'LDFLAGS=-Wl,-O1 -Wl,--as-needed'' Configured features: XPM JPEG TIFF GIF PNG RSVG SOUND GPM DBUS NOTIFY ACL GNUTLS FREETYPE XFT ZLIB GTK3 X11 THREADS LCMS2 Important settings: value of $LANG: en_GB.utf8 locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t global-eldoc-mode: t eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message rmc puny dired dired-loaddefs format-spec rfc822 mml mml-sec password-cache epa derived epg epg-config gnus-util rmail rmail-loaddefs mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils elec-pair ecb edmacro kmacro ecb-symboldef ecb-analyse ecb-compatibility ecb-winman-support ecb-autogen autoload radix-tree lisp-mnt ecb-tod ecb-cycle ecb-eshell ecb-help ecb-jde ecb-method-browser hideshow ecb-semantic-wrapper ecb-semantic ecb-file-browser ecb-speedbar ecb-layout compile comint ansi-color ecb-create-layout advice ecb-compilation ecb-common-browser speedbar sb-image dframe ecb-navigate eieio-compat ecb-mode-line ecb-face tree-buffer ecb-upgrade ecb-cedet-wrapper semantic/db-mode semantic/db-find semantic/db-ref semantic/analyze semantic/sort semantic/scope semantic/analyze/fcn semantic/db eieio-base cl-seq seq semantic/format ezimage semantic/tag-ls semantic/find semantic/ctxt semantic/util-modes semantic/util semantic semantic/tag semantic/lex semantic/fw eieio byte-opt bytecomp byte-compile cconv eieio-core cl-macs gv eieio-loaddefs mode-local find-func cedet wid-edit cl-loaddefs cl-lib ecb-util ring thingatpt info easymenu site-gentoo ecb-autoloads time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote dbusbind inotify lcms2 dynamic-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 161892 7932) (symbols 48 28117 1) (miscs 40 49 111) (strings 32 47991 1454) (string-bytes 1 1599166) (vectors 16 24484) (vector-slots 8 622015 7766) (floats 8 91 27) (intervals 56 331 0) (buffers 992 12)) From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 09 11:11:12 2018 Received: (at 32975) by debbugs.gnu.org; 9 Oct 2018 15:11:12 +0000 Received: from localhost ([127.0.0.1]:42477 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g9tfE-000392-DX for submit@debbugs.gnu.org; Tue, 09 Oct 2018 11:11:12 -0400 Received: from eggs.gnu.org ([208.118.235.92]:53762) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g9tfC-00038p-LG for 32975@debbugs.gnu.org; Tue, 09 Oct 2018 11:11:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g9tf3-00066n-LH for 32975@debbugs.gnu.org; Tue, 09 Oct 2018 11:11:05 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:34865) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g9tf2-00066G-Sj; Tue, 09 Oct 2018 11:11:01 -0400 Received: from [176.228.60.248] (port=3101 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1g9tf2-00023c-Fw; Tue, 09 Oct 2018 11:11:00 -0400 Date: Tue, 09 Oct 2018 18:10:56 +0300 Message-Id: <837eiryx33.fsf@gnu.org> From: Eli Zaretskii To: Tjernlund In-reply-to: <1538976428.8755.6.camel@tjernlund.se> (message from Tjernlund on Mon, 08 Oct 2018 07:27:08 +0200) Subject: Re: bug#32975: Emacs 26.1; GTK Warnings References: <1538936366.8755.2.camel@tjernlund.se> <83zhvpzihx.fsf@gnu.org> <1538976428.8755.6.camel@tjernlund.se> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 32975 Cc: 32975@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.0 (------) > From: Tjernlund > Cc: 32975@debbugs.gnu.org > Date: Mon, 08 Oct 2018 07:27:08 +0200 > > > P.S. Do I understand correctly that these messages are emitted only > > for that combination of colors? > > No, setting background-color to any value will cause the errors > gtk version 3.22.30 Do the problems go away if you disable the scroll bars? From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 09 14:01:29 2018 Received: (at 32975) by debbugs.gnu.org; 9 Oct 2018 18:01:29 +0000 Received: from localhost ([127.0.0.1]:42529 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g9wJz-0007AR-2D for submit@debbugs.gnu.org; Tue, 09 Oct 2018 14:01:27 -0400 Received: from mailrelay4-1.pub.mailoutpod1-cph3.one.com ([46.30.210.185]:42531) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g9wJw-0007AF-Le for 32975@debbugs.gnu.org; Tue, 09 Oct 2018 14:01:25 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tjernlund.se; s=20140924; h=content-transfer-encoding:mime-version:content-type:references:in-reply-to: date:cc:to:from:subject:message-id:from; bh=Ex1p5Ase5TrBItkBLMvsSxibAx39oBrptAxS7xwWNuI=; b=TBTJsJ/hQTULcEskNQTo/CbWuCf19inZIjDATsVIdRMo06tuwEAttgHzLqhH6TDAO2pJUTvqqoXef G5UDs6LvMtAXkaDXACoIboJiFiG7PapGU1m1P51dbpiTBlQ6pu3tbkGqj76yncr3QmYsKXK/S2dT5w 32xp4LIe+epq+bNU= X-HalOne-Cookie: 643b99ea4f68ccc544125f21d1e45c2504ad7172 X-HalOne-ID: 4eec1b3a-cbed-11e8-86b7-d0431ea8bb10 Received: from [192.168.0.136] (unknown [178.174.231.82]) by mailrelay4.pub.mailoutpod1-cph3.one.com (Halon) with ESMTPSA id 4eec1b3a-cbed-11e8-86b7-d0431ea8bb10; Tue, 09 Oct 2018 18:01:22 +0000 (UTC) Message-ID: <1539108072.8755.7.camel@tjernlund.se> Subject: Re: bug#32975: Emacs 26.1; GTK Warnings From: Tjernlund To: Eli Zaretskii Date: Tue, 09 Oct 2018 20:01:12 +0200 In-Reply-To: <837eiryx33.fsf@gnu.org> References: <1538936366.8755.2.camel@tjernlund.se> <83zhvpzihx.fsf@gnu.org> <1538976428.8755.6.camel@tjernlund.se> <837eiryx33.fsf@gnu.org> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.26.6 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 32975 Cc: 32975@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On Tue, 2018-10-09 at 18:10 +0300, Eli Zaretskii wrote: > > From: Tjernlund > > Cc: 32975@debbugs.gnu.org > > Date: Mon, 08 Oct 2018 07:27:08 +0200 > > > > > P.S. Do I understand correctly that these messages are emitted only > > > for that combination of colors? > > > > No, setting background-color to any value will cause the errors > > gtk version 3.22.30 > > Do the problems go away if you disable the scroll bars? The left side scroll bar? Don't know howto do that .. From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 09 14:18:48 2018 Received: (at 32975) by debbugs.gnu.org; 9 Oct 2018 18:18:48 +0000 Received: from localhost ([127.0.0.1]:42543 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g9wam-0007ay-Ft for submit@debbugs.gnu.org; Tue, 09 Oct 2018 14:18:48 -0400 Received: from eggs.gnu.org ([208.118.235.92]:54908) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g9wal-0007al-2O for 32975@debbugs.gnu.org; Tue, 09 Oct 2018 14:18:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g9waa-0002ZV-P2 for 32975@debbugs.gnu.org; Tue, 09 Oct 2018 14:18:41 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:39093) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g9waa-0002ZF-Hn; Tue, 09 Oct 2018 14:18:36 -0400 Received: from [176.228.60.248] (port=3239 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1g9waX-0002CZ-I7; Tue, 09 Oct 2018 14:18:36 -0400 Date: Tue, 09 Oct 2018 21:18:21 +0300 Message-Id: <83zhvnx9ua.fsf@gnu.org> From: Eli Zaretskii To: Tjernlund In-reply-to: <1539108072.8755.7.camel@tjernlund.se> (message from Tjernlund on Tue, 09 Oct 2018 20:01:12 +0200) Subject: Re: bug#32975: Emacs 26.1; GTK Warnings References: <1538936366.8755.2.camel@tjernlund.se> <83zhvpzihx.fsf@gnu.org> <1538976428.8755.6.camel@tjernlund.se> <837eiryx33.fsf@gnu.org> <1539108072.8755.7.camel@tjernlund.se> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 32975 Cc: 32975@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.0 (------) > From: Tjernlund > Cc: 32975@debbugs.gnu.org > Date: Tue, 09 Oct 2018 20:01:12 +0200 > > On Tue, 2018-10-09 at 18:10 +0300, Eli Zaretskii wrote: > > > From: Tjernlund > > > Cc: 32975@debbugs.gnu.org > > > Date: Mon, 08 Oct 2018 07:27:08 +0200 > > > > > > > P.S. Do I understand correctly that these messages are emitted only > > > > for that combination of colors? > > > > > > No, setting background-color to any value will cause the errors > > > gtk version 3.22.30 > > > > Do the problems go away if you disable the scroll bars? > > The left side scroll bar? All of them. > Don't know howto do that .. "M-x scroll-bar-mode RET" should toggle display of vertical scroll bars. "M-x horizontal-scroll-bar-mode RET" should do the same with horizontal scroll bars. From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 09 14:33:48 2018 Received: (at 32975) by debbugs.gnu.org; 9 Oct 2018 18:33:48 +0000 Received: from localhost ([127.0.0.1]:42559 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g9wpI-0007zX-Cq for submit@debbugs.gnu.org; Tue, 09 Oct 2018 14:33:48 -0400 Received: from mailrelay1-1.pub.mailoutpod1-cph3.one.com ([46.30.210.182]:25087) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g9wpH-0007zO-3o for 32975@debbugs.gnu.org; Tue, 09 Oct 2018 14:33:47 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tjernlund.se; s=20140924; h=content-transfer-encoding:mime-version:content-type:references:in-reply-to: date:cc:to:from:subject:message-id:from; bh=5iWT4dOjYfNnFe7GexuoGCTnzarNj9CEg525X5KzDHg=; b=ujAbGOFh0U6/K7hEcTY+3kyc6rk2LEc85adLoNipmvbz1eDWuvBEwkGArpmNxpBDSsm29rq4rj/ld RBzdsgrDr+tA6ZQCjlKsvD5ZT8NjFsZcYa/LtPMYImudHRiD7sqta8Kuk1d2cbqCK4fh5S0g3lGuF7 meTMXPdpGmbjWf4M= X-HalOne-Cookie: 30057b3ca75644e95017976c27967c0b80f91a67 X-HalOne-ID: dae07483-cbf1-11e8-942c-d0431ea8a283 Received: from [192.168.0.136] (unknown [178.174.231.82]) by mailrelay1.pub.mailoutpod1-cph3.one.com (Halon) with ESMTPSA id dae07483-cbf1-11e8-942c-d0431ea8a283; Tue, 09 Oct 2018 18:33:45 +0000 (UTC) Message-ID: <1539110025.8755.10.camel@tjernlund.se> Subject: Re: bug#32975: Emacs 26.1; GTK Warnings From: Tjernlund To: Eli Zaretskii Date: Tue, 09 Oct 2018 20:33:45 +0200 In-Reply-To: <83zhvnx9ua.fsf@gnu.org> References: <1538936366.8755.2.camel@tjernlund.se> <83zhvpzihx.fsf@gnu.org> <1538976428.8755.6.camel@tjernlund.se> <837eiryx33.fsf@gnu.org> <1539108072.8755.7.camel@tjernlund.se> <83zhvnx9ua.fsf@gnu.org> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.26.6 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 32975 Cc: 32975@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On Tue, 2018-10-09 at 21:18 +0300, Eli Zaretskii wrote: > > From: Tjernlund > > Cc: 32975@debbugs.gnu.org > > Date: Tue, 09 Oct 2018 20:01:12 +0200 > > > > On Tue, 2018-10-09 at 18:10 +0300, Eli Zaretskii wrote: > > > > From: Tjernlund > > > > Cc: 32975@debbugs.gnu.org > > > > Date: Mon, 08 Oct 2018 07:27:08 +0200 > > > > > > > > > P.S. Do I understand correctly that these messages are emitted only > > > > > for that combination of colors? > > > > > > > > No, setting background-color to any value will cause the errors > > > > gtk version 3.22.30 > > > > > > Do the problems go away if you disable the scroll bars? > > > > The left side scroll bar? > > All of them. > > > Don't know howto do that .. > > "M-x scroll-bar-mode RET" should toggle display of vertical scroll > bars. "M-x horizontal-scroll-bar-mode RET" should do the same with > horizontal scroll bars. They only happen one at startup, if if put in my .emacs: (scroll-bar-mode 0) They are gone. From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 09 15:14:01 2018 Received: (at 32975) by debbugs.gnu.org; 9 Oct 2018 19:14:01 +0000 Received: from localhost ([127.0.0.1]:42571 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g9xSC-0000WN-VC for submit@debbugs.gnu.org; Tue, 09 Oct 2018 15:14:01 -0400 Received: from eggs.gnu.org ([208.118.235.92]:43720) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g9xSB-0000W7-Iq for 32975@debbugs.gnu.org; Tue, 09 Oct 2018 15:13:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g9xS2-0002pl-5J for 32975@debbugs.gnu.org; Tue, 09 Oct 2018 15:13:54 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:40197) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g9xS0-0002iC-6a; Tue, 09 Oct 2018 15:13:48 -0400 Received: from [176.228.60.248] (port=2694 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1g9xRy-0003ra-GM; Tue, 09 Oct 2018 15:13:48 -0400 Date: Tue, 09 Oct 2018 22:13:40 +0300 Message-Id: <83va6bx7a3.fsf@gnu.org> From: Eli Zaretskii To: Tjernlund , Robert Pluim In-reply-to: <1539110025.8755.10.camel@tjernlund.se> (message from Tjernlund on Tue, 09 Oct 2018 20:33:45 +0200) Subject: Re: bug#32975: Emacs 26.1; GTK Warnings References: <1538936366.8755.2.camel@tjernlund.se> <83zhvpzihx.fsf@gnu.org> <1538976428.8755.6.camel@tjernlund.se> <837eiryx33.fsf@gnu.org> <1539108072.8755.7.camel@tjernlund.se> <83zhvnx9ua.fsf@gnu.org> <1539110025.8755.10.camel@tjernlund.se> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 32975 Cc: 32975@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.0 (------) > From: Tjernlund > Cc: 32975@debbugs.gnu.org > Date: Tue, 09 Oct 2018 20:33:45 +0200 > > > > > Do the problems go away if you disable the scroll bars? > > > > > > The left side scroll bar? > > > > All of them. > > > > > Don't know howto do that .. > > > > "M-x scroll-bar-mode RET" should toggle display of vertical scroll > > bars. "M-x horizontal-scroll-bar-mode RET" should do the same with > > horizontal scroll bars. > > They only happen one at startup, if if put in my .emacs: > (scroll-bar-mode 0) > They are gone. Great, then my guess was correct. These warnings come from xg_update_scrollbar_pos and from xg_finish_scroll_bar_creation. Can some GTK expert try to find out why the scroll-bar widget seems to be reported as invalid)? Robert, are you there? Thanks. From debbugs-submit-bounces@debbugs.gnu.org Wed Oct 10 04:04:24 2018 Received: (at 32975) by debbugs.gnu.org; 10 Oct 2018 08:04:24 +0000 Received: from localhost ([127.0.0.1]:42871 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gA9Tk-0008Qp-IX for submit@debbugs.gnu.org; Wed, 10 Oct 2018 04:04:24 -0400 Received: from mail-wm1-f54.google.com ([209.85.128.54]:56101) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gA9Tj-0008QX-0n for 32975@debbugs.gnu.org; Wed, 10 Oct 2018 04:04:23 -0400 Received: by mail-wm1-f54.google.com with SMTP id 206-v6so4390798wmb.5 for <32975@debbugs.gnu.org>; Wed, 10 Oct 2018 01:04:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:mail-copies-to:gmane-reply-to-list :date:in-reply-to:message-id:mime-version; bh=bGkm1dcmMBgKcGjM/HSMrFMm0qDYDnyVuM3Yy3IvXHM=; b=TGQC2yxMpQN0QVxO+DIvRpQKsZx/dOmk6wwa5uMSP7yKP5F4sGru8dX1RJCN1hVzkf ixK/RF9MCxNJnXRgZkaKaBrDQeQUGUTjljbu9e66LhRXeSe6jE/jzZBQYgFGmPyex4hR F5j6tFIHy7Cm2/Sp1eHDLDkIGeSAOtfk8YoFF3AQmKuqAxckqt2lwYFUToaFjT0+3i0u RWRJVyD9/MxSxFCvoBwXzgnLz6bkzYV4aNpta5xUQJA85wnYQn6OsF154wZhuSYdhUTS 3JcIL3B2rKQJ3IjUNZ7RMhu2B16XqdzgVKtH/Ni2/qzDeJIkEelC3Yo+TAkWlXy2WNN7 GATg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:mail-copies-to :gmane-reply-to-list:date:in-reply-to:message-id:mime-version; bh=bGkm1dcmMBgKcGjM/HSMrFMm0qDYDnyVuM3Yy3IvXHM=; b=inLTI9lYcKvFlAlC/8s+jqR23jT7xUbrJZ4PkMLGTqEVKb7kUOWIuuuqA9V41gvA6c DQ+QhkxiV/lvzNVTyC51PNqzWnqb7ZwwjR2yp0MlahfXZBN5QqD8w2vLlgiDczhC/LZs RrXQYQSVF0MwsRxezovbnjYZAckVP+IuTWXSRxRg3QCuP52w0Egob8kURk6VFA4zqV+J HM17qkRuhmWKCXPREBbISRSusE4nrqOJBDfoG21AG0Z4Hzw0UGWJ4SvohKC+wlh4tPlK /it6y1dZ6GawRB/WkxH5JiLfPj1lp7TeBYJ+wGKHhPMl3Swyil+XSK0UyFk85PKzerzF TEdw== X-Gm-Message-State: ABuFfojPQE2UfDpGzCF7UeW/jEgbAu7EbKLkAkAFq0rq7EXsUmUzKExN KDFryNrtVfP8DAgsWVjqiiTUobVF X-Google-Smtp-Source: ACcGV636YLn19zHnl83jPzrG/9gPyIBH1q9yvmfbZZCTCkd0LSUxapb/vCZ0n82MRK+14donUMFhgw== X-Received: by 2002:a1c:9901:: with SMTP id b1-v6mr4301759wme.15.1539158656594; Wed, 10 Oct 2018 01:04:16 -0700 (PDT) Received: from rpluim-ubuntu (cust-west-pareq2-46-193-13-178.wb.wifirst.net. [46.193.13.178]) by smtp.gmail.com with ESMTPSA id r134-v6sm11507115wmg.9.2018.10.10.01.04.14 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 10 Oct 2018 01:04:15 -0700 (PDT) From: Robert Pluim To: Eli Zaretskii Subject: Re: bug#32975: Emacs 26.1; GTK Warnings References: <1538936366.8755.2.camel@tjernlund.se> <83zhvpzihx.fsf@gnu.org> <1538976428.8755.6.camel@tjernlund.se> <837eiryx33.fsf@gnu.org> <1539108072.8755.7.camel@tjernlund.se> <83zhvnx9ua.fsf@gnu.org> <1539110025.8755.10.camel@tjernlund.se> <83va6bx7a3.fsf@gnu.org> X-Debbugs-No-Ack: yes Mail-Copies-To: never Gmane-Reply-To-List: yes Date: Wed, 10 Oct 2018 10:04:14 +0200 In-Reply-To: <83va6bx7a3.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 09 Oct 2018 22:13:40 +0300") Message-ID: <87d0si1b41.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 32975 Cc: Tjernlund , 32975@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Eli Zaretskii writes: >> From: Tjernlund >> Cc: 32975@debbugs.gnu.org >> Date: Tue, 09 Oct 2018 20:33:45 +0200 >> >> > > > Do the problems go away if you disable the scroll bars? >> > > >> > > The left side scroll bar? >> > >> > All of them. >> > >> > > Don't know howto do that .. >> > >> > "M-x scroll-bar-mode RET" should toggle display of vertical scroll >> > bars. "M-x horizontal-scroll-bar-mode RET" should do the same with >> > horizontal scroll bars. >> >> They only happen one at startup, if if put in my .emacs: >> (scroll-bar-mode 0) >> They are gone. > > Great, then my guess was correct. These warnings come from > xg_update_scrollbar_pos and from xg_finish_scroll_bar_creation. Can > some GTK expert try to find out why the scroll-bar widget seems to be > reported as invalid)? Robert, are you there? I can't reproduce this under Gnome or KDE, with the same GTK version. Which window manager/desktop environment is being used here? Robert From debbugs-submit-bounces@debbugs.gnu.org Wed Oct 10 04:47:03 2018 Received: (at 32975) by debbugs.gnu.org; 10 Oct 2018 08:47:03 +0000 Received: from localhost ([127.0.0.1]:42889 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gAA91-0000zg-EI for submit@debbugs.gnu.org; Wed, 10 Oct 2018 04:47:03 -0400 Received: from mout.gmx.net ([212.227.17.20]:47923) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gAA8z-0000zC-F0 for 32975@debbugs.gnu.org; Wed, 10 Oct 2018 04:47:02 -0400 Received: from [192.168.1.101] ([213.162.73.75]) by mail.gmx.com (mrgmx101 [212.227.17.168]) with ESMTPSA (Nemesis) id 0MLj5z-1gAROI3DWd-000x60; Wed, 10 Oct 2018 10:46:53 +0200 Received: from [192.168.1.101] ([213.162.73.75]) by mail.gmx.com (mrgmx101 [212.227.17.168]) with ESMTPSA (Nemesis) id 0MLj5z-1gAROI3DWd-000x60; Wed, 10 Oct 2018 10:46:53 +0200 Message-ID: <5BBDBC75.2010605@gmx.at> Date: Wed, 10 Oct 2018 10:46:45 +0200 From: martin rudalics MIME-Version: 1.0 To: Robert Pluim , Eli Zaretskii Subject: Re: bug#32975: Emacs 26.1; GTK Warnings References: <1538936366.8755.2.camel@tjernlund.se> <83zhvpzihx.fsf@gnu.org> <1538976428.8755.6.camel@tjernlund.se> <837eiryx33.fsf@gnu.org> <1539108072.8755.7.camel@tjernlund.se> <83zhvnx9ua.fsf@gnu.org> <1539110025.8755.10.camel@tjernlund.se> <83va6bx7a3.fsf@gnu.org> <87d0si1b41.fsf@gmail.com> In-Reply-To: <87d0si1b41.fsf@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:0Hx/gaEEL3/ZBnV2jTgsZ+vIhyYI5qu3xSf6fcxQ+CgyNdzCR3K g6ZXUhCaJcPbA0NTDg0pW3sYLRWYJx93ymcjTwdPwAdXnUlYCx22OUPbxQXB9ronAkfcBkL auiLmBWjTQDwR7oqT5MTbj3JLlMFYOoVna3OFBoLnt0V/tKeKC9iLMBDudIj1cB5osiiBEI JH2Up/ZsSrc6LIEw9QtTg== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V01:K0:3CvVkNNjZvc=:UX1E/9rdQ3BDn4KfSIlQ88 9qp9fjL/h16m7YfFRZm1tBgPeRAf8rPKlds+RezPfgQxCHxfouePMIFxMZgKDr9BxsFsHr1GC dPBoAenCziRkNpoamdU4B0enbxaJEtDSa2kzyYmU088pzR0haUZNeVDFeyYJlUky7M+JL3BSj wUwXsE6Z3EPA6miE77mMODru++vQYn/5DPNIchsq1NxeP9e6QtJ5qh9sEz0Msrkf5/S1eR1YV rSfGH2TLo9wMAckg1DpgE3sZz8xwFP05cLDb5f7lrpKWXF/j5RwBIb7JhETe1gP2vCO8Q6/Ab 2SpveLtc3UVkMmWUHCSV4LmqnTzu/msyYa3FRiboeyz5XKkpFzr/FNCRLavGou1TEcuC+rcRk MZXkmiT6MJos9kiqwP0M3H5TphPWDVQ/XnYL6iS4OyPjxY357mblMz3uxfcDcTgSt1VALGOUI rKgGr5+laDJP+uzsSzFRZD/OKr9cy5AMFUyhpFstCSRXgNSkHynvqeC/9OlLCcDG5AhJwrqLE Yjsf/xJdbKhEagJ4Q6MP9L1VcXLyWhjo2xTFzYzYX2IhvrGE4odp8jaOS0g7XmiDwDjYn3/La JQvY1KGfnkYTjRWj6Vj5E15xFTqh8QHZmNovHME/4UPOaTmIVwq/cPOmaGcjxIIUMB3fQg6ZO bcdinP2O9Oo6mzpIuWntCzp/qRtn8wQGMYR36ngvLAYknHsWjFLkUAqW4Ri3J7sytumixHG6j MlWX3SZ2iRK41zV4LXcZD/SC99lvxUaMflp9uRCkvUIoFMp+veQYELOGoeZTkHtcWxHlHaAvJ inIKt4ycSZXLwf+XSycuLmffbhEnEtkd1DqmBoDJNJBZPwquaw= X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 32975 Cc: Tjernlund , 32975@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) > I can't reproduce this under Gnome or KDE, with the same GTK version. > Which window manager/desktop environment is being used here? I don't have that GTK version installed to test here. But note this question of the OP: > The left side scroll bar? By default, GTK builds show scroll bars on the right so either he has customized them already (which makes me wonder why he asked how to turn off scroll bars) or other strange things are going on. martin From debbugs-submit-bounces@debbugs.gnu.org Wed Oct 10 06:08:51 2018 Received: (at 32975) by debbugs.gnu.org; 10 Oct 2018 10:08:51 +0000 Received: from localhost ([127.0.0.1]:42919 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gABQB-0002xe-95 for submit@debbugs.gnu.org; Wed, 10 Oct 2018 06:08:51 -0400 Received: from mail-wr1-f52.google.com ([209.85.221.52]:40132) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gABQA-0002xR-7W for 32975@debbugs.gnu.org; Wed, 10 Oct 2018 06:08:50 -0400 Received: by mail-wr1-f52.google.com with SMTP id d2-v6so5034879wro.7 for <32975@debbugs.gnu.org>; Wed, 10 Oct 2018 03:08:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:mail-copies-to:gmane-reply-to-list :date:in-reply-to:message-id:mime-version; bh=wiVljzQ2AaKVEqsuINyvZ71NDyDWSCoVdTqrGETS3eg=; b=iy2JZYecPcq626bYLQfITm9O0rXVt+hJ0gNZLzqjGDiMGV25OP6fDmBr/si3H/1RQM U0zSKLviChiP/5keuGWnAUrKhb0qvtKRVpeEDoh+YjWQMaW6WBr/TZIPYs1ZpiyaRvwe xR5ydUcZeK5e9yAgZSvENYbNtD1/YMyUzKi641O7MacNhGtqOyVh9UTEf5KjQ3z4/FYU t45hLdOEPPZ+wCa00Tto5aJREiNXXs2cy9saZk5HaFATOyJq2B1bn8KiCZ3zjL2tHYDC EcBlJ7wtgf/XB+ZjPh42yH5uidMsltch2cRanMx4xuztcLoQAWQz/PunU0CNBOznlbmB uUrQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:mail-copies-to :gmane-reply-to-list:date:in-reply-to:message-id:mime-version; bh=wiVljzQ2AaKVEqsuINyvZ71NDyDWSCoVdTqrGETS3eg=; b=uQNHskOmKl8eZ601LDiVwt20B3OPHHEAYA7rb9bLGL7m87sNGDurlJvvKA9tDEOOgp VVblEs38NW6YONCpJo34aZFG2u6qk4VJXRTHo3IzrCrTNYnqvdyVyVwm6WopSfubMGHa atY7OJ4Jcod81z+o9mLDCIdrD/bPUpMkpmhtoRH6XqZ9dNsFweXTVCDQNWuwHs40i+Z/ gYVIy3m5XOcgRoSAtem24ImFl6aKaE9AdJAUxGE1H6sgumNDXX3/eNmbtk0zlO+lGEwq kfKHGA+HWLxNOEpEXjwPoUT7XeDZ1V/GYlbm4HQ0IPlDyn1gZMFLnuWzG6B9WvJDp3zW v2EQ== X-Gm-Message-State: ABuFfojvID4MMxGP4WEhYl10H1k0lQYzb+5yUgWRnLNOAKzHzCpABN4f LZNYA3Bd8Lq+GbmZzspHNuRELuqD X-Google-Smtp-Source: ACcGV62qRsDbLfecezQQ73dy/A7T+0eTbMzVeT7TJPOUNCcZqHOZXzz3FRKpTHk5ndLyu6o/o+E4tA== X-Received: by 2002:adf:fa04:: with SMTP id m4-v6mr21570871wrr.182.1539166123659; Wed, 10 Oct 2018 03:08:43 -0700 (PDT) Received: from rpluim-ubuntu (cust-west-pareq2-46-193-13-178.wb.wifirst.net. [46.193.13.178]) by smtp.gmail.com with ESMTPSA id y4-v6sm22342597wrd.25.2018.10.10.03.08.42 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 10 Oct 2018 03:08:42 -0700 (PDT) From: Robert Pluim To: martin rudalics Subject: Re: bug#32975: Emacs 26.1; GTK Warnings References: <1538936366.8755.2.camel@tjernlund.se> <83zhvpzihx.fsf@gnu.org> <1538976428.8755.6.camel@tjernlund.se> <837eiryx33.fsf@gnu.org> <1539108072.8755.7.camel@tjernlund.se> <83zhvnx9ua.fsf@gnu.org> <1539110025.8755.10.camel@tjernlund.se> <83va6bx7a3.fsf@gnu.org> <87d0si1b41.fsf@gmail.com> <5BBDBC75.2010605@gmx.at> X-Debbugs-No-Ack: yes Mail-Copies-To: never Gmane-Reply-To-List: yes Date: Wed, 10 Oct 2018 12:08:41 +0200 In-Reply-To: <5BBDBC75.2010605@gmx.at> (martin rudalics's message of "Wed, 10 Oct 2018 10:46:45 +0200") Message-ID: <875zya15cm.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 32975 Cc: Tjernlund , Eli Zaretskii , 32975@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) martin rudalics writes: >> I can't reproduce this under Gnome or KDE, with the same GTK version. >> Which window manager/desktop environment is being used here? > > I don't have that GTK version installed to test here. But note this > question of the OP: > >> The left side scroll bar? > > By default, GTK builds show scroll bars on the right so either he has > customized them already (which makes me wonder why he asked how to > turn off scroll bars) or other strange things are going on. Ah, the configure command has '--without-toolkit-scroll-bars', so the error is even more mystifying. I can't reproduce even with '--without-toolkit-scroll-bars'. This is all under X11 though, perhaps the OP is using Wayland? Cheers Robert From debbugs-submit-bounces@debbugs.gnu.org Wed Oct 10 13:44:20 2018 Received: (at 32975) by debbugs.gnu.org; 10 Oct 2018 17:44:20 +0000 Received: from localhost ([127.0.0.1]:43814 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gAIWy-00055O-4z for submit@debbugs.gnu.org; Wed, 10 Oct 2018 13:44:20 -0400 Received: from mailrelay4-1.pub.mailoutpod1-cph3.one.com ([46.30.210.185]:38146) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gAIWv-00055C-CA for 32975@debbugs.gnu.org; Wed, 10 Oct 2018 13:44:18 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tjernlund.se; s=20140924; h=content-transfer-encoding:mime-version:content-type:references:in-reply-to: date:cc:to:from:subject:message-id:from; bh=CKlvvGwgRwmclF44QAuIxLhWS8NNh3EvbdSog1SyRe8=; b=eSO0hLeaO7I3LzrSsuecqtYYzAlMApF7w+lH0tG6AgTFXqfUdLR2tFUpUd8HkRzA35UFQqhhfN3sO CwiUCRSoVddczUQkdpA2mJxQMWez6F9YA0x3HA2KjYKPx0Mrc2CrZ+jNNAKHMY9rh/NlTEoa8tvru3 TIN3lNLqtdjl6sm0= X-HalOne-Cookie: 84c3c1495f83e16581d4279aa8cb7b033b77091f X-HalOne-ID: 19e9dbbf-ccb4-11e8-86b7-d0431ea8bb10 Received: from [192.168.0.136] (unknown [178.174.231.82]) by mailrelay4.pub.mailoutpod1-cph3.one.com (Halon) with ESMTPSA id 19e9dbbf-ccb4-11e8-86b7-d0431ea8bb10; Wed, 10 Oct 2018 17:44:15 +0000 (UTC) Message-ID: <1539193453.8755.14.camel@tjernlund.se> Subject: Re: bug#32975: Emacs 26.1; GTK Warnings From: Tjernlund To: Robert Pluim , martin rudalics Date: Wed, 10 Oct 2018 19:44:13 +0200 In-Reply-To: <875zya15cm.fsf@gmail.com> References: <1538936366.8755.2.camel@tjernlund.se> <83zhvpzihx.fsf@gnu.org> <1538976428.8755.6.camel@tjernlund.se> <837eiryx33.fsf@gnu.org> <1539108072.8755.7.camel@tjernlund.se> <83zhvnx9ua.fsf@gnu.org> <1539110025.8755.10.camel@tjernlund.se> <83va6bx7a3.fsf@gnu.org> <87d0si1b41.fsf@gmail.com> <5BBDBC75.2010605@gmx.at> <875zya15cm.fsf@gmail.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.26.6 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 32975 Cc: Eli Zaretskii , 32975@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On Wed, 2018-10-10 at 12:08 +0200, Robert Pluim wrote: > martin rudalics writes: > > > > I can't reproduce this under Gnome or KDE, with the same GTK version. > > > Which window manager/desktop environment is being used here? This is under MATE > > > > I don't have that GTK version installed to test here. But note this > > question of the OP: > > > > > The left side scroll bar? > > > > By default, GTK builds show scroll bars on the right so either he has > > customized them already (which makes me wonder why he asked how to > > turn off scroll bars) or other strange things are going on. I have not, maybe Gentoo has ? > > Ah, the configure command has '--without-toolkit-scroll-bars', so the > error is even more mystifying. > > I can't reproduce even with '--without-toolkit-scroll-bars'. > > This is all under X11 though, perhaps the OP is using Wayland? X11 I now did some more test and found that (require 'ecb) is also needed. Here is my .emacs; ;(scroll-bar-mode 0) (setq inhibit-splash-screen t) (global-set-key "\C-cg" 'goto-line) (require 'ecb) ;; Color settings. (setq default-frame-alist '((background-color . "#333333") (foreground-color . "White") (cursor-color . "White"))) (setq initial-frame-alist default-frame-alist) (defun my-commit-mode() (ispell-change-dictionary "en") ;; Flyspell commit msgs (flyspell-mode) ;; Do not create svn-commit.tmp~ backup file (set (make-local-variable 'backup-inhibited) t)) (setq auto-mode-alist (cons '("/svn-commit\\.tmp\\'" . my-commit-mode) auto-mode-alist)) (setq auto-mode-alist (cons '("COMMIT_EDITMSG" . my-commit-mode) auto-mode-alist)) From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 11 02:28:10 2018 Received: (at 32975) by debbugs.gnu.org; 11 Oct 2018 06:28:10 +0000 Received: from localhost ([127.0.0.1]:44081 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gAUSA-0004bF-JC for submit@debbugs.gnu.org; Thu, 11 Oct 2018 02:28:10 -0400 Received: from mail-wr1-f53.google.com ([209.85.221.53]:36910) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gAUS8-0004az-4N for 32975@debbugs.gnu.org; Thu, 11 Oct 2018 02:28:08 -0400 Received: by mail-wr1-f53.google.com with SMTP id y11-v6so8231665wrd.4 for <32975@debbugs.gnu.org>; Wed, 10 Oct 2018 23:28:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:mail-copies-to:gmane-reply-to-list :date:in-reply-to:message-id:mime-version; bh=hKNIYqXudF3Ilosh7OtJsbWyzmvi1oyJtPGbcfPXzMQ=; b=n5bbdxSz5yut9c0AFtoLN5Ui89G1AWcqQS0qZnLwY0cFbp/edYk1Yx+efPNu2Z2EOU cl4k4bIG0yitkic7O7sVU8OKKlPSDLPj9jJtHNU1YokxaqTTgJA/QKhQCXCmnktku7X4 K8ZCyLxun2UUKzNH8zGJpQ9raDv/24DlvzfNRhEjs9BGd1VWuIcwE2WyMWXVypqIAXP5 W3UnvQmfeF8vyT5ETbuUg+xA8P9bwkC5D9rg2GvvCuAfW5rpjFK0xgFxSIBiaShF3Z7U BquTj8wRkaBaZYEW5kTiMc7uqtpcd6IicaTmQeDbtSKSc94yKmDAsWQzKlOfsWmwvuUF uSUQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:mail-copies-to :gmane-reply-to-list:date:in-reply-to:message-id:mime-version; bh=hKNIYqXudF3Ilosh7OtJsbWyzmvi1oyJtPGbcfPXzMQ=; b=K5L7q9jE2pe/7mWTI24f00pDk467sTxVtiYwVaoY9l5ZrJ3W6UNgnaCqH0GJ3fB5tx UtOWrcwTAYh+uIJ2I3EJokOmSRewTidonCvTZ2cIyVG+FEwJj2qzk4BU8L+8RpVM0NBs iQF792KxEzGVcpp1QwIMQENADRS2YLs1bVbuGI5jjmId81yvFY+u+Yh1fG+c0uZ1PtcP pqBP/FgkVbs3Fb08FBEVFnB21HdlmPdp9k9xi8313aeFHbbIYfLAZUuLd7pG3r2V1Fvc 7a77cZfqcs1swHZV8vU0jzeqLnf5WmllX4Lek/iwCDhwKPGYJc4aPkrz7pDfL40pSmZe 9BBQ== X-Gm-Message-State: ABuFfojoWNsLaz9ffLfcwfYhmNYh5kjhpnc+C24jH5CCyeHpEKqeKdoF zqNXpPR1aLeHagiBUyz/Kv6fCR4h X-Google-Smtp-Source: ACcGV63XhGKZsYRFFiajr/ppwMAOCPdxrBRf4yiwOD0/1ByK2qSIjL0Q3ORjJVeIhvu/xzGzfSzVLQ== X-Received: by 2002:a5d:4151:: with SMTP id c17-v6mr248278wrq.61.1539239281551; Wed, 10 Oct 2018 23:28:01 -0700 (PDT) Received: from rpluim-ubuntu (cust-west-pareq2-46-193-13-178.wb.wifirst.net. [46.193.13.178]) by smtp.gmail.com with ESMTPSA id o7-v6sm14649061wma.17.2018.10.10.23.28.00 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 10 Oct 2018 23:28:00 -0700 (PDT) From: Robert Pluim To: Tjernlund Subject: Re: bug#32975: Emacs 26.1; GTK Warnings References: <1538936366.8755.2.camel@tjernlund.se> <83zhvpzihx.fsf@gnu.org> <1538976428.8755.6.camel@tjernlund.se> <837eiryx33.fsf@gnu.org> <1539108072.8755.7.camel@tjernlund.se> <83zhvnx9ua.fsf@gnu.org> <1539110025.8755.10.camel@tjernlund.se> <83va6bx7a3.fsf@gnu.org> <87d0si1b41.fsf@gmail.com> <5BBDBC75.2010605@gmx.at> <875zya15cm.fsf@gmail.com> <1539193453.8755.14.camel@tjernlund.se> X-Debbugs-No-Ack: yes Mail-Copies-To: never Gmane-Reply-To-List: yes Date: Thu, 11 Oct 2018 08:27:59 +0200 In-Reply-To: <1539193453.8755.14.camel@tjernlund.se> (tjernlund@tjernlund.se's message of "Wed, 10 Oct 2018 19:44:13 +0200") Message-ID: <871s8x0zgw.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 32975 Cc: martin rudalics , 32975@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Tjernlund writes: > X11 > > I now did some more test and found that (require 'ecb) is also needed. With that I can reproduce it. '--without-toolkit-scroll-bars' is required, which narrows down the potential source a lot. Robert From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 11 03:36:10 2018 Received: (at 32975) by debbugs.gnu.org; 11 Oct 2018 07:36:10 +0000 Received: from localhost ([127.0.0.1]:44105 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gAVVx-0006Kr-Na for submit@debbugs.gnu.org; Thu, 11 Oct 2018 03:36:09 -0400 Received: from mail-wr1-f65.google.com ([209.85.221.65]:38547) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gAVVt-0006KL-PV for 32975@debbugs.gnu.org; Thu, 11 Oct 2018 03:36:06 -0400 Received: by mail-wr1-f65.google.com with SMTP id a13-v6so8450766wrt.5 for <32975@debbugs.gnu.org>; Thu, 11 Oct 2018 00:36:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:mail-copies-to:gmane-reply-to-list :date:in-reply-to:message-id:mime-version:content-transfer-encoding; bh=3YtCvceO2bupVZjwemOHAt1b+SRnztTluLXDaCNTwsM=; b=hYHwXENRkMBCUdzeXXXrvP5L/TTRNFLU+n2ElQfF2GsX+ZJGdigIsIPxzJcDDbffS1 3FZlx6L7WpJoQC+WGa4ujhVMe+UHe9wnBlW5TleZDxPOA6k9GAVy6RShIYRyptBp7jeV IwHgHFHjoWdHdRo8hCxvShHOeyqwYL9Ifltqm2nQLJH3YGvswFUlL9CLsB4g7HpaI+in Su0lv9wTmxnZIZ6cxRjLurHxDZ/i4yH780VrBDSDZg8t8ewK7kdSEqiLQRsZnP+LWgsk Sir3dZoouJstn098RHk5RwLNAFRhs8iUwGGLBvqGM+vI290q24wMRXCKVjR2JUEz9hHN IBlQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:mail-copies-to :gmane-reply-to-list:date:in-reply-to:message-id:mime-version :content-transfer-encoding; bh=3YtCvceO2bupVZjwemOHAt1b+SRnztTluLXDaCNTwsM=; b=tfuTnG3YW3Aecx4wC6Qug5hMJefuldesfizsVX++ugqDuxdrja273dRNeqaU6UxkPp +aypDqv70j49KweMjfjX8shu7gANDDXWe3onB3a+iFXomzbwCgzCqzIox5II9VpiiTS8 IHxjbRHf/ykJF/4Ob2Ifg0BgLodzjXnM+IB/KazAlVFuhK6qxKlqCpHT3/tbk4bwitv8 zDkJdfQiVa8p1m15yWk0hiXcPCNHFIuu3sai7BttiPQtt4PnG+LiIlunyxXQAu4bzTK2 kZpMH1i2P0tRWLZ99icmTJR4/KZ32iI2u4u38AZu8PV+twRm+DCKpTWRAijJG2sPG2dI uG3w== X-Gm-Message-State: ABuFfojA0dvf/CLlC31wW8v2GspCGyLTOOF04J7bBdskewfeVhRAYocn k5Ahh+OTxTyCIMhK6Hw9KPA= X-Google-Smtp-Source: ACcGV60BT0CfZhmHxxQkUh0C8UB5Vqim0qKg6L/RIAnpVgBRF0OVNaLTle2QR93ZA3OHDGCqTA1HZQ== X-Received: by 2002:adf:f301:: with SMTP id i1-v6mr430699wro.161.1539243359761; Thu, 11 Oct 2018 00:35:59 -0700 (PDT) Received: from rpluim-ubuntu (cust-west-pareq2-46-193-13-178.wb.wifirst.net. [46.193.13.178]) by smtp.gmail.com with ESMTPSA id n15-v6sm15276282wrm.27.2018.10.11.00.35.58 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 11 Oct 2018 00:35:58 -0700 (PDT) From: Robert Pluim To: Tjernlund Subject: Re: bug#32975: Emacs 26.1; GTK Warnings References: <1538936366.8755.2.camel@tjernlund.se> <83zhvpzihx.fsf@gnu.org> <1538976428.8755.6.camel@tjernlund.se> <837eiryx33.fsf@gnu.org> <1539108072.8755.7.camel@tjernlund.se> <83zhvnx9ua.fsf@gnu.org> <1539110025.8755.10.camel@tjernlund.se> <83va6bx7a3.fsf@gnu.org> <87d0si1b41.fsf@gmail.com> <5BBDBC75.2010605@gmx.at> <875zya15cm.fsf@gmail.com> <1539193453.8755.14.camel@tjernlund.se> <871s8x0zgw.fsf@gmail.com> X-Debbugs-No-Ack: yes Mail-Copies-To: never Gmane-Reply-To-List: yes Date: Thu, 11 Oct 2018 09:35:57 +0200 In-Reply-To: <871s8x0zgw.fsf@gmail.com> (Robert Pluim's message of "Thu, 11 Oct 2018 08:27:59 +0200") Message-ID: <87tvltylya.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 32975 Cc: martin rudalics , Eli Zaretskii , 32975@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Robert Pluim writes: > Tjernlund writes: > >> X11 >> >> I now did some more test and found that (require 'ecb) is also needed. > > With that I can reproduce it. '--without-toolkit-scroll-bars' is > required, which narrows down the potential source a lot. > So I don=CA=BCt think we should be calling GTK functions on scrollbars that are not GTK widgets (I=CA=BCm stunned we've never seen this before). This fixes it for me. Martin? diff --git a/src/xfns.c b/src/xfns.c index 1381fee57e..4fad01a68e 100644 --- a/src/xfns.c +++ b/src/xfns.c @@ -1085,12 +1085,13 @@ x_set_background_color (struct frame *f, Lisp_Objec= t arg, Lisp_Object oldval) XSetWindowBackground (dpy, FRAME_X_WINDOW (f), bg); XSetForeground (dpy, x->cursor_gc, bg); =20 -#ifdef USE_GTK +#ifdef USE_TOOLKIT_SCROLL_BARS +# ifdef USE_GTK xg_set_background_color (f, bg); -#endif - -#ifndef USE_TOOLKIT_SCROLL_BARS /* Turns out to be annoying with - toolkit scroll bars. */ +# endif +#else +/* Turns out to be annoying with toolkit scroll bars, so only set the + background for non-toolkit. */ { Lisp_Object bar; for (bar =3D FRAME_SCROLL_BARS (f); From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 11 04:24:23 2018 Received: (at 32975) by debbugs.gnu.org; 11 Oct 2018 08:24:24 +0000 Received: from localhost ([127.0.0.1]:44148 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gAWGd-0007ZJ-NT for submit@debbugs.gnu.org; Thu, 11 Oct 2018 04:24:23 -0400 Received: from mout.gmx.net ([212.227.15.19]:42091) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gAWGc-0007Z6-23 for 32975@debbugs.gnu.org; Thu, 11 Oct 2018 04:24:22 -0400 Received: from [192.168.1.101] ([213.162.73.142]) by mail.gmx.com (mrgmx003 [212.227.17.190]) with ESMTPSA (Nemesis) id 0Ld1CS-1fSh3N3A6S-00iA13; Thu, 11 Oct 2018 10:24:13 +0200 Received: from [192.168.1.101] ([213.162.73.142]) by mail.gmx.com (mrgmx003 [212.227.17.190]) with ESMTPSA (Nemesis) id 0Ld1CS-1fSh3N3A6S-00iA13; Thu, 11 Oct 2018 10:24:13 +0200 Message-ID: <5BBF08A6.3050604@gmx.at> Date: Thu, 11 Oct 2018 10:24:06 +0200 From: martin rudalics MIME-Version: 1.0 To: Robert Pluim , Tjernlund Subject: Re: bug#32975: Emacs 26.1; GTK Warnings References: <1538936366.8755.2.camel@tjernlund.se> <83zhvpzihx.fsf@gnu.org> <1538976428.8755.6.camel@tjernlund.se> <837eiryx33.fsf@gnu.org> <1539108072.8755.7.camel@tjernlund.se> <83zhvnx9ua.fsf@gnu.org> <1539110025.8755.10.camel@tjernlund.se> <83va6bx7a3.fsf@gnu.org> <87d0si1b41.fsf@gmail.com> <5BBDBC75.2010605@gmx.at> <875zya15cm.fsf@gmail.com> <1539193453.8755.14.camel@tjernlund.se> <871s8x0zgw.fsf@gmail.com> <87tvltylya.fsf@gmail.com> In-Reply-To: <87tvltylya.fsf@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:1GOcGNAVu5V5vAosq/1rLvgiqlbn7mgbTxZ/O812Kn6phf9oiho BAJDw/OLis+pu+BJoiR//Vf49mwGYnOn/mYc35SPii/b9LP5lAvJ+dJ8U/3w0A1nJOh3iUA Idh8Ol+WlFzw6u4rdVpTDkgAnxbI36WgoKzV8VdgAoyk0BeyIBi/h/T60lCHv6zEjq0AcsM /i89n5Y93x4dtof8LTrmA== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V01:K0:dTDtvkuqKQs=:maxaUbF9PFuYbkFMgTB5bH RsT1GcTBt4dU2/aW19olx8wFJHoPTp6Aqd9ie9JxvZMi2JZlJkdhS0OITQQhj5TNTlcn1GKch n2jgDtyhdGEvGqMVK2kZXar330SOr571SnI6Tx0JLmiLMAW9Vzl53t1ihslxiN7xfxJX4co27 kM4cUT5018p1drPS0YFpASNb5IMBPOeijFJN9ES9ri0NwfywJqcmoFmtgZxR2OUZbrFMcdrAp tMAygFYKJVlu0Nm+u38k/DKkxU1yt8fOly5BzqgfujkskLQRVwE5Li6k/wP/OE4tzKJrTgaxq 13gWasLvdi9iYzAKGAvaW2mt6Kj7z18K8Oa44MvHuvciGw8H+eFt1+Qsx4hQ9guTMMBFS3jPV y9j7H/6+UQatLWzdxJlHXckFSGIQ4btRQoUfMxbEzFaiqFSXdheX/tz5fSdZ7atERhV6HoCdA Msv0hf+oKi8udODC6q6+hwVI7HAWz3t9wD1MjBWQXCgXg6I2JHntW0OhVWrR8vo0Mi+AkRznt yqkQAdeBVO5RvuR0s8Reh7UFz/x7+xfrBcKnaSIK7C1MEBtk/WK4L+fMbquWMp5VOcJY+ToPy FhXfRBpKzGoUqcQM/GV8LocSP9V0rnK7EstI7GsL10f6rXxmdLw3LDgMlpz+vXBew7KemPuA8 dyzjDsAkVsiNKkL75P+s7+t+1gQ+JZD6Awb/q5q0e7wTNVizu8wtFwu67R13tym7y0VAl94+0 Sr++o7Lo9mw7mkbCdVPrs5PrKqTcN2nfmOfjMCO7mJj0ShQMOdfyCPLxSRrRilxf9AhsbDisN tymCc1RTIGlAFv2by/Ynvj0ZF69HUBYBHBmrkPD+irkFuwVrfQ= X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 32975 Cc: Eli Zaretskii , 32975@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) > So I don=CA=BCt think we should be calling GTK functions on scrollbars= that > are not GTK widgets (I=CA=BCm stunned we've never seen this before). Setting the background color on a GTK build without GTK scroll bars seems pretty rare to me. In addition, one usually has to look at the console to see the warnings. > This > fixes it for me. Martin? Do we want to skip xg_set_widget_bg too? martin From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 11 04:33:34 2018 Received: (at 32975) by debbugs.gnu.org; 11 Oct 2018 08:33:34 +0000 Received: from localhost ([127.0.0.1]:44165 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gAWPW-0007oG-I5 for submit@debbugs.gnu.org; Thu, 11 Oct 2018 04:33:34 -0400 Received: from mail-wr1-f52.google.com ([209.85.221.52]:36392) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gAWPV-0007o3-30 for 32975@debbugs.gnu.org; Thu, 11 Oct 2018 04:33:33 -0400 Received: by mail-wr1-f52.google.com with SMTP id y16so8651956wrw.3 for <32975@debbugs.gnu.org>; Thu, 11 Oct 2018 01:33:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:mail-copies-to:gmane-reply-to-list :date:in-reply-to:message-id:mime-version:content-transfer-encoding; bh=Kh4fu/FM+9IfEmfVHgUaEIZKp7JHK87HmxNpwEA4cXs=; b=iQekExDgYngxZtBmFXTlQFyYzWXK1T/Yk0vM3rrRlAVFbCjFXJDvbA5ryF1uX2FxyK 0pCd879LaPvjnPdi/A5GOVfR+oQvsclZaOgdSEyFAqe7Ne9+7b8mL3pfjVd4YXxmvKDv FpchOU4nuh9LkOaDOPvUr0zmkPUf9/SgrAebFUbTagDp9S2E+XYjF+1E6iLdITOjUzMS IkUSEFfbszc9IjIfEUneyIsepxFx1d3PTYtxh+qFyCckRPKTqlyDq0MDTNA9bYJCJfAC HWz6ou6HNbycg7ClyAl4Y+oAxCMaQOFh6kvcB0IJ+WWUN5tsOk6Nn7wC8j+4d5uGUMD3 aCLg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:mail-copies-to :gmane-reply-to-list:date:in-reply-to:message-id:mime-version :content-transfer-encoding; bh=Kh4fu/FM+9IfEmfVHgUaEIZKp7JHK87HmxNpwEA4cXs=; b=ZygpWYn/2Fik4pE1CQ4HhUvvqi+JiIeTQcEba4UE40Snuc/akD0mN96O91TPH2Z+Le OroUbHaiYOjwmexZTzu/0s8KqT94mo22y4RjF/yMoijI8DNh/zkc2+5mwNCZ+/nR/RbH l7wivN/5r18ngDzOqrsxQUv69tHufc840JZHzWDSg9AC3eLsHzIxcJmoSt5CAvNolpRA DUFgviOatqWiHc0zpEG1NPgpH5b6R6A95R5u5MOpG8mmNBMbUHqHT2/e8VDqwMGrvzQM vO/DWCbuyN8is01lf913Xj2ksb8cW0MEkY0PTPRhzNSd1hmyBCDEeUEmC9pvP6yEo/Qw yETQ== X-Gm-Message-State: ABuFfoirMl0n5iRwC9/xS0VdowEy9wx7ozn/IkpcBCTc7htdN9F3/hN6 AGPypR1IXOgrzZMeJgicwskz7uO3 X-Google-Smtp-Source: ACcGV62YfSVC41UjOxAJ6vb1u9mFHUMJfDZQdkzy+wAMgMq9j36GOiUmMC0vROafK34fkPj8ZGQSKA== X-Received: by 2002:a5d:5002:: with SMTP id e2-v6mr658245wrt.210.1539246806997; Thu, 11 Oct 2018 01:33:26 -0700 (PDT) Received: from rpluim-ubuntu (cust-west-pareq2-46-193-13-178.wb.wifirst.net. [46.193.13.178]) by smtp.gmail.com with ESMTPSA id d16-v6sm15652580wrw.78.2018.10.11.01.33.25 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 11 Oct 2018 01:33:26 -0700 (PDT) From: Robert Pluim To: martin rudalics Subject: Re: bug#32975: Emacs 26.1; GTK Warnings References: <1538936366.8755.2.camel@tjernlund.se> <83zhvpzihx.fsf@gnu.org> <1538976428.8755.6.camel@tjernlund.se> <837eiryx33.fsf@gnu.org> <1539108072.8755.7.camel@tjernlund.se> <83zhvnx9ua.fsf@gnu.org> <1539110025.8755.10.camel@tjernlund.se> <83va6bx7a3.fsf@gnu.org> <87d0si1b41.fsf@gmail.com> <5BBDBC75.2010605@gmx.at> <875zya15cm.fsf@gmail.com> <1539193453.8755.14.camel@tjernlund.se> <871s8x0zgw.fsf@gmail.com> <87tvltylya.fsf@gmail.com> <5BBF08A6.3050604@gmx.at> X-Debbugs-No-Ack: yes Mail-Copies-To: never Gmane-Reply-To-List: yes Date: Thu, 11 Oct 2018 10:33:24 +0200 In-Reply-To: <5BBF08A6.3050604@gmx.at> (martin rudalics's message of "Thu, 11 Oct 2018 10:24:06 +0200") Message-ID: <87pnwgzxuz.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 32975 Cc: Tjernlund , 32975@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) martin rudalics writes: >> So I don=CA=BCt think we should be calling GTK functions on scrollbars t= hat >> are not GTK widgets (I=CA=BCm stunned we've never seen this before). > > Setting the background color on a GTK build without GTK scroll bars > seems pretty rare to me. In addition, one usually has to look at the > console to see the warnings. > >> This >> fixes it for me. Martin? > > Do we want to skip xg_set_widget_bg too? I can't see a code path where that would get called in the non-toolkit case, but the code is a twisty maze of similar functions. Robert From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 11 04:59:00 2018 Received: (at 32975) by debbugs.gnu.org; 11 Oct 2018 08:59:00 +0000 Received: from localhost ([127.0.0.1]:44180 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gAWo8-0008Sq-8U for submit@debbugs.gnu.org; Thu, 11 Oct 2018 04:59:00 -0400 Received: from mout.gmx.net ([212.227.15.15]:49355) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gAWo6-0008SV-2Q for 32975@debbugs.gnu.org; Thu, 11 Oct 2018 04:58:58 -0400 Received: from [192.168.1.101] ([213.162.73.142]) by mail.gmx.com (mrgmx003 [212.227.17.190]) with ESMTPSA (Nemesis) id 0M54L0-1fksoW2fPy-00zI9E; Thu, 11 Oct 2018 10:58:50 +0200 Received: from [192.168.1.101] ([213.162.73.142]) by mail.gmx.com (mrgmx003 [212.227.17.190]) with ESMTPSA (Nemesis) id 0M54L0-1fksoW2fPy-00zI9E; Thu, 11 Oct 2018 10:58:50 +0200 Message-ID: <5BBF10C4.4080008@gmx.at> Date: Thu, 11 Oct 2018 10:58:44 +0200 From: martin rudalics MIME-Version: 1.0 To: Robert Pluim Subject: Re: bug#32975: Emacs 26.1; GTK Warnings References: <1538936366.8755.2.camel@tjernlund.se> <83zhvpzihx.fsf@gnu.org> <1538976428.8755.6.camel@tjernlund.se> <837eiryx33.fsf@gnu.org> <1539108072.8755.7.camel@tjernlund.se> <83zhvnx9ua.fsf@gnu.org> <1539110025.8755.10.camel@tjernlund.se> <83va6bx7a3.fsf@gnu.org> <87d0si1b41.fsf@gmail.com> <5BBDBC75.2010605@gmx.at> <875zya15cm.fsf@gmail.com> <1539193453.8755.14.camel@tjernlund.se> <871s8x0zgw.fsf@gmail.com> <87tvltylya.fsf@gmail.com> <5BBF08A6.3050604@gmx.at> <87pnwgzxuz.fsf@gmail.com> In-Reply-To: <87pnwgzxuz.fsf@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:sB6P5BS9obe0eg55XAP3FH/ifRW/RpSoUeEVDeVYIOUd9U3njwr gq1AJr9t0jrJcnB4NhNMVJhBICM9syspGM9+x9bPgbxVDuZ1uqwTnBf2prGwYtxDpHR3RRd 0mp+D/0MLijBDS2wT1CZHtHNh6Thkc5VKEUEXHu/D5ThBqSSxRc37cs9jMLOHQXqaQXvTse aTq9AyyEPI4/Hz/iZnVEQ== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V01:K0:CRweYzcrYj4=:/15vZJEMNzBj7YuSRXrvUJ b8naPpkmEUrhC7CeNk35q/wRQIeh5u6hkY8fw0L/9GoCvQMY7HEk3ac4xP4Iy+y5zK4BK2mAU k18FsQ9Ds+v9rjhXW2v8Kqw7h2g90AW8DpZKD2nahoxWsAcROFGuwtmcvOHdPOBKd+t04pIP/ tuqyjQPAkEgVjoTpIhTghnB51qDBf8CQoBEEAEe/8EgKdjS9NSKI7d3wWWzSY/QGLkBDwzqoo 6meMItPltQG/fMpltRNr//4ouI6F1fqFvoxDbr31C5N1seroX5mMEuSdgK5jfjY7WEh5SaZnB hhX++HY3V0LzVKuY9ynP5GrGN0CIg9un7jo3MRugJ9y4QKu3pYYCp4gIN1blaDlwQ5HbTXf4T K3Dnwjz2zjUXCL8+Wx5gJlH3u3Id78VLFs6Su2NBvGJKADgd9+vJr/ctx+wiTjichqd+1Hdgz 6DVB2KT4OZqfP6VkFVdCHoapW08a+zepoDljLcifWCg98SDVxAS/MyED70DL25OtA0Z3IGjUc T+tCThqVZnS6OUIKFtyIQM51nnCuYjr9VpOhhIPIzo5tqV5JkcBrjTAnyN1/xEqbz5gDoj9yL R14LPqmIBKAdERU//IHL1mi0l1yTxfzGwyKW4jT7maSCAVTWw2Sx5YVlWYXiZaFUyXHHySWru 6vz8+qf0Q+MJjv+nDUtgo+XQfuUlIruhNgH4wT/iisIii4igIDvPyJW64INcuZkhuMBgDM+vx xa4yB7zxrlk1vVYfpvnzEtI48vMhsZiEAspkoehh0SV4EFNojr2M89W8G6joi07zNOzLTz5dG 8rUldILikOX86O/SzaR0J7VDpJx+VaUfmyS/rJgvInecDAjC/s= X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 32975 Cc: Tjernlund , 32975@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) >> Do we want to skip xg_set_widget_bg too? > > I can't see a code path where that would get called in the non-toolkit > case, but the code is a twisty maze of similar functions. Don't we want to fix toolkit (GTK) builds with non-toolkit scroll bars here? Or am I missing something? martin From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 11 05:22:41 2018 Received: (at 32975) by debbugs.gnu.org; 11 Oct 2018 09:22:41 +0000 Received: from localhost ([127.0.0.1]:44193 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gAXB3-0000cb-Kv for submit@debbugs.gnu.org; Thu, 11 Oct 2018 05:22:41 -0400 Received: from mail-wr1-f51.google.com ([209.85.221.51]:33296) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gAXB1-0000cO-Uf for 32975@debbugs.gnu.org; Thu, 11 Oct 2018 05:22:40 -0400 Received: by mail-wr1-f51.google.com with SMTP id e4-v6so8847674wrs.0 for <32975@debbugs.gnu.org>; Thu, 11 Oct 2018 02:22:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:mail-copies-to:gmane-reply-to-list :date:in-reply-to:message-id:mime-version:content-transfer-encoding; bh=wjLt8+CN/lsv1YlADeBraoT1wp+n8FqXh3k87cSDxrY=; b=JV7+AILgB7pefr8pJ53Vp981wO5RBDjflsatlMdqxWWUCjcNBzZKg8E1dXYnypIGfM IGIlSIcz01rXKWFqFPFyQVLFVZbcFc242H/BgKqI/rS/qGNGH9xCY+cG+xpQzGc2/onR A9s4/0nj5p/EAIOcG+shMZdl0gfWjosPyb+musl6kbYTemUngpfQv8XO+l7sdfw4cYLt CaqqPvcsR2INlRC+2hfxMdb5CRTMYnWMc4l0MEHjTS8iceaLCuwi6U5BoXAjiZG27LFI 473RwRBF0cJ9mom81vzKbC4BKmbhGTJdFsxyWON2ri2859DMCUXeMg6DV79/+wDFWxNe v2sw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:mail-copies-to :gmane-reply-to-list:date:in-reply-to:message-id:mime-version :content-transfer-encoding; bh=wjLt8+CN/lsv1YlADeBraoT1wp+n8FqXh3k87cSDxrY=; b=aKFZqcDq1itS3jNplHYhXFPPSkI5KrDAxRZPAoYOvminniZVu7aKvLPCtq2mXmwN8e 6adeGwkWuCZR3NxwYpYjDqmosyvYxJrqkwW/RdMKgGrn2jrmcKSWkUkVnYcQ1PebGa2/ 3cw+jAu97WGjuj9S2iBsZQhKyjSXp8cckYxc8HsUZXr2QJa6amH1mh9BSDfMAUNgQBzV ND5IC5heaNP/FkFIRgHSXITQmsPXTpWl9gcTla00s0JiHonz9lG07QV5v3UFUAAv7EYG TePkWgMfRyUpLD/3tyqtnNJMyxLxaoR1p2Q+h1b7x2OViv5XSbsIo1qatmaa9HuMQQYE VNRQ== X-Gm-Message-State: ABuFfohN4qEoQM5RuGzeZGOC+zZc77gfgZ9dd30TBHDYtsQ446MszxQc fF6ewLzO9MrFeKX/Ow2t5jHA3Bt0 X-Google-Smtp-Source: ACcGV60ApxP6xlGtDk3qGrgxSSvSEKHabXscXuyiw4NPs7kNfPllowLaLhbLM+HfFrEIxiw5H2qvTw== X-Received: by 2002:adf:f00d:: with SMTP id j13-v6mr736672wro.88.1539249753866; Thu, 11 Oct 2018 02:22:33 -0700 (PDT) Received: from rpluim-ubuntu (cust-west-pareq2-46-193-13-178.wb.wifirst.net. [46.193.13.178]) by smtp.gmail.com with ESMTPSA id u191-v6sm21373900wmd.31.2018.10.11.02.22.31 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 11 Oct 2018 02:22:31 -0700 (PDT) From: Robert Pluim To: martin rudalics Subject: Re: bug#32975: Emacs 26.1; GTK Warnings References: <1538936366.8755.2.camel@tjernlund.se> <83zhvpzihx.fsf@gnu.org> <1538976428.8755.6.camel@tjernlund.se> <837eiryx33.fsf@gnu.org> <1539108072.8755.7.camel@tjernlund.se> <83zhvnx9ua.fsf@gnu.org> <1539110025.8755.10.camel@tjernlund.se> <83va6bx7a3.fsf@gnu.org> <87d0si1b41.fsf@gmail.com> <5BBDBC75.2010605@gmx.at> <875zya15cm.fsf@gmail.com> <1539193453.8755.14.camel@tjernlund.se> <871s8x0zgw.fsf@gmail.com> <87tvltylya.fsf@gmail.com> <5BBF08A6.3050604@gmx.at> <87pnwgzxuz.fsf@gmail.com> <5BBF10C4.4080008@gmx.at> X-Debbugs-No-Ack: yes Mail-Copies-To: never Gmane-Reply-To-List: yes Date: Thu, 11 Oct 2018 11:22:30 +0200 In-Reply-To: <5BBF10C4.4080008@gmx.at> (martin rudalics's message of "Thu, 11 Oct 2018 10:58:44 +0200") Message-ID: <87lg74zvl5.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 32975 Cc: Tjernlund , 32975@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) martin rudalics writes: >>> Do we want to skip xg_set_widget_bg too? >> >> I can't see a code path where that would get called in the non-toolkit >> case, but the code is a twisty maze of similar functions. > > Don't we want to fix toolkit (GTK) builds with non-toolkit scroll bars > here? Or am I missing something? We do, but I only see xg_set_widget_bg getting called on scrollbar widgets when USE_TOOLKIT_SCROLL_BARS is set, in which case they're GTK widgets, so that=CA=BCs the right thing to do. Robert From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 11 05:33:11 2018 Received: (at 32975) by debbugs.gnu.org; 11 Oct 2018 09:33:11 +0000 Received: from localhost ([127.0.0.1]:44206 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gAXLD-0000tr-Gf for submit@debbugs.gnu.org; Thu, 11 Oct 2018 05:33:11 -0400 Received: from mout.gmx.net ([212.227.15.18]:60495) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gAXLC-0000te-44 for 32975@debbugs.gnu.org; Thu, 11 Oct 2018 05:33:10 -0400 Received: from [192.168.1.101] ([213.162.73.142]) by mail.gmx.com (mrgmx002 [212.227.17.190]) with ESMTPSA (Nemesis) id 0MaqeA-1gPRp631xK-00KNeT; Thu, 11 Oct 2018 11:33:02 +0200 Received: from [192.168.1.101] ([213.162.73.142]) by mail.gmx.com (mrgmx002 [212.227.17.190]) with ESMTPSA (Nemesis) id 0MaqeA-1gPRp631xK-00KNeT; Thu, 11 Oct 2018 11:33:02 +0200 Message-ID: <5BBF18C8.2040201@gmx.at> Date: Thu, 11 Oct 2018 11:32:56 +0200 From: martin rudalics MIME-Version: 1.0 To: Robert Pluim Subject: Re: bug#32975: Emacs 26.1; GTK Warnings References: <1538936366.8755.2.camel@tjernlund.se> <83zhvpzihx.fsf@gnu.org> <1538976428.8755.6.camel@tjernlund.se> <837eiryx33.fsf@gnu.org> <1539108072.8755.7.camel@tjernlund.se> <83zhvnx9ua.fsf@gnu.org> <1539110025.8755.10.camel@tjernlund.se> <83va6bx7a3.fsf@gnu.org> <87d0si1b41.fsf@gmail.com> <5BBDBC75.2010605@gmx.at> <875zya15cm.fsf@gmail.com> <1539193453.8755.14.camel@tjernlund.se> <871s8x0zgw.fsf@gmail.com> <87tvltylya.fsf@gmail.com> <5BBF08A6.3050604@gmx.at> <87pnwgzxuz.fsf@gmail.com> <5BBF10C4.4080008@gmx.at> <87lg74zvl5.fsf@gmail.com> In-Reply-To: <87lg74zvl5.fsf@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:VS9aeotJgQqJF4aW/NXdjWPPyhA1N5g4n+doM36oAjTB5w+aHUE f+Er8FmOY5l7IGc8XJLsla0e2XyZ8JRmUqOXk7/aXGGJb6O/TTma5rm/b1rfUWIIP0MiV5e apqUVJysNoEVmTD6y6JZynmCV6A+Dro0TuA8WLIN+ex49n88y64qxQJNU8EplRn+XckNT4O KEhzgEgaCsHU6vCCM1lnw== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V01:K0:uc6JzCxdykc=:XkeAATUiI1PCqkxN263pAM xjd368prCZukOWcLjzd/nAYrCK8Gj2RfszTX+kZG34kU81oHd+Zi86jcZ8m4OQszHMeRyMWLe 5NBBVN9ufa3VCtzH+Uz3k3+cIVoxTGfcK1QzLt1KFyPN6aI9U0C2kcQSYXqQxI567FZAwRl6y vi8l1N/yaGysHHuds6onVPpfPCliSbb9tlKFqoIGRlEDNDLq/JhY5rm5AA99lFsodMP5ORopc xQLQ5CZdWHTxZUWdTKZ2htw5JvAWXGkAyF+0WENactS4C6YMLsmD4Ui9Rgm/hWR+HDFOFEeDi AbvebvrWyY/1ofi4SguxcIoEY3XGoB0eu6X9iLAzKrJSA7ylzL5xg8oyhORVgL6Y0HimFVFXU /D/R3ROFS0W6trnD1cMRbFiPsXWYcfh49ac1A4Lo56rQQwjL8QppP4NYAHziXHObaou35Pyce saElCKg8zYqk3V6yFfKPmxKPO7SLyQuPLOs0MQSYNlhBJxEPnjeFAItCGuZnBHZekZ0zbDdsP gMwILRaOuE+/ZQLQ2i5sBBA6d2IFfaIRRd3LokOY/sVa4Dc6XUPXcqnXKEr9oPRr/ZbkX70Qd 5R1Bse5exjxABQjwpsOkbGJ6JrfqtxhMitUdkfZ71JX+T5hUUvc0xXHt+nPCO4QGvGTQ8+sBc aCT65XSrp4wNpLWPhbvi+DD1LWuJTLh62puTqJFAAbEa4uS9CtNf5K/yIaXYadoKLEtYO3GxT Dibpbb3m0GjGomJ2Z2VDuJDk03d8DC+lxojOvk2QzRsWYeAVtjKLysagloR8/kbA1521fgJEp dPHXMgNf6yh9JUjygzna3QriZ6WyYAyvj13TeJAGF9bhKQNf7s= X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 32975 Cc: Tjernlund , 32975@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) > We do, but I only see xg_set_widget_bg getting called on scrollbar > widgets when USE_TOOLKIT_SCROLL_BARS is set, in which case they're GTK= > widgets, so that=CA=BCs the right thing to do. I apologize for my stubbornness. xg_set_background_color (struct frame *f, unsigned long bg) has xg_set_widget_bg (f, FRAME_GTK_WIDGET (f), FRAME_BACKGROUND_PIXEL = (f)); which IIUC does not work on scrollbar widgets. martin From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 11 05:50:15 2018 Received: (at 32975) by debbugs.gnu.org; 11 Oct 2018 09:50:15 +0000 Received: from localhost ([127.0.0.1]:44212 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gAXbj-0001Gz-48 for submit@debbugs.gnu.org; Thu, 11 Oct 2018 05:50:15 -0400 Received: from mail-wm1-f45.google.com ([209.85.128.45]:50177) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gAXbg-0001Gn-Vz for 32975@debbugs.gnu.org; Thu, 11 Oct 2018 05:50:13 -0400 Received: by mail-wm1-f45.google.com with SMTP id i8-v6so8265146wmg.0 for <32975@debbugs.gnu.org>; Thu, 11 Oct 2018 02:50:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:mail-copies-to:gmane-reply-to-list :date:in-reply-to:message-id:mime-version:content-transfer-encoding; bh=oJ2fFOCNEqhi+fj4WVGFUd2lhvlWT7YOU2WIzLsf7j8=; b=Gi9mXdvzRzzWX95PjkkuO2F/4UYtMXD/pdKuMZnqW7tpySH+mBewoUHQ8EYM4Sn1Pf FLrNzwyD7RkPHYsFeLdkfKlB4G/DcVzjQ4ZnHfZKGTs2PH7/mp59HSXGepk2bF2r3mUV nP/xZUvPurEGbmjHVIwFq6sV95itJ6y/s2ugc6Q5SSI0ibhHU8itedOjQHIPEalvbgPV aN3uqAW7PW4siOf9BtNWdaPQ8krAcwkQHXGDGPz0xZs1lcZVM6xmmudHHntdxL5i35SD 9ZEYax8xcm0QQY9iBaOEfLsHo1hdeFZTW8MpMv/PRDcutBDYtaMS4EuhCiIAuB5gcYI7 zpGw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:mail-copies-to :gmane-reply-to-list:date:in-reply-to:message-id:mime-version :content-transfer-encoding; bh=oJ2fFOCNEqhi+fj4WVGFUd2lhvlWT7YOU2WIzLsf7j8=; b=FRU02VEZ5ddZdB1bl8POqFsUYiPAXDwRQk69FB6QGbudaqxlYUemVRtGAX1RjAG/oV PrqLU6n7wRurqPPHcxCPDCHizeljWjX/wQ+Pz4f0Ppx3OCqRW7qaUlBqUIWhJJDw9OEi T3++Zec/CvKGpVS8elRfl2N82OD/1GplrlDbv1O4QxiFU+uloLsmen1bKnFaVO6Oc6jn zCNbVspuo/rZKAcdKxXMrvdfY5X+RT2Vt8q1Ptn3fHMxmOjFI3d+vTwsROXQc0Ua51WH ZJv7KFA3ljgrZO7GKw4LK2hZd7aAMzD0hhbbiwfO+FmCGDKXS/2pgJWyWMmqOXf97FPV 8mZw== X-Gm-Message-State: ABuFfojxAnkttjSNGMJpCaQwQY78fUi6LdxPZG1jGZ6h8Lb6yjHoHZOF zQgRJ0AtJJY2XumkuPorkXD2csoJ X-Google-Smtp-Source: ACcGV604dpd5AeRx/o0EAe/Zz1EAIwAE4N9EqWA/CRRjnAs42WvBF6/orsqWvE2cFgyzMpU4opHWFg== X-Received: by 2002:a1c:4889:: with SMTP id v131-v6mr1040503wma.87.1539251406645; Thu, 11 Oct 2018 02:50:06 -0700 (PDT) Received: from rpluim-ubuntu (cust-west-pareq2-46-193-13-178.wb.wifirst.net. [46.193.13.178]) by smtp.gmail.com with ESMTPSA id g15-v6sm19605284wrr.36.2018.10.11.02.50.05 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 11 Oct 2018 02:50:05 -0700 (PDT) From: Robert Pluim To: martin rudalics Subject: Re: bug#32975: Emacs 26.1; GTK Warnings References: <1538936366.8755.2.camel@tjernlund.se> <83zhvpzihx.fsf@gnu.org> <1538976428.8755.6.camel@tjernlund.se> <837eiryx33.fsf@gnu.org> <1539108072.8755.7.camel@tjernlund.se> <83zhvnx9ua.fsf@gnu.org> <1539110025.8755.10.camel@tjernlund.se> <83va6bx7a3.fsf@gnu.org> <87d0si1b41.fsf@gmail.com> <5BBDBC75.2010605@gmx.at> <875zya15cm.fsf@gmail.com> <1539193453.8755.14.camel@tjernlund.se> <871s8x0zgw.fsf@gmail.com> <87tvltylya.fsf@gmail.com> <5BBF08A6.3050604@gmx.at> <87pnwgzxuz.fsf@gmail.com> <5BBF10C4.4080008@gmx.at> <87lg74zvl5.fsf@gmail.com> <5BBF18C8.2040201@gmx.at> X-Debbugs-No-Ack: yes Mail-Copies-To: never Gmane-Reply-To-List: yes Date: Thu, 11 Oct 2018 11:50:04 +0200 In-Reply-To: <5BBF18C8.2040201@gmx.at> (martin rudalics's message of "Thu, 11 Oct 2018 11:32:56 +0200") Message-ID: <87k1mo3j8z.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 32975 Cc: Tjernlund , 32975@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) martin rudalics writes: >> We do, but I only see xg_set_widget_bg getting called on scrollbar >> widgets when USE_TOOLKIT_SCROLL_BARS is set, in which case they're GTK >> widgets, so that=CA=BCs the right thing to do. > > I apologize for my stubbornness. > No apology needed > xg_set_background_color (struct frame *f, unsigned long bg) > > has > > xg_set_widget_bg (f, FRAME_GTK_WIDGET (f), FRAME_BACKGROUND_PIXEL (= f)); > > which IIUC does not work on scrollbar widgets. There is only one call to xg_set_background_color, from xfns.c, which looks like this with my patch applied: #ifdef USE_TOOLKIT_SCROLL_BARS # ifdef USE_GTK xg_set_background_color (f, bg); # endif #else So it will only ever happen when the scrollbars are GTK widgets. Robert From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 11 08:02:45 2018 Received: (at 32975) by debbugs.gnu.org; 11 Oct 2018 12:02:45 +0000 Received: from localhost ([127.0.0.1]:44243 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gAZfx-0006YF-8F for submit@debbugs.gnu.org; Thu, 11 Oct 2018 08:02:45 -0400 Received: from mout.gmx.net ([212.227.15.15]:51461) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gAZfv-0006Y1-K2 for 32975@debbugs.gnu.org; Thu, 11 Oct 2018 08:02:44 -0400 Received: from [192.168.1.101] ([213.162.73.142]) by mail.gmx.com (mrgmx001 [212.227.17.190]) with ESMTPSA (Nemesis) id 0LsUDg-1fi8fL1LAm-0122Cv; Thu, 11 Oct 2018 14:02:35 +0200 Received: from [192.168.1.101] ([213.162.73.142]) by mail.gmx.com (mrgmx001 [212.227.17.190]) with ESMTPSA (Nemesis) id 0LsUDg-1fi8fL1LAm-0122Cv; Thu, 11 Oct 2018 14:02:35 +0200 Message-ID: <5BBF3BD1.4080204@gmx.at> Date: Thu, 11 Oct 2018 14:02:25 +0200 From: martin rudalics MIME-Version: 1.0 To: Robert Pluim Subject: Re: bug#32975: Emacs 26.1; GTK Warnings References: <1538936366.8755.2.camel@tjernlund.se> <83zhvpzihx.fsf@gnu.org> <1538976428.8755.6.camel@tjernlund.se> <837eiryx33.fsf@gnu.org> <1539108072.8755.7.camel@tjernlund.se> <83zhvnx9ua.fsf@gnu.org> <1539110025.8755.10.camel@tjernlund.se> <83va6bx7a3.fsf@gnu.org> <87d0si1b41.fsf@gmail.com> <5BBDBC75.2010605@gmx.at> <875zya15cm.fsf@gmail.com> <1539193453.8755.14.camel@tjernlund.se> <871s8x0zgw.fsf@gmail.com> <87tvltylya.fsf@gmail.com> <5BBF08A6.3050604@gmx.at> <87pnwgzxuz.fsf@gmail.com> <5BBF10C4.4080008@gmx.at> <87lg74zvl5.fsf@gmail.com> <5BBF18C8.2040201@gmx.at> <87k1mo3j8z.fsf@gmail.com> In-Reply-To: <87k1mo3j8z.fsf@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:Xyj5yJmw6M/2qOlQv+Np25O6fmEyZMFOES+pO6ggPPUI00Xognp end4x828gVeckuqHUGfPQI6jtBSeZihD1zR/sDSF5cDK0Kt96j8zxV9c2dI4utpH9If37Cb LVm++CF6AhDdKPiAE6zIOJ77ff9qo4uW2lpDnB4r+cCSFlZ59/W2SHzOLQn5VpiytJUjryT 7bjmxQWhHnitc4XXRcNVA== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V01:K0:b38VDIupNSw=:Xt9oRlN62UQ0Z0zajuvuEU aKzMbf8Jhvxpr0HAqHWfxEWEj9YAN+feNqcGSXqp+dISl9coOmUIjMb/miG/wuEuk1lbvUJtC jD+E79glbbstriQX8EKG1P5+9zgRVog0ZTqnMZOJK2WEGG00Ny/9GmJeNpNQ3NQGTNN567SwO 3pjsU8N2JVMxPfbIeBShZj4IntdgaB1HPxPBEUJDJgP3TyGJYQ12ZhqgXe0mY1fn7sz7dHa/W fq5jPg97mGCbU9peqMHZTkgxcKzioeR6Pr2n5GLk/uD/saSKak1ysexhxIxdd1Tu0Uqza3bXc Qj1VfmrRmFT7SBFy3TwHTRg7XkxsMgpRjQADmqYTMnpd35W7eD/5X06tXYY2F0BzsUCo6xWWL VLNexDB4mQUTJYUjhOClQ1vN7IBwOXPRtwDtYS4U+mhahg/AVVfb3UmlCXBrongbA2VFbCZtS EFOFk+ms9EvwSO1Sic4acP3B0FgRKIv12N0jlOritPXZ2RQWRy6PpXzftMRr8yGM7OuKc8fxr kyzv/Pna6EOXBBo7R+OsnrpMczWR6fgE0BABTBfrk1E1xWHcvb6txHSsTKOMRPl7YotG5C3nM kEYGtwZNigcXfCNi/BxG8NjbOuTyHakgRg73Umo5eWuIRWh9CdAt+YX8h+GjS5++2OGLw7sjE yuQ+WHOs4hLBUhomkYlFJLJVQ8YrmXGnX1ZKDYgmjRqqMbIA50PXyAlOR9vDCQ3U3evc3XVPp eAuiWvmN1YxdJY5uaJJIgRNKUOv4d3ldccG7+VT03WnP65q7H1V6Bf1Ls7I1hJo4+Bdx0+YFH TVmdk/x1nSEp0w1ECR6++w95U79LbWoq+ceW3Q3i0kQ+pvRi8Y= X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 32975 Cc: Tjernlund , 32975@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) > There is only one call to xg_set_background_color, from xfns.c, which looks > like this with my patch applied: > > #ifdef USE_TOOLKIT_SCROLL_BARS > # ifdef USE_GTK > xg_set_background_color (f, bg); > # endif > #else > > So it will only ever happen when the scrollbars are GTK widgets. But this effectively throws out the baby - painting the background of the frame widget proper via xg_set_widget_bg (f, FRAME_GTK_WIDGET (f), FRAME_BACKGROUND_PIXEL (f)); with the bathwater - painting the background of non-existent scroll bar widgets via xg_set_widget_bg (f, webox, FRAME_BACKGROUND_PIXEL (f)); for GTK builds with native Emacs scroll bars. Maybe on X the XSetWindowBackground (dpy, FRAME_X_WINDOW (f), bg); in x_set_background_color would take care of that. But are we sure? martin From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 11 08:26:51 2018 Received: (at 32975) by debbugs.gnu.org; 11 Oct 2018 12:26:51 +0000 Received: from localhost ([127.0.0.1]:44251 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gAa3H-00075s-7A for submit@debbugs.gnu.org; Thu, 11 Oct 2018 08:26:51 -0400 Received: from mail-wm1-f53.google.com ([209.85.128.53]:35951) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gAa3F-00075f-Ht for 32975@debbugs.gnu.org; Thu, 11 Oct 2018 08:26:50 -0400 Received: by mail-wm1-f53.google.com with SMTP id a8-v6so9179730wmf.1 for <32975@debbugs.gnu.org>; Thu, 11 Oct 2018 05:26:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:mail-copies-to:gmane-reply-to-list :date:in-reply-to:message-id:mime-version:content-transfer-encoding; bh=QFOzRK7H4GDjj4t9WDz2Lg6fEPZlSQn2BIiBG/++4NA=; b=qW77ur2j8oX574UFRc0cD8xTrM3tUocM32noYMYF7e1rNgFyZGybA/VcfP/7tvqbOF vF1BTZP26PejT/CkLQluLIfKSrSBRsfl4JjZnkJypBbDUd274Z6qvORIzfMY2Q3hAf4y uWLTgsM3Z0VPAj+1sk7IRJ0JfFl01yMn7Fi/qBCkPQBgzk2HiH264syq0ozkFO3kPIcJ zYkrGWTpWzhr9Q3tpUN8nDcdjkvjVb8Z7zCN6H3fBTzHZtQJoPSBbBCHLlaqGePhMmIG Y9ru8azQx26wQGqlruU5Ag0SN2aqMYvp4XchD8aAKIWKR4gt9wwxecPnfR1U7jdWD+q1 l/UQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:mail-copies-to :gmane-reply-to-list:date:in-reply-to:message-id:mime-version :content-transfer-encoding; bh=QFOzRK7H4GDjj4t9WDz2Lg6fEPZlSQn2BIiBG/++4NA=; b=gKwHm5UEZYTJ5oAadI8pkWWj33EYHhX+1VCM5kMUk+HtEoesPQDSzDG/pogr91D/WT 78t86EO0wbLNWAFtyzbcQYV4GccY/GXJthWagBkdX9kpjLC8zUIxzojkKTc6QR/5zrUE ywkRC2eeWgJSzwDBHaWSxIa5aG5HmY/5dugU7CJQ7mmlayzghOmWV54qMDf4ctubCkP/ DMIetsrw26F4xuueqhw8xJWyJFUxG7niZphQUqPu0ZW9rr+si0aHtiWuzz22SGgiYN7X bN3YiWl6EgbCKwVQ3bmAYnH4q1stZOiFoMgi4spUF3FEZlzmqkuf6nrjdKiH1M/tQMbB K53w== X-Gm-Message-State: ABuFfojzy7K7iTK4o2ga79Ua/j9fIyzoGM/euj6lFamgh919ll7Wa7m4 h9LdTir7RYmkNY7z/DtBRuyPvr60 X-Google-Smtp-Source: ACcGV62kxVboLChbG1th0a5TCnba7z3OBEgCQySh2CUeUsFGFX5HwTZrSHMYvDvNwq4W1FY88TNPBg== X-Received: by 2002:a1c:a9ce:: with SMTP id s197-v6mr1492420wme.82.1539260803135; Thu, 11 Oct 2018 05:26:43 -0700 (PDT) Received: from rpluim-ubuntu (cust-west-pareq2-46-193-13-178.wb.wifirst.net. [46.193.13.178]) by smtp.gmail.com with ESMTPSA id 78-v6sm7359965wma.38.2018.10.11.05.26.41 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 11 Oct 2018 05:26:42 -0700 (PDT) From: Robert Pluim To: martin rudalics Subject: Re: bug#32975: Emacs 26.1; GTK Warnings References: <1538936366.8755.2.camel@tjernlund.se> <83zhvpzihx.fsf@gnu.org> <1538976428.8755.6.camel@tjernlund.se> <837eiryx33.fsf@gnu.org> <1539108072.8755.7.camel@tjernlund.se> <83zhvnx9ua.fsf@gnu.org> <1539110025.8755.10.camel@tjernlund.se> <83va6bx7a3.fsf@gnu.org> <87d0si1b41.fsf@gmail.com> <5BBDBC75.2010605@gmx.at> <875zya15cm.fsf@gmail.com> <1539193453.8755.14.camel@tjernlund.se> <871s8x0zgw.fsf@gmail.com> <87tvltylya.fsf@gmail.com> <5BBF08A6.3050604@gmx.at> <87pnwgzxuz.fsf@gmail.com> <5BBF10C4.4080008@gmx.at> <87lg74zvl5.fsf@gmail.com> <5BBF18C8.2040201@gmx.at> <87k1mo3j8z.fsf@gmail.com> <5BBF3BD1.4080204@gmx.at> X-Debbugs-No-Ack: yes Mail-Copies-To: never Gmane-Reply-To-List: yes Date: Thu, 11 Oct 2018 14:26:38 +0200 In-Reply-To: <5BBF3BD1.4080204@gmx.at> (martin rudalics's message of "Thu, 11 Oct 2018 14:02:25 +0200") Message-ID: <87efcw3c01.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 32975 Cc: Tjernlund , 32975@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) martin rudalics writes: >> There is only one call to xg_set_background_color, from xfns.c, which lo= oks >> like this with my patch applied: >> >> #ifdef USE_TOOLKIT_SCROLL_BARS >> # ifdef USE_GTK >> xg_set_background_color (f, bg); >> # endif >> #else >> >> So it will only ever happen when the scrollbars are GTK widgets. > > But this effectively throws out the baby - painting the background of > the frame widget proper via > > xg_set_widget_bg (f, FRAME_GTK_WIDGET (f), FRAME_BACKGROUND_PIXEL (= f)); > > with the bathwater - painting the background of non-existent scroll > bar widgets via > > xg_set_widget_bg (f, webox, FRAME_BACKGROUND_PIXEL (f)); > > for GTK builds with native Emacs scroll bars. I=CA=BCm being particularly dense today: you=CA=BCre right. How about movin= g the check for USE_TOOLKIT_SCROLL_BARS down into xg_set_background_color like so (which I think was your original suggestion): diff --git i/src/gtkutil.c w/src/gtkutil.c index 6b72671da9..5879ab683e 100644 --- i/src/gtkutil.c +++ w/src/gtkutil.c @@ -1498,6 +1498,7 @@ xg_set_background_color (struct frame *f, unsigned lo= ng bg) block_input (); xg_set_widget_bg (f, FRAME_GTK_WIDGET (f), FRAME_BACKGROUND_PIXEL (f= )); =20 +#ifdef USE_TOOLKIT_SCROLL_BARS Lisp_Object bar; for (bar =3D FRAME_SCROLL_BARS (f); !NILP (bar); @@ -1508,7 +1509,7 @@ xg_set_background_color (struct frame *f, unsigned lo= ng bg) GtkWidget *webox =3D gtk_widget_get_parent (scrollbar); xg_set_widget_bg (f, webox, FRAME_BACKGROUND_PIXEL (f)); } - +#endif unblock_input (); } } From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 11 09:51:48 2018 Received: (at 32975) by debbugs.gnu.org; 11 Oct 2018 13:51:48 +0000 Received: from localhost ([127.0.0.1]:44294 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gAbNU-0000eW-4u for submit@debbugs.gnu.org; Thu, 11 Oct 2018 09:51:48 -0400 Received: from mout.gmx.net ([212.227.17.20]:45413) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gAbNS-0000eI-4q for 32975@debbugs.gnu.org; Thu, 11 Oct 2018 09:51:46 -0400 Received: from [192.168.1.101] ([213.162.73.142]) by mail.gmx.com (mrgmx102 [212.227.17.168]) with ESMTPSA (Nemesis) id 0Mam2Q-1gPOP82JXG-00KTKH; Thu, 11 Oct 2018 15:51:32 +0200 Received: from [192.168.1.101] ([213.162.73.142]) by mail.gmx.com (mrgmx102 [212.227.17.168]) with ESMTPSA (Nemesis) id 0Mam2Q-1gPOP82JXG-00KTKH; Thu, 11 Oct 2018 15:51:32 +0200 Message-ID: <5BBF555B.3020003@gmx.at> Date: Thu, 11 Oct 2018 15:51:23 +0200 From: martin rudalics MIME-Version: 1.0 To: Robert Pluim Subject: Re: bug#32975: Emacs 26.1; GTK Warnings References: <1538936366.8755.2.camel@tjernlund.se> <83zhvpzihx.fsf@gnu.org> <1538976428.8755.6.camel@tjernlund.se> <837eiryx33.fsf@gnu.org> <1539108072.8755.7.camel@tjernlund.se> <83zhvnx9ua.fsf@gnu.org> <1539110025.8755.10.camel@tjernlund.se> <83va6bx7a3.fsf@gnu.org> <87d0si1b41.fsf@gmail.com> <5BBDBC75.2010605@gmx.at> <875zya15cm.fsf@gmail.com> <1539193453.8755.14.camel@tjernlund.se> <871s8x0zgw.fsf@gmail.com> <87tvltylya.fsf@gmail.com> <5BBF08A6.3050604@gmx.at> <87pnwgzxuz.fsf@gmail.com> <5BBF10C4.4080008@gmx.at> <87lg74zvl5.fsf@gmail.com> <5BBF18C8.2040201@gmx.at> <87k1mo3j8z.fsf@gmail.com> <5BBF3BD1.4080204@gmx.at> <87efcw3c01.fsf@gmail.com> In-Reply-To: <87efcw3c01.fsf@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:6OVU+UoXz3qsmWbo1LF9FcZ8lmHri18KxRlJDrkRPwDnzwM6Q2P 9AVBC2JiSWRnEFydRvz2JffzUxew2Os7DRJaB1QMqo5gIl+hM2LnObrdORhKs0m0g1LXcmG EkYrVmOScTneBTQlYpqEc0uPfV2OJFhkRbdF7ZpnPOKjK6KUCQIa5KuF0lLwJgJJrlia2z8 Eg+qf1dXCkKEm9UC5X0kQ== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V01:K0:1A0nr7Omy+o=:iPs/BbTIEg7ctvm+uNk/Zx 08jdwiS/bwdHfrQV5Uln8HOFuu006t8R56PzPZ85nVw+1VZ8jm/lP7uyjJX7h2mzAv7v+5lbM R2x4LIiEa6/ghPaoPv6vL/uvvPSS4+7XwhGvXhseh3vJSSttTRwKtYAmvEDF9PwYaYv5EmGKY /UOQGjezWOoHS+hHW35jnHvkwBoq7BWwSd7aWF/JgLqxQgh5qX3esOU54IMCg4oBpSdp6Ek4t YoKwSlgc92EBvXM6jfqVzxLdhrdBxHZriwTfQwxHwdbWGeAGdsJetPIAijKDECYOpYUQKtxxA cDyWdq220EcEoX9zLskpMWC/1HU1DKEPeKV59PwXRwAahe0cCGiCWa5fI6Z/d7vn+rmdtHKhE NEcgMUSmmSjscRWzqxp2Iox36lN+R9Jj1Bo5R34h+zvclnaBfdFjWv3qW5OwdjOisTZLqFkQE GLnLuAkSgV9XiKTHkuLUCvu9ULCKVGNkYxaLOrybhNtFfrd0OnbvAUXta2LF4hA22vZcCC4ra HdrXFs8mc11pBDbFciNsYSx/pra4/+UGIBvOhX0zTrIiJCGEF+fmMU4y1CW0L+lA8i0A6tife pr3oa4NwL1WWSD8EYH2eMiDsOs9NgCRzvuIB2rRneYEzHCRtQYkgTSsU6utvawwHAJFYcxwmI VP+Jl2MeAMJ2sgb8pFfF6GyuEDUfxa2MK4e0kE65JkdwCNn6Wi7S1aD/ubejurL2HCac1NLzk nmFeaD8J9Jramsj6JBbNwyTmEPqFWzjGB1C8UOQ5eafJUDg+EctY23QQYOlRnVNQNbM2pyW1F 2HMqkJ6lq0GP+NqrpaNFbZiGXfZ6zA/lk/ZLLedw146KUh8AFU= X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 32975 Cc: Tjernlund , 32975@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) > How about moving the > check for USE_TOOLKIT_SCROLL_BARS down into xg_set_background_color > like so (which I think was your original suggestion): That's what I would do for Emacs 26.2. Thanks, martin From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 11 09:58:44 2018 Received: (at 32975) by debbugs.gnu.org; 11 Oct 2018 13:58:44 +0000 Received: from localhost ([127.0.0.1]:45324 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gAbUC-00013g-6C for submit@debbugs.gnu.org; Thu, 11 Oct 2018 09:58:44 -0400 Received: from eggs.gnu.org ([208.118.235.92]:55286) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gAbUA-00013T-84 for 32975@debbugs.gnu.org; Thu, 11 Oct 2018 09:58:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gAbU0-0004Gd-9Z for 32975@debbugs.gnu.org; Thu, 11 Oct 2018 09:58:36 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:57689) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gAbTy-0004Fz-L8; Thu, 11 Oct 2018 09:58:32 -0400 Received: from [176.228.60.248] (port=2341 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1gAbTx-0004Jg-D0; Thu, 11 Oct 2018 09:58:30 -0400 Date: Thu, 11 Oct 2018 16:58:30 +0300 Message-Id: <838t34y48p.fsf@gnu.org> From: Eli Zaretskii To: Robert Pluim , rudalics@gmx.at In-reply-to: <87tvltylya.fsf@gmail.com> (message from Robert Pluim on Thu, 11 Oct 2018 09:35:57 +0200) Subject: Re: bug#32975: Emacs 26.1; GTK Warnings References: <1538936366.8755.2.camel@tjernlund.se> <83zhvpzihx.fsf@gnu.org> <1538976428.8755.6.camel@tjernlund.se> <837eiryx33.fsf@gnu.org> <1539108072.8755.7.camel@tjernlund.se> <83zhvnx9ua.fsf@gnu.org> <1539110025.8755.10.camel@tjernlund.se> <83va6bx7a3.fsf@gnu.org> <87d0si1b41.fsf@gmail.com> <5BBDBC75.2010605@gmx.at> <875zya15cm.fsf@gmail.com> <1539193453.8755.14.camel@tjernlund.se> <871s8x0zgw.fsf@gmail.com> <87tvltylya.fsf@gmail.com> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 32975 Cc: tjernlund@tjernlund.se, 32975@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.0 (------) > From: Robert Pluim > Cc: 32975@debbugs.gnu.org, martin rudalics , > Eli Zaretskii > Date: Thu, 11 Oct 2018 09:35:57 +0200 > > So I donʼt think we should be calling GTK functions on scrollbars that > are not GTK widgets Sounds reasonable. I think whatever the changes you eventually come up with, they should be pushed to the emacs-26 branch. Do you (both) agree? Thanks. From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 11 10:06:53 2018 Received: (at 32975) by debbugs.gnu.org; 11 Oct 2018 14:06:53 +0000 Received: from localhost ([127.0.0.1]:45332 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gAbc5-0001Gg-9r for submit@debbugs.gnu.org; Thu, 11 Oct 2018 10:06:53 -0400 Received: from mail-wr1-f45.google.com ([209.85.221.45]:34015) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gAbc3-0001GT-Fq for 32975@debbugs.gnu.org; Thu, 11 Oct 2018 10:06:51 -0400 Received: by mail-wr1-f45.google.com with SMTP id l6-v6so9437642wrt.1 for <32975@debbugs.gnu.org>; Thu, 11 Oct 2018 07:06:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:mail-copies-to:gmane-reply-to-list :date:in-reply-to:message-id:mime-version:content-transfer-encoding; bh=Kf7Nh4KjXs7kMQ1pHfEk5ylaF/FlKwMEeXYcK0i5UB0=; b=YAb0j0aXVyasLvk/03k8r7lH52BcvkptygaSxcna7x3w+5NecEz2dI7E013k/7FE5Z chpO1uZa977ZCVEuHbeBoVLEsj1itkZIpPsbcS2Xi3Rrq8GjUtXN0po6R23F+v2A+KqZ 76AFnSG5kzcxU6TU1+1+8FsBi7ybhJiYfo+yTsFHqkKvjTMDtFOn4/r+Cr6A+hnz/+ye OaaOSLexCeEtfgXWGSK2Hb6kSFz8t/kGlf1MT+lz/JM8z4j/ioRywgYF32I59o5XkAPE 6fHZf/djTzdhT6yC9RTQAF+R860uydB02xFVsSQK4/2ePIQI+qMDNJCAJxlb5DomiC5P 5CnQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:mail-copies-to :gmane-reply-to-list:date:in-reply-to:message-id:mime-version :content-transfer-encoding; bh=Kf7Nh4KjXs7kMQ1pHfEk5ylaF/FlKwMEeXYcK0i5UB0=; b=glgD0eR51/+CLUM2VZwIsf/xCI33RJrsdvEnboNUOFT49KYGR5x4cj1dS0rjDGDa7N 7t+qvwuTtqqDykzmf3q+m27pLQqg2WdWPftnn1KKH6tmkahFe//Cq7c72QkyOgisSH3k BYAafsnp8nMfd7UxLmW9+iI7OBYJVaRPXrkOHBy0khNekqGrd00y7C3HuMDjWfWFjdT/ srVRT9gpuiCcIethuTRCnWVjnbwie12CN+PvD7ibY8DKokW/Wkr/Zwdr80Rsg4JK9E2L wtlvJ9RM6sjnyrKd+eneV6l3Q6WSXy9XtUHuvuJMP+Uy9yxxviZ2y7M3RGwG2hLdtX19 O+AA== X-Gm-Message-State: ABuFfohYhPYYDxFqMC+kAiqSj+VSjb9W6C3hJMNsSq6q//oafzlx8L+T xwoa08pdSHF2zFwQ0AlM6bjRmcOu X-Google-Smtp-Source: ACcGV61C1CF7mOLAgBMtF8KpsnMP/XGtwJy6cddiIP5Peplyo/R+DDuMb8YxqpYjQgG9ZSWcKEjAFA== X-Received: by 2002:a5d:4449:: with SMTP id x9-v6mr1686544wrr.306.1539266805025; Thu, 11 Oct 2018 07:06:45 -0700 (PDT) Received: from rpluim-ubuntu (cust-west-pareq2-46-193-13-178.wb.wifirst.net. [46.193.13.178]) by smtp.gmail.com with ESMTPSA id f7-v6sm26519095wrr.68.2018.10.11.07.06.43 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 11 Oct 2018 07:06:43 -0700 (PDT) From: Robert Pluim To: martin rudalics Subject: Re: bug#32975: Emacs 26.1; GTK Warnings References: <1538936366.8755.2.camel@tjernlund.se> <837eiryx33.fsf@gnu.org> <1539108072.8755.7.camel@tjernlund.se> <83zhvnx9ua.fsf@gnu.org> <1539110025.8755.10.camel@tjernlund.se> <83va6bx7a3.fsf@gnu.org> <87d0si1b41.fsf@gmail.com> <5BBDBC75.2010605@gmx.at> <875zya15cm.fsf@gmail.com> <1539193453.8755.14.camel@tjernlund.se> <871s8x0zgw.fsf@gmail.com> <87tvltylya.fsf@gmail.com> <5BBF08A6.3050604@gmx.at> <87pnwgzxuz.fsf@gmail.com> <5BBF10C4.4080008@gmx.at> <87lg74zvl5.fsf@gmail.com> <5BBF18C8.2040201@gmx.at> <87k1mo3j8z.fsf@gmail.com> <5BBF3BD1.4080204@gmx.at> <87efcw3c01.fsf@gmail.com> <5BBF555B.3020003@gmx.at> X-Debbugs-No-Ack: yes Mail-Copies-To: never Gmane-Reply-To-List: yes Date: Thu, 11 Oct 2018 16:06:42 +0200 In-Reply-To: <5BBF555B.3020003@gmx.at> (martin rudalics's message of "Thu, 11 Oct 2018 15:51:23 +0200") Message-ID: <87a7nk37d9.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 32975 Cc: Tjernlund , 32975@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) martin rudalics writes: >> How about moving the >> check for USE_TOOLKIT_SCROLL_BARS down into xg_set_background_color >> like so (which I think was your original suggestion): > > That's what I would do for Emacs 26.2. Sure. Eli, is the following OK for you? It=CA=BCs a pretty rare setup, so master would probably be fine as well. Robert >From 21e193c8211d21cd46c2ee90902ae627e837a62f Mon Sep 17 00:00:00 2001 From: Robert Pluim Date: Thu, 11 Oct 2018 16:02:51 +0200 Subject: [PATCH] Call GTK functions only on GTK scrollbars To: emacs-devel@gnu.org * src/gtkutil.c (xg_set_background_color) [USE_TOOLKIT_SCROLL_BARS]: Don't call GTK functions on non-GTK scrollbars (Bug#32975). --- src/gtkutil.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/gtkutil.c b/src/gtkutil.c index 6b72671da9..5879ab683e 100644 --- a/src/gtkutil.c +++ b/src/gtkutil.c @@ -1498,6 +1498,7 @@ xg_set_background_color (struct frame *f, unsigned lo= ng bg) block_input (); xg_set_widget_bg (f, FRAME_GTK_WIDGET (f), FRAME_BACKGROUND_PIXEL (f= )); =20 +#ifdef USE_TOOLKIT_SCROLL_BARS Lisp_Object bar; for (bar =3D FRAME_SCROLL_BARS (f); !NILP (bar); @@ -1508,7 +1509,7 @@ xg_set_background_color (struct frame *f, unsigned lo= ng bg) GtkWidget *webox =3D gtk_widget_get_parent (scrollbar); xg_set_widget_bg (f, webox, FRAME_BACKGROUND_PIXEL (f)); } - +#endif unblock_input (); } } --=20 2.19.0.271.gfe8321ec05 From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 11 10:25:46 2018 Received: (at 32975) by debbugs.gnu.org; 11 Oct 2018 14:25:46 +0000 Received: from localhost ([127.0.0.1]:45361 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gAbuL-0001jE-S0 for submit@debbugs.gnu.org; Thu, 11 Oct 2018 10:25:46 -0400 Received: from eggs.gnu.org ([208.118.235.92]:34550) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gAbuK-0001j2-Pi for 32975@debbugs.gnu.org; Thu, 11 Oct 2018 10:25:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gAbuC-0003RK-6K for 32975@debbugs.gnu.org; Thu, 11 Oct 2018 10:25:39 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:58218) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gAbuA-0003QF-EB; Thu, 11 Oct 2018 10:25:35 -0400 Received: from [176.228.60.248] (port=4040 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1gAbuA-0000pJ-16; Thu, 11 Oct 2018 10:25:34 -0400 Date: Thu, 11 Oct 2018 17:25:34 +0300 Message-Id: <8336tcy2zl.fsf@gnu.org> From: Eli Zaretskii To: Robert Pluim In-reply-to: <87a7nk37d9.fsf@gmail.com> (message from Robert Pluim on Thu, 11 Oct 2018 16:06:42 +0200) Subject: Re: bug#32975: Emacs 26.1; GTK Warnings References: <1538936366.8755.2.camel@tjernlund.se> <837eiryx33.fsf@gnu.org> <1539108072.8755.7.camel@tjernlund.se> <83zhvnx9ua.fsf@gnu.org> <1539110025.8755.10.camel@tjernlund.se> <83va6bx7a3.fsf@gnu.org> <87d0si1b41.fsf@gmail.com> <5BBDBC75.2010605@gmx.at> <875zya15cm.fsf@gmail.com> <1539193453.8755.14.camel@tjernlund.se> <871s8x0zgw.fsf@gmail.com> <87tvltylya.fsf@gmail.com> <5BBF08A6.3050604@gmx.at> <87pnwgzxuz.fsf@gmail.com> <5BBF10C4.4080008@gmx.at> <87lg74zvl5.fsf@gmail.com> <5BBF18C8.2040201@gmx.at> <87k1mo3j8z.fsf@gmail.com> <5BBF3BD1.4080204@gmx.at> <87efcw3c01.fsf@gmail.com> <5BBF555B.3020003@gmx.at> <87a7nk37d9.fsf@gmail.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 32975 Cc: tjernlund@tjernlund.se, rudalics@gmx.at, 32975@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.0 (------) > From: Robert Pluim > Date: Thu, 11 Oct 2018 16:06:42 +0200 > Cc: Tjernlund , 32975@debbugs.gnu.org > > martin rudalics writes: > > >> How about moving the > >> check for USE_TOOLKIT_SCROLL_BARS down into xg_set_background_color > >> like so (which I think was your original suggestion): > > > > That's what I would do for Emacs 26.2. > > Sure. Eli, is the following OK for you? Yes, thanks. From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 11 13:11:03 2018 Received: (at 32975) by debbugs.gnu.org; 11 Oct 2018 17:11:03 +0000 Received: from localhost ([127.0.0.1]:45440 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gAeUJ-0005gD-3n for submit@debbugs.gnu.org; Thu, 11 Oct 2018 13:11:03 -0400 Received: from mout.gmx.net ([212.227.17.21]:35865) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gAeUG-0005fj-RD for 32975@debbugs.gnu.org; Thu, 11 Oct 2018 13:11:01 -0400 Received: from [192.168.1.100] ([213.162.73.91]) by mail.gmx.com (mrgmx101 [212.227.17.168]) with ESMTPSA (Nemesis) id 0MJXEd-1g7dg01PB5-0039ys; Thu, 11 Oct 2018 19:10:51 +0200 Received: from [192.168.1.100] ([213.162.73.91]) by mail.gmx.com (mrgmx101 [212.227.17.168]) with ESMTPSA (Nemesis) id 0MJXEd-1g7dg01PB5-0039ys; Thu, 11 Oct 2018 19:10:51 +0200 Message-ID: <5BBF8411.9050402@gmx.at> Date: Thu, 11 Oct 2018 19:10:41 +0200 From: martin rudalics MIME-Version: 1.0 To: Eli Zaretskii , Robert Pluim Subject: Re: bug#32975: Emacs 26.1; GTK Warnings References: <1538936366.8755.2.camel@tjernlund.se> <83zhvpzihx.fsf@gnu.org> <1538976428.8755.6.camel@tjernlund.se> <837eiryx33.fsf@gnu.org> <1539108072.8755.7.camel@tjernlund.se> <83zhvnx9ua.fsf@gnu.org> <1539110025.8755.10.camel@tjernlund.se> <83va6bx7a3.fsf@gnu.org> <87d0si1b41.fsf@gmail.com> <5BBDBC75.2010605@gmx.at> <875zya15cm.fsf@gmail.com> <1539193453.8755.14.camel@tjernlund.se> <871s8x0zgw.fsf@gmail.com> <87tvltylya.fsf@gmail.com> <838t34y48p.fsf@gnu.org> In-Reply-To: <838t34y48p.fsf@gnu.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:lHLmFVNIQmzDk7+CUk7bbbNpUQQlnrjsMh6VNs28J65ttOKbP71 2bUyjXMrJ4556K6PEqCS0XZg9LFdly1aNhMxLKewPf7oFYuiDBKU3IvpAq3VzP3AnrezwUH sJBCFUKfX91Fsv7qScrbAmzrgjtrsbbPJ3Ftv9uleOK2pVphqf+YYQSegYAh8ufSQZPnPdG T1Eh4AfjcrLr2dwPO9nJQ== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V01:K0:s0y1FYTXfIg=:K7WXuRA+r1++lZLobaFBuZ 8AzemfJV4IUFoI9YhHH5rAwshvu5KMopgkyh9EqYDwthXnvTbVOGdx1qZ78Dc3FPBFRko2EXq qLdyF38EDGTObGZPuBckqlxtwNHdc9N61Jw0z4BSpWI9Il8wPQ9z+F4RXksGFomxIDU49tFUy imzaeJ7uvogsHWcFObRYTh+JAMgdJ3H0RJTPcFU9W4h7m/MxGMVTQPCynvDr9z9GxX5pUJ+vF B+XjvfwpOJqcnUQvHUrk1+uKdEbLFKeyKYTp5cRKkfjIz8as0py+mGBN+25h6fr4powExZvka sNSgkvyF6oaOhew0yFhloZOvf98uNihxczHCzZfntsfHqwOLwwov2XF5uMf9A3kcULuWM2vsp E/UwA308IOt/rJ0eSMHlOXHw+X5C2uubXiYibTUPRO5cjpPz1GOw2CpXkusFVPF5btjsgHz+t U7s4Sox0harrA0/jWQ7IWBhBKrgMUwnfuCOEKMNPsekZinOUcdZswHoLm3qcNZbHrto8vMcGx EWa9lqg96nOCr4y7K2IyzVOo4XjIsZaOJ6yJIawo9fj5OWNH6angHN0+k4dQ4DUEQJ7s1AGlt 0HE/ISlShVWeOoBjohowUIuZkP6LME1I9n1tVQYSQ6XkTBeJJrTZVHTP4x7jql16iMBktvZza xJqtZ/Pvl4Takts5JCdqs1AEO6F6r++y+c+H+xvU0x/ESFpczzdpQhqZZloUKMjIf2o1zurza W2T/LPMwv85XL5hhjn/VehCXMUY4Oi1KyS8ZE8k6i9IgHPy0Ncr00PZ/H6NzD8WuB4+hsMTyN 8I8FEZCjc/0TNhHbqOn7+i5wtpRo6jKRGwmPmnJqyv5nGkxSbw= X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 32975 Cc: tjernlund@tjernlund.se, 32975@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) > I think whatever the changes you eventually come up with, they should > be pushed to the emacs-26 branch. Do you (both) agree? Definitely. martin From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 11 15:43:37 2018 Received: (at 32975) by debbugs.gnu.org; 11 Oct 2018 19:43:37 +0000 Received: from localhost ([127.0.0.1]:45511 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gAgrw-0000oW-5K for submit@debbugs.gnu.org; Thu, 11 Oct 2018 15:43:37 -0400 Received: from mailrelay3-1.pub.mailoutpod1-cph3.one.com ([46.30.210.184]:64463) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gAgrt-0000oN-V3 for 32975@debbugs.gnu.org; Thu, 11 Oct 2018 15:43:34 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tjernlund.se; s=20140924; h=content-transfer-encoding:mime-version:content-type:references:in-reply-to: date:cc:to:from:subject:message-id:from; bh=400BccICSbp3mUsCgEAdmWDxE9W0K/Nxp1kDaFfpm+s=; b=bHGmwP37sfKI0fUjoJ4WdUNeRbbK4levRGOscnp2p32YYYbPCbGpBCOqhUYvIBJxWcQdg8QZYsyFk xXvOm4cH46AnTHqguD3V+oCi9LPhYaVJbFHef5wc/KmjOlWPWROfgyXF/Kye9v9gB6DdxXj5evnhwZ tbloySYVMOCdrMZg= X-HalOne-Cookie: c1ad4ea829419b61d4e778c3d9077552ebce80bf X-HalOne-ID: eece94f2-cd8d-11e8-af49-d0431ea8bb03 Received: from [192.168.0.136] (unknown [178.174.231.82]) by mailrelay3.pub.mailoutpod1-cph3.one.com (Halon) with ESMTPSA id eece94f2-cd8d-11e8-af49-d0431ea8bb03; Thu, 11 Oct 2018 19:43:31 +0000 (UTC) Message-ID: <1539287011.8755.15.camel@tjernlund.se> Subject: Re: bug#32975: Emacs 26.1; GTK Warnings From: Tjernlund To: Robert Pluim , martin rudalics Date: Thu, 11 Oct 2018 21:43:31 +0200 In-Reply-To: <87a7nk37d9.fsf@gmail.com> References: <1538936366.8755.2.camel@tjernlund.se> <837eiryx33.fsf@gnu.org> <1539108072.8755.7.camel@tjernlund.se> <83zhvnx9ua.fsf@gnu.org> <1539110025.8755.10.camel@tjernlund.se> <83va6bx7a3.fsf@gnu.org> <87d0si1b41.fsf@gmail.com> <5BBDBC75.2010605@gmx.at> <875zya15cm.fsf@gmail.com> <1539193453.8755.14.camel@tjernlund.se> <871s8x0zgw.fsf@gmail.com> <87tvltylya.fsf@gmail.com> <5BBF08A6.3050604@gmx.at> <87pnwgzxuz.fsf@gmail.com> <5BBF10C4.4080008@gmx.at> <87lg74zvl5.fsf@gmail.com> <5BBF18C8.2040201@gmx.at> <87k1mo3j8z.fsf@gmail.com> <5BBF3BD1.4080204@gmx.at> <87efcw3c01.fsf@gmail.com> <5BBF555B.3020003@gmx.at> <87a7nk37d9.fsf@gmail.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.26.6 Mime-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 32975 Cc: 32975@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On Thu, 2018-10-11 at 16:06 +0200, Robert Pluim wrote: > martin rudalics writes: > > > > How about moving the > > > check for USE_TOOLKIT_SCROLL_BARS down into xg_set_background_color > > > like so (which I think was your original suggestion): > > > > That's what I would do for Emacs 26.2. > > Sure. Eli, is the following OK for you? Itʼs a pretty rare setup, so > master would probably be fine as well. This patch works for me too. Thanks guys Jocke > > Robert > > From 21e193c8211d21cd46c2ee90902ae627e837a62f Mon Sep 17 00:00:00 2001 > From: Robert Pluim > Date: Thu, 11 Oct 2018 16:02:51 +0200 > Subject: [PATCH] Call GTK functions only on GTK scrollbars > To: emacs-devel@gnu.org > > * src/gtkutil.c (xg_set_background_color) [USE_TOOLKIT_SCROLL_BARS]: > Don't call GTK functions on non-GTK scrollbars (Bug#32975). > --- > src/gtkutil.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/src/gtkutil.c b/src/gtkutil.c > index 6b72671da9..5879ab683e 100644 > --- a/src/gtkutil.c > +++ b/src/gtkutil.c > @@ -1498,6 +1498,7 @@ xg_set_background_color (struct frame *f, unsigned long bg) > block_input (); > xg_set_widget_bg (f, FRAME_GTK_WIDGET (f), FRAME_BACKGROUND_PIXEL (f)); > > +#ifdef USE_TOOLKIT_SCROLL_BARS > Lisp_Object bar; > for (bar = FRAME_SCROLL_BARS (f); > !NILP (bar); > @@ -1508,7 +1509,7 @@ xg_set_background_color (struct frame *f, unsigned long bg) > GtkWidget *webox = gtk_widget_get_parent (scrollbar); > xg_set_widget_bg (f, webox, FRAME_BACKGROUND_PIXEL (f)); > } > - > +#endif > unblock_input (); > } > } From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 11 15:51:57 2018 Received: (at 32975) by debbugs.gnu.org; 11 Oct 2018 19:51:57 +0000 Received: from localhost ([127.0.0.1]:45515 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gAh01-00010F-GV for submit@debbugs.gnu.org; Thu, 11 Oct 2018 15:51:57 -0400 Received: from mailrelay3-1.pub.mailoutpod1-cph3.one.com ([46.30.210.184]:23138) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gAh00-000108-Da for 32975@debbugs.gnu.org; Thu, 11 Oct 2018 15:51:56 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tjernlund.se; s=20140924; h=content-transfer-encoding:mime-version:content-type:references:in-reply-to: date:cc:to:from:subject:message-id:from; bh=Vbu09dPSmsvHPknseaVpbHMfl2BavTJElaSm+z9nELU=; b=YeNGfCn/ob3Bus1JHb10o3MIvDH61YS2XOvLY4v2gdwIlgUPRoVGg7QoMyCrqPCtyhfWjBf7lKbgk eusMK4653PkTzgmJqAjsLhQJQMCkdu7NFLZ63USf1LU/iycYh8PKCnusGeTxCHkp5irOmFJUEbvJ1U aHmGMvbZnirIcdTA= X-HalOne-Cookie: ce9ea5328903f95c7f5d8c7652acf8371739c502 X-HalOne-ID: 1aab79ab-cd8f-11e8-af49-d0431ea8bb03 Received: from [192.168.0.136] (unknown [178.174.231.82]) by mailrelay3.pub.mailoutpod1-cph3.one.com (Halon) with ESMTPSA id 1aab79ab-cd8f-11e8-af49-d0431ea8bb03; Thu, 11 Oct 2018 19:51:54 +0000 (UTC) Message-ID: <1539287514.8755.17.camel@tjernlund.se> Subject: Re: bug#32975: Emacs 26.1; GTK Warnings From: Tjernlund To: Robert Pluim , martin rudalics Date: Thu, 11 Oct 2018 21:51:54 +0200 In-Reply-To: <1539287011.8755.15.camel@tjernlund.se> References: <1538936366.8755.2.camel@tjernlund.se> <837eiryx33.fsf@gnu.org> <1539108072.8755.7.camel@tjernlund.se> <83zhvnx9ua.fsf@gnu.org> <1539110025.8755.10.camel@tjernlund.se> <83va6bx7a3.fsf@gnu.org> <87d0si1b41.fsf@gmail.com> <5BBDBC75.2010605@gmx.at> <875zya15cm.fsf@gmail.com> <1539193453.8755.14.camel@tjernlund.se> <871s8x0zgw.fsf@gmail.com> <87tvltylya.fsf@gmail.com> <5BBF08A6.3050604@gmx.at> <87pnwgzxuz.fsf@gmail.com> <5BBF10C4.4080008@gmx.at> <87lg74zvl5.fsf@gmail.com> <5BBF18C8.2040201@gmx.at> <87k1mo3j8z.fsf@gmail.com> <5BBF3BD1.4080204@gmx.at> <87efcw3c01.fsf@gmail.com> <5BBF555B.3020003@gmx.at> <87a7nk37d9.fsf@gmail.com> <1539287011.8755.15.camel@tjernlund.se> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.26.6 Mime-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 32975 Cc: 32975@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On Thu, 2018-10-11 at 21:43 +0200, Tjernlund wrote: > On Thu, 2018-10-11 at 16:06 +0200, Robert Pluim wrote: > > martin rudalics writes: > > > > > > How about moving the > > > > check for USE_TOOLKIT_SCROLL_BARS down into xg_set_background_color > > > > like so (which I think was your original suggestion): > > > > > > That's what I would do for Emacs 26.2. > > > > Sure. Eli, is the following OK for you? Itʼs a pretty rare setup, so > > master would probably be fine as well. > > This patch works for me too. > > Thanks guys > Jocke I just got to ask you guys something that bugs me, why do I have have both: ;; Color settings. (setq default-frame-alist '((background-color . "#333333") (foreground-color . "White") (cursor-color . "White"))) (setq initial-frame-alist default-frame-alist) I think one of the should inherit the other. Jocke From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 11 17:04:35 2018 Received: (at 32975) by debbugs.gnu.org; 11 Oct 2018 21:04:36 +0000 Received: from localhost ([127.0.0.1]:45579 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gAi8J-0002kg-O3 for submit@debbugs.gnu.org; Thu, 11 Oct 2018 17:04:35 -0400 Received: from mout.gmx.net ([212.227.17.20]:43533) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gAi8G-0002kP-TA for 32975@debbugs.gnu.org; Thu, 11 Oct 2018 17:04:33 -0400 Received: from [192.168.1.100] ([46.125.249.94]) by mail.gmx.com (mrgmx102 [212.227.17.168]) with ESMTPSA (Nemesis) id 0Mc8Pz-1gQSMh2kAp-00Jev3; Thu, 11 Oct 2018 23:04:24 +0200 Received: from [192.168.1.100] ([46.125.249.94]) by mail.gmx.com (mrgmx102 [212.227.17.168]) with ESMTPSA (Nemesis) id 0Mc8Pz-1gQSMh2kAp-00Jev3; Thu, 11 Oct 2018 23:04:24 +0200 Message-ID: <5BBFBACE.3080402@gmx.at> Date: Thu, 11 Oct 2018 23:04:14 +0200 From: martin rudalics MIME-Version: 1.0 To: Tjernlund , Robert Pluim Subject: Re: bug#32975: Emacs 26.1; GTK Warnings References: <1538936366.8755.2.camel@tjernlund.se> <837eiryx33.fsf@gnu.org> <1539108072.8755.7.camel@tjernlund.se> <83zhvnx9ua.fsf@gnu.org> <1539110025.8755.10.camel@tjernlund.se> <83va6bx7a3.fsf@gnu.org> <87d0si1b41.fsf@gmail.com> <5BBDBC75.2010605@gmx.at> <875zya15cm.fsf@gmail.com> <1539193453.8755.14.camel@tjernlund.se> <871s8x0zgw.fsf@gmail.com> <87tvltylya.fsf@gmail.com> <5BBF08A6.3050604@gmx.at> <87pnwgzxuz.fsf@gmail.com> <5BBF10C4.4080008@gmx.at> <87lg74zvl5.fsf@gmail.com> <5BBF18C8.2040201@gmx.at> <87k1mo3j8z.fsf@gmail.com> <5BBF3BD1.4080204@gmx.at> <87efcw3c01.fsf@gmail.com> <5BBF555B.3020003@gmx.at> <87a7nk37d9.fsf@gmail.com> <1539287011.8755.15.camel@tjernlund.se> <1539287514.8755.17.camel@tjernlund.se> In-Reply-To: <1539287514.8755.17.camel@tjernlund.se> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:uEW00Vow1Rnxt8jofN8PYSnS5X+g/z7C9KnGNWdXl6K+nuizKSU gurV/F0m5YNRFEDV+ops1DV5ercDEVK56Ri6avojYsXjFc/5fkn7gS1hJmXEREv58hZM/JO qhF7M1V/7DQr2nlaGthoGJuu7zUYO0WsSyPopl9EvkwQbxRNDKcyOhVjCQeFnn5SDMN7+Vf AiS/nmp1vJzncg4tTrvbA== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V01:K0:xiJFU0dUB7Q=:SZbT5VqQoZosUznEN4GE1O Wi7yr2Yw0YsSUNP2Y6YyvwN//VbP09JAPLI7bYSYK06NbggrDwmdrhULY59Rp2HUteMqMZSwk 6evcZftKJPZYvi0S7rzp4k5ClfsExdXNHOUrRNEfEZjAC8VGBqTBcib+sWdGm28Hq+vedeOcf yTijwzNHE/9UMSgNVe0wXfE/oruYrb3IeOp7wuRipvTXfd/xr3HMLJBFNYzndGYzXNZjDowwu 6OAFCc+UWsUlHKqooQyId0FcR395Ia5TXIq0Rs5s+Q0JELIg8v0c1x7GSpY8dYYwkSGA3/JQu 1icz/F2DOvUUTM+m+2sBkQYdr+VwFIxdyBW27IYTD1E0kX4unIq37hkuzXvbzuf39P4m99J2c ivejytrwi1QFC9iiYAOA2yZheCe9+CPuwq6KmHb8zPI3BxDuJLtv7c0ncqiUDP9EeOUKbCaUs y37FSmcLQjb3kcDu6FQZpFyFa9se5xknjC1z4Cpgak+IkEUXPRG72yhOS0xyX0jfJzQ95D2AK NLn+LKtNF5Z8yPtkBl6vsHqjOHoo4be5GTtw/lv56ensNIxoC/rSHL6SQ4YfRnV3msqypr0dZ e1N/jEOH1R8xUfW1yd5EiWt080BkuomQewYmA7hyxAOFjDY/e3LkuiTJ1Dzef2+GHyDAvUNyA MB/bajPwc+wQhCt4puF9Q3NZp1hc/2JZoRxYxaRBdCXQ/BwzTg2whU7UOEFbNTIUiNz9EocsH 3px+mjCY+B5VX+KA7aZNOTquiRdXvSS9h5AorSUEuSxproxOUd7bpcPpVK97NWtWfEWzDJDVz tD2LYFkx2sOSAyMjs4qbLCqtInimxYxTaSAZRbbn1syI1kjWnk= X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 32975 Cc: 32975@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) > I just got to ask you guys something that bugs me, why do I have have both: > ;; Color settings. > (setq default-frame-alist '((background-color . "#333333") (foreground-color . "White") (cursor-color . "White"))) > (setq initial-frame-alist default-frame-alist) > > I think one of the should inherit the other. Throw away the second form. It's redundant. martin From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 11 17:55:02 2018 Received: (at 32975) by debbugs.gnu.org; 11 Oct 2018 21:55:02 +0000 Received: from localhost ([127.0.0.1]:45643 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gAiv8-0008A0-NB for submit@debbugs.gnu.org; Thu, 11 Oct 2018 17:55:02 -0400 Received: from mailrelay4-1.pub.mailoutpod1-cph3.one.com ([46.30.210.185]:16268) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gAiv6-00089W-VW for 32975@debbugs.gnu.org; Thu, 11 Oct 2018 17:55:01 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tjernlund.se; s=20140924; h=content-transfer-encoding:mime-version:content-type:references:in-reply-to: date:cc:to:from:subject:message-id:from; bh=cZCW+VytyHKl0+QgWNGiZKvJgKtYHZGT+VBQ3L95TAg=; b=UkH6qqhtinFO1ZdNzMH8FSudb++7Attkj5Iu/AoYE5sd6vAfzFlG2saJ2D1dNuTXj7nlGuPNE1Uht +GQVjnlboClWbe+28WCCBpSlXjYxfKU6Wr8sBhkD2H8MqJqWm8CfzDLXE137cb6KiISJCpzpXVMv3D Aek+6827SscK6BsE= X-HalOne-Cookie: 5ecceda85caf8200db85935a2cbf82a64dec2e6e X-HalOne-ID: 4c0f6a1c-cda0-11e8-86b7-d0431ea8bb10 Received: from [192.168.0.136] (unknown [178.174.231.82]) by mailrelay4.pub.mailoutpod1-cph3.one.com (Halon) with ESMTPSA id 4c0f6a1c-cda0-11e8-86b7-d0431ea8bb10; Thu, 11 Oct 2018 21:54:59 +0000 (UTC) Message-ID: <1539294898.8755.19.camel@tjernlund.se> Subject: Re: bug#32975: Emacs 26.1; GTK Warnings From: Tjernlund To: martin rudalics , Robert Pluim Date: Thu, 11 Oct 2018 23:54:58 +0200 In-Reply-To: <5BBFBACE.3080402@gmx.at> References: <1538936366.8755.2.camel@tjernlund.se> <837eiryx33.fsf@gnu.org> <1539108072.8755.7.camel@tjernlund.se> <83zhvnx9ua.fsf@gnu.org> <1539110025.8755.10.camel@tjernlund.se> <83va6bx7a3.fsf@gnu.org> <87d0si1b41.fsf@gmail.com> <5BBDBC75.2010605@gmx.at> <875zya15cm.fsf@gmail.com> <1539193453.8755.14.camel@tjernlund.se> <871s8x0zgw.fsf@gmail.com> <87tvltylya.fsf@gmail.com> <5BBF08A6.3050604@gmx.at> <87pnwgzxuz.fsf@gmail.com> <5BBF10C4.4080008@gmx.at> <87lg74zvl5.fsf@gmail.com> <5BBF18C8.2040201@gmx.at> <87k1mo3j8z.fsf@gmail.com> <5BBF3BD1.4080204@gmx.at> <87efcw3c01.fsf@gmail.com> <5BBF555B.3020003@gmx.at> <87a7nk37d9.fsf@gmail.com> <1539287011.8755.15.camel@tjernlund.se> <1539287514.8755.17.camel@tjernlund.se> <5BBFBACE.3080402@gmx.at> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.26.6 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 32975 Cc: 32975@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On Thu, 2018-10-11 at 23:04 +0200, martin rudalics wrote: > > I just got to ask you guys something that bugs me, why do I have have both: > > ;; Color settings. > > (setq default-frame-alist '((background-color . "#333333") (foreground-color . "White") (cursor-color . "White"))) > > (setq initial-frame-alist default-frame-alist) > > > > I think one of the should inherit the other. > > Throw away the second form. It's redundant. > But I cannot, the color settings will not work, just tried it to confirm. Jocke From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 12 00:28:46 2018 Received: (at 32975) by debbugs.gnu.org; 12 Oct 2018 04:28:47 +0000 Received: from localhost ([127.0.0.1]:45787 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gAp4A-0006tB-Ns for submit@debbugs.gnu.org; Fri, 12 Oct 2018 00:28:46 -0400 Received: from eggs.gnu.org ([208.118.235.92]:60913) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gAp48-0006sy-TC for 32975@debbugs.gnu.org; Fri, 12 Oct 2018 00:28:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gAp40-0002QN-NT for 32975@debbugs.gnu.org; Fri, 12 Oct 2018 00:28:39 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:45650) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gAp40-0002Q9-Iy; Fri, 12 Oct 2018 00:28:36 -0400 Received: from [176.228.60.248] (port=2474 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1gAp40-00019j-5D; Fri, 12 Oct 2018 00:28:36 -0400 Date: Fri, 12 Oct 2018 07:28:38 +0300 Message-Id: <83sh1bwzyh.fsf@gnu.org> From: Eli Zaretskii To: Tjernlund In-reply-to: <1539294898.8755.19.camel@tjernlund.se> (message from Tjernlund on Thu, 11 Oct 2018 23:54:58 +0200) Subject: Re: bug#32975: Emacs 26.1; GTK Warnings References: <1538936366.8755.2.camel@tjernlund.se> <837eiryx33.fsf@gnu.org> <1539108072.8755.7.camel@tjernlund.se> <83zhvnx9ua.fsf@gnu.org> <1539110025.8755.10.camel@tjernlund.se> <83va6bx7a3.fsf@gnu.org> <87d0si1b41.fsf@gmail.com> <5BBDBC75.2010605@gmx.at> <875zya15cm.fsf@gmail.com> <1539193453.8755.14.camel@tjernlund.se> <871s8x0zgw.fsf@gmail.com> <87tvltylya.fsf@gmail.com> <5BBF08A6.3050604@gmx.at> <87pnwgzxuz.fsf@gmail.com> <5BBF10C4.4080008@gmx.at> <87lg74zvl5.fsf@gmail.com> <5BBF18C8.2040201@gmx.at> <87k1mo3j8z.fsf@gmail.com> <5BBF3BD1.4080204@gmx.at> <87efcw3c01.fsf@gmail.com> <5BBF555B.3020003@gmx.at> <87a7nk37d9.fsf@gmail.com> <1539287011.8755.15.camel@tjernlund.se> <1539287514.8755.17.camel@tjernlund.se> <5BBFBACE.3080402@gmx.at> <1539294898.8755.19.camel@tjernlund.se> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 32975 Cc: rudalics@gmx.at, rpluim@gmail.com, 32975@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.0 (------) > From: Tjernlund > Date: Thu, 11 Oct 2018 23:54:58 +0200 > Cc: 32975@debbugs.gnu.org > > On Thu, 2018-10-11 at 23:04 +0200, martin rudalics wrote: > > > I just got to ask you guys something that bugs me, why do I have have both: > > > ;; Color settings. > > > (setq default-frame-alist '((background-color . "#333333") (foreground-color . "White") (cursor-color . "White"))) > > > (setq initial-frame-alist default-frame-alist) > > > > > > I think one of the should inherit the other. > > > > Throw away the second form. It's redundant. > > > > But I cannot, the color settings will not work, just tried it to confirm. How do you start Emacs? From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 12 01:31:21 2018 Received: (at 32975) by debbugs.gnu.org; 12 Oct 2018 05:31:22 +0000 Received: from localhost ([127.0.0.1]:45803 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gAq2j-00007R-Nb for submit@debbugs.gnu.org; Fri, 12 Oct 2018 01:31:21 -0400 Received: from mailrelay3-1.pub.mailoutpod1-cph3.one.com ([46.30.210.184]:18850) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gAq2f-00007F-Ow for 32975@debbugs.gnu.org; Fri, 12 Oct 2018 01:31:20 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tjernlund.se; s=20140924; h=content-transfer-encoding:mime-version:content-type:references:in-reply-to: date:cc:to:from:subject:message-id:from; bh=uFovhRV1m4XevFCBpVi+wPzrE/ruyMURm8drvHLVafE=; b=UccbrRmVJafF8QrS9w2nDkvypHbX2qPJsU54djxyqP3crP8PRG6nkoFZUKwwO5Jhm94vEYDWVyLUP 0fCyn4gaGlUpcqjUoKAbsv2wD/qH1AqME+iIUW2HptFg2tPbq7OfuLhD7YFsk9Zm2dbd/NuBCpa0hS c4s7BW27SfvtCx98= X-HalOne-Cookie: ec79d99177ee69d5107256e16258eda5f25d8c3d X-HalOne-ID: 09a2f09f-cde0-11e8-af49-d0431ea8bb03 Received: from [192.168.0.136] (unknown [178.174.231.82]) by mailrelay3.pub.mailoutpod1-cph3.one.com (Halon) with ESMTPSA id 09a2f09f-cde0-11e8-af49-d0431ea8bb03; Fri, 12 Oct 2018 05:31:15 +0000 (UTC) Message-ID: <1539322275.8755.23.camel@tjernlund.se> Subject: Re: bug#32975: Emacs 26.1; GTK Warnings From: Tjernlund To: Eli Zaretskii Date: Fri, 12 Oct 2018 07:31:15 +0200 In-Reply-To: <83sh1bwzyh.fsf@gnu.org> References: <1538936366.8755.2.camel@tjernlund.se> <837eiryx33.fsf@gnu.org> <1539108072.8755.7.camel@tjernlund.se> <83zhvnx9ua.fsf@gnu.org> <1539110025.8755.10.camel@tjernlund.se> <83va6bx7a3.fsf@gnu.org> <87d0si1b41.fsf@gmail.com> <5BBDBC75.2010605@gmx.at> <875zya15cm.fsf@gmail.com> <1539193453.8755.14.camel@tjernlund.se> <871s8x0zgw.fsf@gmail.com> <87tvltylya.fsf@gmail.com> <5BBF08A6.3050604@gmx.at> <87pnwgzxuz.fsf@gmail.com> <5BBF10C4.4080008@gmx.at> <87lg74zvl5.fsf@gmail.com> <5BBF18C8.2040201@gmx.at> <87k1mo3j8z.fsf@gmail.com> <5BBF3BD1.4080204@gmx.at> <87efcw3c01.fsf@gmail.com> <5BBF555B.3020003@gmx.at> <87a7nk37d9.fsf@gmail.com> <1539287011.8755.15.camel@tjernlund.se> <1539287514.8755.17.camel@tjernlund.se> <5BBFBACE.3080402@gmx.at> <1539294898.8755.19.camel@tjernlund.se> <83sh1bwzyh.fsf@gnu.org> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.26.6 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 32975 Cc: rudalics@gmx.at, rpluim@gmail.com, 32975@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On Fri, 2018-10-12 at 07:28 +0300, Eli Zaretskii wrote: > > From: Tjernlund > > Date: Thu, 11 Oct 2018 23:54:58 +0200 > > Cc: 32975@debbugs.gnu.org > > > > On Thu, 2018-10-11 at 23:04 +0200, martin rudalics wrote: > > > > I just got to ask you guys something that bugs me, why do I have have both: > > > > ;; Color settings. > > > > (setq default-frame-alist '((background-color . "#333333") (foreground-color . "White") (cursor-color . > > > "White"))) > > > > (setq initial-frame-alist default-frame-alist) > > > > > > > > I think one of the should inherit the other. > > > > > > Throw away the second form. It's redundant. > > > > > > > But I cannot, the color settings will not work, just tried it to confirm. > > How do you start Emacs? Usually from the terminal, no args other than file names. Unless I have the new colors in both variables, it wont display the right colors. Just try with my values. Either the first or the second Frame gets different colors. Jocke From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 12 02:37:13 2018 Received: (at 32975) by debbugs.gnu.org; 12 Oct 2018 06:37:14 +0000 Received: from localhost ([127.0.0.1]:45824 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gAr4T-0001bA-Kn for submit@debbugs.gnu.org; Fri, 12 Oct 2018 02:37:13 -0400 Received: from eggs.gnu.org ([208.118.235.92]:49864) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gAr4R-0001ay-68 for 32975@debbugs.gnu.org; Fri, 12 Oct 2018 02:37:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gAr4H-0002EB-Ra for 32975@debbugs.gnu.org; Fri, 12 Oct 2018 02:37:05 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_05 autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:46773) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gAr4G-00024u-2G; Fri, 12 Oct 2018 02:37:00 -0400 Received: from [176.228.60.248] (port=2565 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1gAr4D-00057F-Tw; Fri, 12 Oct 2018 02:36:59 -0400 Date: Fri, 12 Oct 2018 09:36:58 +0300 Message-Id: <83r2gvwu0l.fsf@gnu.org> From: Eli Zaretskii To: Tjernlund In-reply-to: <1539322275.8755.23.camel@tjernlund.se> (message from Tjernlund on Fri, 12 Oct 2018 07:31:15 +0200) Subject: Re: bug#32975: Emacs 26.1; GTK Warnings References: <1538936366.8755.2.camel@tjernlund.se> <837eiryx33.fsf@gnu.org> <1539108072.8755.7.camel@tjernlund.se> <83zhvnx9ua.fsf@gnu.org> <1539110025.8755.10.camel@tjernlund.se> <83va6bx7a3.fsf@gnu.org> <87d0si1b41.fsf@gmail.com> <5BBDBC75.2010605@gmx.at> <875zya15cm.fsf@gmail.com> <1539193453.8755.14.camel@tjernlund.se> <871s8x0zgw.fsf@gmail.com> <87tvltylya.fsf@gmail.com> <5BBF08A6.3050604@gmx.at> <87pnwgzxuz.fsf@gmail.com> <5BBF10C4.4080008@gmx.at> <87lg74zvl5.fsf@gmail.com> <5BBF18C8.2040201@gmx.at> <87k1mo3j8z.fsf@gmail.com> <5BBF3BD1.4080204@gmx.at> <87efcw3c01.fsf@gmail.com> <5BBF555B.3020003@gmx.at> <87a7nk37d9.fsf@gmail.com> <1539287011.8755.15.camel@tjernlund.se> <1539287514.8755.17.camel@tjernlund.se> <5BBFBACE.3080402@gmx.at> <1539294898.8755.19.camel@tjernlund.se> <83sh1bwzyh.fsf@gnu.org> <1539322275.8755.23.camel@tjernlund.se> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 32975 Cc: rudalics@gmx.at, rpluim@gmail.com, 32975@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.0 (------) > From: Tjernlund > Cc: rudalics@gmx.at, rpluim@gmail.com, 32975@debbugs.gnu.org > Date: Fri, 12 Oct 2018 07:31:15 +0200 > > > > > > ;; Color settings. > > > > > (setq default-frame-alist '((background-color . "#333333") (foreground-color . "White") (cursor-color . > > > > "White"))) > > > > > (setq initial-frame-alist default-frame-alist) > > > > > > > > > > I think one of the should inherit the other. > > > > > > > > Throw away the second form. It's redundant. > > > > > > > > > > But I cannot, the color settings will not work, just tried it to confirm. > > > > How do you start Emacs? > > Usually from the terminal, no args other than file names. Any non-default command-line options? Do you have something in your ~/.Xdefaults or in site-init file? Anything else in your ~/.emacs or other init files besides those two lines? > Unless I have the new colors in both variables, it wont display the right colors. > Just try with my values. Either the first or the second Frame gets different colors. I just tried that, and I cannot reproduce what you describe. The first setting alone, for the default-frame-alist, is enough to set the colors for the initial frame and all other frames I create. As I would expect, and as Martin said. initial-frame-alist is only needed if you want the initial frame to look different from all the rest. So some other factor is at work here, most probably in your other customizations. From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 12 04:44:56 2018 Received: (at 32975) by debbugs.gnu.org; 12 Oct 2018 08:44:56 +0000 Received: from localhost ([127.0.0.1]:45930 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gAt44-0006hc-KE for submit@debbugs.gnu.org; Fri, 12 Oct 2018 04:44:56 -0400 Received: from mout.gmx.net ([212.227.15.18]:59757) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gAt43-0006hE-8o for 32975@debbugs.gnu.org; Fri, 12 Oct 2018 04:44:55 -0400 Received: from [192.168.1.101] ([213.162.73.29]) by mail.gmx.com (mrgmx002 [212.227.17.190]) with ESMTPSA (Nemesis) id 0MLfH9-1gBi8q2nHn-000uXV; Fri, 12 Oct 2018 10:44:47 +0200 Received: from [192.168.1.101] ([213.162.73.29]) by mail.gmx.com (mrgmx002 [212.227.17.190]) with ESMTPSA (Nemesis) id 0MLfH9-1gBi8q2nHn-000uXV; Fri, 12 Oct 2018 10:44:47 +0200 Message-ID: <5BC05EF5.1050005@gmx.at> Date: Fri, 12 Oct 2018 10:44:37 +0200 From: martin rudalics MIME-Version: 1.0 To: Tjernlund , Robert Pluim Subject: Re: bug#32975: Emacs 26.1; GTK Warnings References: <1538936366.8755.2.camel@tjernlund.se> <837eiryx33.fsf@gnu.org> <1539108072.8755.7.camel@tjernlund.se> <83zhvnx9ua.fsf@gnu.org> <1539110025.8755.10.camel@tjernlund.se> <83va6bx7a3.fsf@gnu.org> <87d0si1b41.fsf@gmail.com> <5BBDBC75.2010605@gmx.at> <875zya15cm.fsf@gmail.com> <1539193453.8755.14.camel@tjernlund.se> <871s8x0zgw.fsf@gmail.com> <87tvltylya.fsf@gmail.com> <5BBF08A6.3050604@gmx.at> <87pnwgzxuz.fsf@gmail.com> <5BBF10C4.4080008@gmx.at> <87lg74zvl5.fsf@gmail.com> <5BBF18C8.2040201@gmx.at> <87k1mo3j8z.fsf@gmail.com> <5BBF3BD1.4080204@gmx.at> <87efcw3c01.fsf@gmail.com> <5BBF555B.3020003@gmx.at> <87a7nk37d9.fsf@gmail.com> <1539287011.8755.15.camel@tjernlund.se> <1539287514.8755.17.camel@tjernlund.se> <5BBFBACE.3080402@gmx.at> <1539294898.8755.19.camel@tjernlund.se> In-Reply-To: <1539294898.8755.19.camel@tjernlund.se> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:K4KVRsni2vQdkhF6HvVbPkyp+DaHazbZghjqAxgRedekLa/M9hl U7kws5xLl2R02K3fqX3+h6r5XY96FXwWjnkVfmn8GFAaUqVOqTQ3zkV1fo1w1LPDq/Dl9ia /f35URVdUMwZAqAYAjqyf9u5YhVFrKFgC1d+LTdgAOXx+1zO4haX1WF9b7dsot3QWoe8ste +dGo6lPCTrzYqoqW9nc9w== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V01:K0:4H2jGRHGNZw=:0tpc0QkoVCca9yQuPzLFtA V5dO2mausYafwJ9336KmUgXZhIDei+xcInBM/9as0w4ptPQ3ntAvFOz5H5OTMnqy1CMt1AF3F CWultr7D+DnFzPrWpbJctAOJp8r1EWIgktDA9pwGXVGyUWsEBqXpxwxn5hiDZByr8JsjDkEhI U3R3WxLW+b5kfheHZWbPfL4lcsum8EmdC6p3HklnPx2mZbFZ1mKNCp0Mjpv/T0cvsSUShARhD xSqHsD8JPpm1LnSi+i/CctAuNaQsVWGv6rjxKEfVd4fv3TyErLwLxrMIsr8vYYyNUbHJW6Qau MAjT9cOjIexi7iX/OxQHZZhtTYB/hiQVsFmvpFS69QVWmj26Hi7J7nc4i0fbaKJaZyJ5Ivnpq dgY/zf5a+giGDvvcx17Z2/R/7vA49meWM1ZZuYC4Lyr7HgAFHSC5UmRzCE9D0f3vpgH1C4yYH L5tLMEc3TvGoeSuRXKnif7/qWUZYGiwDkNNA0/NnNvoSkJ+jMaNWeisMZ2PulyRJFhpL+Wyhj kjXiToT+Mk0rtUbSb5QOeuW0diP7f5HsoeV1PbqaGgsatfrEjdNVvV40X+NNeNsVJU+JZwm+k 1b7RhsqWa9ejUx2+u9Mj10S4sWCeK7+GwtCBHWiXkrZHQD3o/kiksvfGWzHKilO/GmXsg4YSy jv624rmOTRyHYWIxRhGCItsBSsVTOKb/jxMTlbk8tGpkQS30WrBUPJT9Q8+aJiOnvI5IJQxRC Tlxatwip057MuihtCtA3HkznVblOuJnTA5jWAr02PhDAHU3GrxIX5sLCxfFYYbqOQ1mDa1NtM j8Nks1Db5DHefSCEVhFwAx0JT3iqr0fJgJzxkFpLFirugPZ81s= X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 32975 Cc: 32975@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) > But I cannot, the color settings will not work, just tried it to confirm. They work here in a GTK build of master without toolkit scroll bars. martin From debbugs-submit-bounces@debbugs.gnu.org Sat Oct 13 04:46:44 2018 Received: (at 32975) by debbugs.gnu.org; 13 Oct 2018 08:46:44 +0000 Received: from localhost ([127.0.0.1]:47717 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gBFZL-0007QQ-QM for submit@debbugs.gnu.org; Sat, 13 Oct 2018 04:46:44 -0400 Received: from mail-wm1-f47.google.com ([209.85.128.47]:35698) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gBFZK-0007QD-3Y for 32975@debbugs.gnu.org; Sat, 13 Oct 2018 04:46:42 -0400 Received: by mail-wm1-f47.google.com with SMTP id e187-v6so15017724wmf.0 for <32975@debbugs.gnu.org>; Sat, 13 Oct 2018 01:46:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:mail-copies-to:gmane-reply-to-list :date:in-reply-to:message-id:mime-version; bh=GWCk6vAyXtiC5oI9iadkNOO51KjGsTU6Ix/PN0t08qs=; b=tGkLjsuFeHrpyI5WHVFzn25Jj5atD1zEPSpfvCq1NpnbH2eGZ9MvaVX5hp+j8yTyIH J9QVFjfISh152+bF0smDpYgja1QJ/k+LlV8MwEccv2YOJqqrf4c8KNJIW9R/VVa66R7p gx8cmCxDa9lL8q/K+ysZ2CDCWcza7UavCZ0Q/T5eEWY8jZtwvZdk53KXUHF4m8ZgoEch n3ahIIXQtFG3cI8PiqjF2/wbNyNvLs01NPSn1U5chtZbsGooNhBgrxEEeeYhprKR007F H9FjQy3IVMyzXa5YbcPr6t7u6NxggEupNmMRmAXshSWiPQBgKQQqhwuGtvOPLmKarYbu Rh0w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:mail-copies-to :gmane-reply-to-list:date:in-reply-to:message-id:mime-version; bh=GWCk6vAyXtiC5oI9iadkNOO51KjGsTU6Ix/PN0t08qs=; b=efDHLrTuyRXLOfGHAkgXh4/F0kBRRIm0v2v7io6M+m6oKP5s8TrFGWFThgA6Sm0PJt JqxjyJSpHCo1h65rysdps+qZt/em0Vbq+yUQyET8wHZfvIGB9m2e4dBFyErmK5s8bnq2 f4Ag/yrjSR7kDoCSDYQlqUltnVtfipqanMvPD0Bkm8U3PYGMB7R0khKcUaLLObNPh7ZU QLZb4xjXR1yMgdJV6rELbaKhoX0kOotRa/+apecp8NdDDpNgT7+26wxmh4GrJ2LVBC5W Nd0TONtYJE+Wtjwg5KgBQwnJ7cNCIi2Nl5R0qfCOkNj6xzN+3Kg4kGPe6sEPst1pQU3n 7pLg== X-Gm-Message-State: ABuFfohxW9rrSOlsgmwMMfz6GgKqkEOryANy3GCZC5aVKrViHEMVFmiO AEtcF3pVHO+iUMTG+7uAvxmDlZuc X-Google-Smtp-Source: ACcGV61whFk9F3Svf2BjkWso64WVPqBDrjzNFrQ3aHsHO6nNEXkgD7DuouWPridLhcj0dS99mfZF5Q== X-Received: by 2002:a1c:de88:: with SMTP id v130-v6mr7369013wmg.59.1539420395574; Sat, 13 Oct 2018 01:46:35 -0700 (PDT) Received: from rpluim-ubuntu (vav06-1-78-207-202-134.fbx.proxad.net. [78.207.202.134]) by smtp.gmail.com with ESMTPSA id z185-v6sm4677369wmz.47.2018.10.13.01.46.34 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 13 Oct 2018 01:46:34 -0700 (PDT) From: Robert Pluim To: Eli Zaretskii Subject: Re: bug#32975: Emacs 26.1; GTK Warnings References: <1538936366.8755.2.camel@tjernlund.se> <83zhvnx9ua.fsf@gnu.org> <1539110025.8755.10.camel@tjernlund.se> <83va6bx7a3.fsf@gnu.org> <87d0si1b41.fsf@gmail.com> <5BBDBC75.2010605@gmx.at> <875zya15cm.fsf@gmail.com> <1539193453.8755.14.camel@tjernlund.se> <871s8x0zgw.fsf@gmail.com> <87tvltylya.fsf@gmail.com> <5BBF08A6.3050604@gmx.at> <87pnwgzxuz.fsf@gmail.com> <5BBF10C4.4080008@gmx.at> <87lg74zvl5.fsf@gmail.com> <5BBF18C8.2040201@gmx.at> <87k1mo3j8z.fsf@gmail.com> <5BBF3BD1.4080204@gmx.at> <87efcw3c01.fsf@gmail.com> <5BBF555B.3020003@gmx.at> <87a7nk37d9.fsf@gmail.com> <8336tcy2zl.fsf@gnu.org> X-Debbugs-No-Ack: yes Mail-Copies-To: never Gmane-Reply-To-List: yes Date: Sat, 13 Oct 2018 10:46:33 +0200 In-Reply-To: <8336tcy2zl.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 11 Oct 2018 17:25:34 +0300") Message-ID: <871s8u2pzq.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 32975 Cc: tjernlund@tjernlund.se, 32975@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Eli Zaretskii writes: >> From: Robert Pluim >> Date: Thu, 11 Oct 2018 16:06:42 +0200 >> Cc: Tjernlund , 32975@debbugs.gnu.org >> >> martin rudalics writes: >> >> >> How about moving the >> >> check for USE_TOOLKIT_SCROLL_BARS down into xg_set_background_color >> >> like so (which I think was your original suggestion): >> > >> > That's what I would do for Emacs 26.2. >> >> Sure. Eli, is the following OK for you? > > Yes, thanks. Pushed as 80e0bfa96da69e5d1484c5031f42b1b1742567db Robert From debbugs-submit-bounces@debbugs.gnu.org Sat Oct 13 07:57:21 2018 Received: (at control) by debbugs.gnu.org; 13 Oct 2018 11:57:21 +0000 Received: from localhost ([127.0.0.1]:47823 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gBIXp-0005hZ-DQ for submit@debbugs.gnu.org; Sat, 13 Oct 2018 07:57:21 -0400 Received: from mail-wr1-f45.google.com ([209.85.221.45]:33243) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gBIXn-0005hM-OE for control@debbugs.gnu.org; Sat, 13 Oct 2018 07:57:20 -0400 Received: by mail-wr1-f45.google.com with SMTP id e4-v6so16118917wrs.0 for ; Sat, 13 Oct 2018 04:57:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:mail-copies-to:gmane-reply-to-list:date:message-id :mime-version; bh=+S/F/ZT7FAGFqN9XtABTL1i6fC7Px+8vK01U3ohJpHU=; b=YxyqQK99Mwskr9Snb0hVcrtyCJd7UO1GskD4N04hbLTt9wzZTeqD/YP12MzZo3Kpfv RG4w5UO8KLy1X29FTHtpOF1pCiwrgsKCSenEpXZ75v0GDWkuIbAEBwNOuA0dEp/+vu/e 3enlXfM6lPMA5aP5WW8O+nBbKYNuoEoCRR3xM+67zwHbnB9Ohge3iuILFI5MUoMSHxJ5 WCHoMoM5yzQ9cQjtXWTBXo1Q8ZR9UwNoRy2c0d9L+A4eeucgcymR+Z2cfEv6uDORkbar egdMQduf6rMLWK6tOYZumVW6EcvemhKavMaU/3dnaTrFHfwAWAeavKT315H/oBvEFaHA pYZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:mail-copies-to :gmane-reply-to-list:date:message-id:mime-version; bh=+S/F/ZT7FAGFqN9XtABTL1i6fC7Px+8vK01U3ohJpHU=; b=ne0TlQH6jCaTkjpZsTo4rOkxvvKsjX2PnNPJc9JonyFd2/2ZmIBjKUwOC0jzYhiHWR LEkWlPX2O1lNam8MtfB1a7mjZv8agH9lE3b2DgbW9wlnolhh+UljuOwR0o1n7RTttwst upFJ5gNQSreMwGfk7BGOnjTLg1xe17O/sMjeAWdcHetTq6k2Px3Z4+uqB97niE9OAhaX 3U1VNzs10R/zOFtaQciRoPFb0J19IfXwdSGuAp2+vcPAomRVMijNw6Fx59TKAohX3Cq7 vsOGd+wiE7KgO27jo0KhrafMDBTIJ5lUGGY6FGfzDYWkxDfbOcZSQKakl6E2xA4lEm00 Gl9Q== X-Gm-Message-State: ABuFfojuoV1S/XLGdnP2n8vBo7zg48g+6DmD9ez4xlXPPVK6TLGQsbN/ l8GfdKgO4it1kVMHUJqEg8/pdZeK X-Google-Smtp-Source: ACcGV61BqioAp3RFKto/xv/fzsV+VLTaQ0O5J6ELHv7IvobXJBPUjtcOa6NAizmQzUVoz0btncEh4A== X-Received: by 2002:adf:a447:: with SMTP id e7-v6mr8294861wra.190.1539431833450; Sat, 13 Oct 2018 04:57:13 -0700 (PDT) Received: from rpluim-ubuntu (vav06-1-78-207-202-134.fbx.proxad.net. [78.207.202.134]) by smtp.gmail.com with ESMTPSA id b2-v6sm2340048wru.51.2018.10.13.04.57.06 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 13 Oct 2018 04:57:06 -0700 (PDT) From: Robert Pluim To: control@debbugs.gnu.org Subject: Closing 32975 X-Debbugs-No-Ack: yes Mail-Copies-To: never Gmane-Reply-To-List: yes Date: Sat, 13 Oct 2018 13:57:05 +0200 Message-ID: <87woqm12lq.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) tags 32975 fixed close 32975 26.2 quit From debbugs-submit-bounces@debbugs.gnu.org Sat Oct 13 22:37:00 2018 Received: (at 32975) by debbugs.gnu.org; 14 Oct 2018 02:37:00 +0000 Received: from localhost ([127.0.0.1]:48672 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gBWH5-000395-2L for submit@debbugs.gnu.org; Sat, 13 Oct 2018 22:37:00 -0400 Received: from eggs.gnu.org ([208.118.235.92]:47150) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gBWH3-00038m-CJ for 32975@debbugs.gnu.org; Sat, 13 Oct 2018 22:36:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gBWGu-0008Ac-Tg for 32975@debbugs.gnu.org; Sat, 13 Oct 2018 22:36:52 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:40752) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gBWGu-0008A8-CE; Sat, 13 Oct 2018 22:36:48 -0400 Received: from [176.228.60.248] (port=4914 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1gBWGt-0005Hl-Vg; Sat, 13 Oct 2018 22:36:48 -0400 Date: Sun, 14 Oct 2018 05:36:54 +0300 Message-Id: <83va65tfsp.fsf@gnu.org> From: Eli Zaretskii To: Tjernlund In-reply-to: <1539444400.8755.38.camel@tjernlund.se> (message from Tjernlund on Sat, 13 Oct 2018 17:26:40 +0200) Subject: Re: bug#32975: Emacs 26.1; GTK Warnings References: <1538936366.8755.2.camel@tjernlund.se> <837eiryx33.fsf@gnu.org> <1539108072.8755.7.camel@tjernlund.se> <83zhvnx9ua.fsf@gnu.org> <1539110025.8755.10.camel@tjernlund.se> <83va6bx7a3.fsf@gnu.org> <87d0si1b41.fsf@gmail.com> <5BBDBC75.2010605@gmx.at> <875zya15cm.fsf@gmail.com> <1539193453.8755.14.camel@tjernlund.se> <871s8x0zgw.fsf@gmail.com> <87tvltylya.fsf@gmail.com> <5BBF08A6.3050604@gmx.at> <87pnwgzxuz.fsf@gmail.com> <5BBF10C4.4080008@gmx.at> <87lg74zvl5.fsf@gmail.com> <5BBF18C8.2040201@gmx.at> <87k1mo3j8z.fsf@gmail.com> <5BBF3BD1.4080204@gmx.at> <87efcw3c01.fsf@gmail.com> <5BBF555B.3020003@gmx.at> <87a7nk37d9.fsf@gmail.com> <1539287011.8755.15.camel@tjernlund.se> <1539287514.8755.17.camel@tjernlund.se> <5BBFBACE.3080402@gmx.at> <1539294898.8755.19.camel@tjernlund.se> <83sh1bwzyh.fsf@gnu.org> <1539322275.8755.23.camel@tjernlund.se> <83r2gvwu0l.fsf@gnu.org> <1539444400.8755.38.camel@tjernlund.se> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 32975 Cc: 32975@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.0 (------) [Please don't remove the bug address from the list of addressees.] > From: Tjernlund > Date: Sat, 13 Oct 2018 17:26:40 +0200 > > > Any non-default command-line options? Do you have something in your > > ~/.Xdefaults or in site-init file? Anything else in your ~/.emacs or > > other init files besides those two lines? > My .emacs: That's a lot to consume. Let's start from the other end: if you have only this line in your .emacs: (setq initial-frame-alist '((background-color . "#333333") (foreground-color . "White") (cursor-color . "White"))) does it then work as expected? From debbugs-submit-bounces@debbugs.gnu.org Sun Oct 14 10:57:31 2018 Received: (at 32975) by debbugs.gnu.org; 14 Oct 2018 14:57:31 +0000 Received: from localhost ([127.0.0.1]:49432 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gBhpi-0008Su-Vq for submit@debbugs.gnu.org; Sun, 14 Oct 2018 10:57:31 -0400 Received: from eggs.gnu.org ([208.118.235.92]:47172) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gBhpg-0008Sg-U8 for 32975@debbugs.gnu.org; Sun, 14 Oct 2018 10:57:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gBhpS-0003Wt-AZ for 32975@debbugs.gnu.org; Sun, 14 Oct 2018 10:57:18 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:49217) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gBhpS-0003Wl-5W; Sun, 14 Oct 2018 10:57:14 -0400 Received: from [176.228.60.248] (port=2855 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1gBhpP-0005aD-Hu; Sun, 14 Oct 2018 10:57:14 -0400 Date: Sun, 14 Oct 2018 17:57:19 +0300 Message-Id: <83r2gstw34.fsf@gnu.org> From: Eli Zaretskii To: Tjernlund In-reply-to: <1539505906.8755.41.camel@tjernlund.se> (message from Tjernlund on Sun, 14 Oct 2018 10:31:46 +0200) Subject: Re: bug#32975: Emacs 26.1; GTK Warnings References: <1538936366.8755.2.camel@tjernlund.se> <837eiryx33.fsf@gnu.org> <1539108072.8755.7.camel@tjernlund.se> <83zhvnx9ua.fsf@gnu.org> <1539110025.8755.10.camel@tjernlund.se> <83va6bx7a3.fsf@gnu.org> <87d0si1b41.fsf@gmail.com> <5BBDBC75.2010605@gmx.at> <875zya15cm.fsf@gmail.com> <1539193453.8755.14.camel@tjernlund.se> <871s8x0zgw.fsf@gmail.com> <87tvltylya.fsf@gmail.com> <5BBF08A6.3050604@gmx.at> <87pnwgzxuz.fsf@gmail.com> <5BBF10C4.4080008@gmx.at> <87lg74zvl5.fsf@gmail.com> <5BBF18C8.2040201@gmx.at> <87k1mo3j8z.fsf@gmail.com> <5BBF3BD1.4080204@gmx.at> <87efcw3c01.fsf@gmail.com> <5BBF555B.3020003@gmx.at> <87a7nk37d9.fsf@gmail.com> <1539287011.8755.15.camel@tjernlund.se> <1539287514.8755.17.camel@tjernlund.se> <5BBFBACE.3080402@gmx.at> <1539294898.8755.19.camel@tjernlund.se> <83sh1bwzyh.fsf@gnu.org> <1539322275.8755.23.camel@tjernlund.se> <83r2gvwu0l.fsf@gnu.org> <1539444400.8755.38.camel@tjernlund.se> <83va65tfsp.fsf@gnu.org> <1539505906.8755.41.camel@tjernlund.se> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 32975 Cc: 32975@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.0 (------) [PLEASE don't remove the bug address from the list of addressees.] > From: Tjernlund > Date: Sun, 14 Oct 2018 10:31:46 +0200 > > > That's a lot to consume. Let's start from the other end: if you have > > only this line in your .emacs: > > > > (setq initial-frame-alist '((background-color . "#333333") (foreground-color . "White") (cursor-color . "White"))) > > > > does it then work as expected? > > Did that and no, it does not work as expected. And if you invoke Emacs with "emacs --no-x-resources"? From debbugs-submit-bounces@debbugs.gnu.org Sun Oct 14 11:22:45 2018 Received: (at 32975) by debbugs.gnu.org; 14 Oct 2018 15:22:45 +0000 Received: from localhost ([127.0.0.1]:49452 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gBiE9-0000c1-0b for submit@debbugs.gnu.org; Sun, 14 Oct 2018 11:22:45 -0400 Received: from mailrelay2-1.pub.mailoutpod1-cph3.one.com ([46.30.210.183]:17552) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gBiE7-0000bt-3E for 32975@debbugs.gnu.org; Sun, 14 Oct 2018 11:22:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tjernlund.se; s=20140924; h=content-transfer-encoding:mime-version:content-type:references:in-reply-to: date:cc:to:from:subject:message-id:from; bh=CPpBWkueRX7QQeRCAP9qryFb164/8NW1fI+3MSgSHU0=; b=YGzZf1zFxmpkdvQ6rRTB9fruJ+oz6hoKlvuC/4fwRU/By8KQhgCMtkJQmXaqE4ijA50KlPSrEKojY 8XjOV6fwaYbxdnXTBT6Zg+4N2cDuU9O8aV14WzLsAX9Y7+70ryBMNFDxfsNKBg6saPCiAOmbo/kH9L c2d2C6kVZvRxuyYs= X-HalOne-Cookie: 756ee0e6ab0abf8aa8566c52395749e04e0c0bf0 X-HalOne-ID: fdaf9e76-cfc4-11e8-9b9d-d0431ea8a290 Received: from [192.168.0.136] (unknown [178.174.231.82]) by mailrelay2.pub.mailoutpod1-cph3.one.com (Halon) with ESMTPSA id fdaf9e76-cfc4-11e8-9b9d-d0431ea8a290; Sun, 14 Oct 2018 15:22:41 +0000 (UTC) Message-ID: <1539530561.8755.43.camel@tjernlund.se> Subject: Re: bug#32975: Emacs 26.1; GTK Warnings From: Tjernlund To: Eli Zaretskii Date: Sun, 14 Oct 2018 17:22:41 +0200 In-Reply-To: <83r2gstw34.fsf@gnu.org> References: <1538936366.8755.2.camel@tjernlund.se> <837eiryx33.fsf@gnu.org> <1539108072.8755.7.camel@tjernlund.se> <83zhvnx9ua.fsf@gnu.org> <1539110025.8755.10.camel@tjernlund.se> <83va6bx7a3.fsf@gnu.org> <87d0si1b41.fsf@gmail.com> <5BBDBC75.2010605@gmx.at> <875zya15cm.fsf@gmail.com> <1539193453.8755.14.camel@tjernlund.se> <871s8x0zgw.fsf@gmail.com> <87tvltylya.fsf@gmail.com> <5BBF08A6.3050604@gmx.at> <87pnwgzxuz.fsf@gmail.com> <5BBF10C4.4080008@gmx.at> <87lg74zvl5.fsf@gmail.com> <5BBF18C8.2040201@gmx.at> <87k1mo3j8z.fsf@gmail.com> <5BBF3BD1.4080204@gmx.at> <87efcw3c01.fsf@gmail.com> <5BBF555B.3020003@gmx.at> <87a7nk37d9.fsf@gmail.com> <1539287011.8755.15.camel@tjernlund.se> <1539287514.8755.17.camel@tjernlund.se> <5BBFBACE.3080402@gmx.at> <1539294898.8755.19.camel@tjernlund.se> <83sh1bwzyh.fsf@gnu.org> <1539322275.8755.23.camel@tjernlund.se> <83r2gvwu0l.fsf@gnu.org> <1539444400.8755.38.camel@tjernlund.se> <83va65tfsp.fsf@gnu.org> <1539505906.8755.41.camel@tjernlund.se> <83r2gstw34.fsf@gnu.org> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.26.6 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 32975 Cc: 32975@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On Sun, 2018-10-14 at 17:57 +0300, Eli Zaretskii wrote: > [PLEASE don't remove the bug address from the list of addressees.] > > > From: Tjernlund > > Date: Sun, 14 Oct 2018 10:31:46 +0200 > > > > > That's a lot to consume. Let's start from the other end: if you have > > > only this line in your .emacs: > > > > > > (setq initial-frame-alist '((background-color . "#333333") (foreground-color . "White") (cursor-color . > > > "White"))) > > > > > > does it then work as expected? > > > > Did that and no, it does not work as expected. > > And if you invoke Emacs with "emacs --no-x-resources"? That works ! :) I only need default-frame-alist settings then. Seems like MATE tries to control every background color there is: xrdb -query | grep background *Box.background: #edeceb *Button.background: #edeceb *Canvas.background: #edeceb *Canvas.selectbackground: #86abd9 *Checkbutton.background: #edeceb *Command.background: #edeceb *Dialog.background: #edeceb *Entry.background: #edeceb *Form.background: #edeceb *Frame.background: #edeceb *Label.background: #edeceb *Labelframe.background: #edeceb *List.background: #edeceb *Listbox.background: #edeceb *Menu.background: #edeceb *MenuButton.background: #edeceb *Menubutton.background: #edeceb *Radiobutton.background: #edeceb *Scale.background: #edeceb *Scrollbar*background: #edeceb *Scrollbar.background: #edeceb *SimpleMenu*background: #edeceb *Text.background: #edeceb *Toggle.background: #edeceb *Toplevel.background: #edeceb *XmCascadeButton.background: #edeceb *XmCascadeButtonGadget.background: #edeceb *XmDialogShell.background: #edeceb *XmFileSelectionBox.background: #edeceb *XmForm.background: #edeceb *XmFrame.background: #edeceb *XmLabel.background: #edeceb *XmLabelGadget.background: #edeceb *XmList.background: #edeceb *XmMenuShell.background: #edeceb *XmMessageBox.background: #edeceb *XmPanedWindow.background: #edeceb *XmPushButton.background: #edeceb *XmPushButtonGadget.background: #edeceb *XmRowColumn.background: #edeceb *XmSash.background: #edeceb *XmScrollBar.background: #edeceb *XmScrolledWindow.background: #edeceb *XmSelectionBox.background: #edeceb *XmSeparator.background: #edeceb *XmSeparatorGadget.background: #edeceb *XmTearOffButton.background: #edeceb *XmTearOffButtonGadget.background: #edeceb *XmText.background: #edeceb *XmTextField.background: #edeceb *XmToggleButton.background: #edeceb *XmToggleButtonGadget.background: #edeceb *background: #edeceb Emacs*Dialog*background: #edeceb Emacs*backgroundToolBarColor: #edeceb Emacs*menubar*background: #edeceb From debbugs-submit-bounces@debbugs.gnu.org Sun Oct 14 12:02:39 2018 Received: (at 32975) by debbugs.gnu.org; 14 Oct 2018 16:02:39 +0000 Received: from localhost ([127.0.0.1]:49466 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gBiqk-0001dI-SR for submit@debbugs.gnu.org; Sun, 14 Oct 2018 12:02:39 -0400 Received: from eggs.gnu.org ([208.118.235.92]:60468) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gBiqj-0001d4-Jw for 32975@debbugs.gnu.org; Sun, 14 Oct 2018 12:02:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gBiqZ-0007yR-At for 32975@debbugs.gnu.org; Sun, 14 Oct 2018 12:02:32 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:50138) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gBiqZ-0007x1-5Y; Sun, 14 Oct 2018 12:02:27 -0400 Received: from [176.228.60.248] (port=3218 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1gBiqS-0004YS-Uv; Sun, 14 Oct 2018 12:02:23 -0400 Date: Sun, 14 Oct 2018 19:02:29 +0300 Message-Id: <83k1mktt2i.fsf@gnu.org> From: Eli Zaretskii To: Tjernlund In-reply-to: <1539530561.8755.43.camel@tjernlund.se> (message from Tjernlund on Sun, 14 Oct 2018 17:22:41 +0200) Subject: Re: bug#32975: Emacs 26.1; GTK Warnings References: <1538936366.8755.2.camel@tjernlund.se> <837eiryx33.fsf@gnu.org> <1539108072.8755.7.camel@tjernlund.se> <83zhvnx9ua.fsf@gnu.org> <1539110025.8755.10.camel@tjernlund.se> <83va6bx7a3.fsf@gnu.org> <87d0si1b41.fsf@gmail.com> <5BBDBC75.2010605@gmx.at> <875zya15cm.fsf@gmail.com> <1539193453.8755.14.camel@tjernlund.se> <871s8x0zgw.fsf@gmail.com> <87tvltylya.fsf@gmail.com> <5BBF08A6.3050604@gmx.at> <87pnwgzxuz.fsf@gmail.com> <5BBF10C4.4080008@gmx.at> <87lg74zvl5.fsf@gmail.com> <5BBF18C8.2040201@gmx.at> <87k1mo3j8z.fsf@gmail.com> <5BBF3BD1.4080204@gmx.at> <87efcw3c01.fsf@gmail.com> <5BBF555B.3020003@gmx.at> <87a7nk37d9.fsf@gmail.com> <1539287011.8755.15.camel@tjernlund.se> <1539287514.8755.17.camel@tjernlund.se> <5BBFBACE.3080402@gmx.at> <1539294898.8755.19.camel@tjernlund.se> <83sh1bwzyh.fsf@gnu.org> <1539322275.8755.23.camel@tjernlund.se> <83r2gvwu0l.fsf@gnu.org> <1539444400.8755.38.camel@tjernlund.se> <83va65tfsp.fsf@gnu.org> <1539505906.8755.41.camel@tjernlund.se> <83r2gstw34.fsf@gnu.org> <1539530561.8755.43.camel@tjernlund.se> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 32975 Cc: 32975@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.0 (------) > From: Tjernlund > Cc: 32975@debbugs.gnu.org > Date: Sun, 14 Oct 2018 17:22:41 +0200 > > > > > (setq initial-frame-alist '((background-color . "#333333") (foreground-color . "White") (cursor-color . > > > > "White"))) > > > > > > > > does it then work as expected? > > > > > > Did that and no, it does not work as expected. > > > > And if you invoke Emacs with "emacs --no-x-resources"? > > That works ! :) > I only need default-frame-alist settings then. As expected. X resources override .emacs, at least for the colors. > Seems like MATE tries to control every background color there is: Yes, looks like that. From debbugs-submit-bounces@debbugs.gnu.org Sun Oct 14 16:00:45 2018 Received: (at 32975) by debbugs.gnu.org; 14 Oct 2018 20:00:45 +0000 Received: from localhost ([127.0.0.1]:49593 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gBmZA-0000sb-QM for submit@debbugs.gnu.org; Sun, 14 Oct 2018 16:00:44 -0400 Received: from mailrelay1-1.pub.mailoutpod1-cph3.one.com ([46.30.210.182]:60142) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gBmZ9-0000sR-1u for 32975@debbugs.gnu.org; Sun, 14 Oct 2018 16:00:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tjernlund.se; s=20140924; h=content-transfer-encoding:mime-version:content-type:references:in-reply-to: date:cc:to:from:subject:message-id:from; bh=gQVhmVrDpvQf5U1mLI6XTqAKX69UC7tHQYRgaASt+ZU=; b=WMGnpS9KJSZlGIsQpsoZsQ7m+1DoVVD1vAepJm8sEUEncuuKK+XXg+6ASbhqrw3rSAyrKB+ODl5PB wVnMs6vBuaDUmXYterJJzdJYzY5jRSwoi/yAfjjsqdECEJBeWPb/5NIciH+SCeou/07Pm/AzrU/qCv Ok5Rg2trj8fQdjSE= X-HalOne-Cookie: 37f3b9a612f6b562a6d3973e9d47ca24e60fa3eb X-HalOne-ID: d3ce304d-cfeb-11e8-942c-d0431ea8a283 Received: from [192.168.0.136] (unknown [178.174.231.82]) by mailrelay1.pub.mailoutpod1-cph3.one.com (Halon) with ESMTPSA id d3ce304d-cfeb-11e8-942c-d0431ea8a283; Sun, 14 Oct 2018 20:00:41 +0000 (UTC) Message-ID: <1539547241.8755.45.camel@tjernlund.se> Subject: Re: bug#32975: Emacs 26.1; GTK Warnings From: Tjernlund To: Eli Zaretskii Date: Sun, 14 Oct 2018 22:00:41 +0200 In-Reply-To: <83k1mktt2i.fsf@gnu.org> References: <1538936366.8755.2.camel@tjernlund.se> <837eiryx33.fsf@gnu.org> <1539108072.8755.7.camel@tjernlund.se> <83zhvnx9ua.fsf@gnu.org> <1539110025.8755.10.camel@tjernlund.se> <83va6bx7a3.fsf@gnu.org> <87d0si1b41.fsf@gmail.com> <5BBDBC75.2010605@gmx.at> <875zya15cm.fsf@gmail.com> <1539193453.8755.14.camel@tjernlund.se> <871s8x0zgw.fsf@gmail.com> <87tvltylya.fsf@gmail.com> <5BBF08A6.3050604@gmx.at> <87pnwgzxuz.fsf@gmail.com> <5BBF10C4.4080008@gmx.at> <87lg74zvl5.fsf@gmail.com> <5BBF18C8.2040201@gmx.at> <87k1mo3j8z.fsf@gmail.com> <5BBF3BD1.4080204@gmx.at> <87efcw3c01.fsf@gmail.com> <5BBF555B.3020003@gmx.at> <87a7nk37d9.fsf@gmail.com> <1539287011.8755.15.camel@tjernlund.se> <1539287514.8755.17.camel@tjernlund.se> <5BBFBACE.3080402@gmx.at> <1539294898.8755.19.camel@tjernlund.se> <83sh1bwzyh.fsf@gnu.org> <1539322275.8755.23.camel@tjernlund.se> <83r2gvwu0l.fsf@gnu.org> <1539444400.8755.38.camel@tjernlund.se> <83va65tfsp.fsf@gnu.org> <1539505906.8755.41.camel@tjernlund.se> <83r2gstw34.fsf@gnu.org> <1539530561.8755.43.camel@tjernlund.se> <83k1mktt2i.fsf@gnu.org> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.26.6 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 32975 Cc: 32975@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On Sun, 2018-10-14 at 19:02 +0300, Eli Zaretskii wrote: > > From: Tjernlund > > Cc: 32975@debbugs.gnu.org > > Date: Sun, 14 Oct 2018 17:22:41 +0200 > > > > > > > (setq initial-frame-alist '((background-color . "#333333") (foreground-color . "White") (cursor-color . > > > > > "White"))) > > > > > > > > > > does it then work as expected? > > > > > > > > Did that and no, it does not work as expected. > > > > > > And if you invoke Emacs with "emacs --no-x-resources"? > > > > That works ! :) > > I only need default-frame-alist settings then. > > As expected. X resources override .emacs, at least for the colors. Not quite to me in this case. I would expect initial frame inherit default frame in this case too. Jocke From unknown Sun Jun 22 22:47:49 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 12 Nov 2018 12:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator