From unknown Wed Jun 25 02:09:31 2025 X-Loop: help-debbugs@gnu.org Subject: bug#12612: 24.2.50; Frame Background RGB(1,1,1) Darker Than Set Using GTK3 Resent-From: Taylor Venable Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 09 Oct 2012 18:59:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 12612 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 12612@debbugs.gnu.org X-Debbugs-Original-To: "bug-gnu-emacs@gnu.org" Received: via spool by submit@debbugs.gnu.org id=B.134980910218600 (code B ref -1); Tue, 09 Oct 2012 18:59:02 +0000 Received: (at submit) by debbugs.gnu.org; 9 Oct 2012 18:58:22 +0000 Received: from localhost ([127.0.0.1]:36134 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TLf0W-0004pt-O8 for submit@debbugs.gnu.org; Tue, 09 Oct 2012 14:58:21 -0400 Received: from eggs.gnu.org ([208.118.235.92]:33546) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TLef2-00041y-JT for submit@debbugs.gnu.org; Tue, 09 Oct 2012 14:36:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TLeeM-0008Aa-QY for submit@debbugs.gnu.org; Tue, 09 Oct 2012 14:35:28 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:36351) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TLeeM-00089l-Nn for submit@debbugs.gnu.org; Tue, 09 Oct 2012 14:35:26 -0400 Received: from eggs.gnu.org ([208.118.235.92]:46001) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TLeeF-0002N0-KU for bug-gnu-emacs@gnu.org; Tue, 09 Oct 2012 14:35:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TLee5-0007uw-Nm for bug-gnu-emacs@gnu.org; Tue, 09 Oct 2012 14:35:19 -0400 Received: from hermes.med-web.com ([64.186.39.16]:43365) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TLee5-0007rh-HQ for bug-gnu-emacs@gnu.org; Tue, 09 Oct 2012 14:35:09 -0400 Received: from mercury.mieweb.com (mercury.med-web.com [192.168.240.16]) by hermes.med-web.com (Postfix) with ESMTP id 09ACC1F49BC6 for ; Tue, 9 Oct 2012 14:11:20 -0400 (EDT) Received: from mercury.mieweb.com ([192.168.240.16]) by mercury.mieweb.com ([192.168.240.16]) with mapi; Tue, 9 Oct 2012 14:11:21 -0400 From: Taylor Venable Date: Tue, 9 Oct 2012 14:11:09 -0400 Thread-Topic: 24.2.50; Frame Background RGB(1,1,1) Darker Than Set Using GTK3 Thread-Index: Ac2mSTLXixnMCekNQbmZGe0PPZFOlQ== Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MIE-MailScanner-Information: Scanned at MIE X-MIE-MailScanner: Found to be clean X-MIE-MailScanner-SpamCheck: not spam (whitelisted), SpamAssassin (not cached, score=-1.44, required 2, autolearn=disabled, ALL_TRUSTED -1.44) X-MIE-MailScanner-From: tvenable@mieweb.com X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 208.118.235.17 X-Spam-Score: -6.9 (------) X-Mailman-Approved-At: Tue, 09 Oct 2012 14:58:18 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) When using GTK3, any time one sets the frame background (e.g. from startup, or using set-frame-parameter) there is a difference between the background color of the part of the frame with text, and the part of the frame without. The part with text is correct, but the part of the frame without is darker by 1 bit in all three RGB attributes. For example, the default background is white; if you take a screenshot and look at the result in the GIMP you will find that space between text is #ffffff, whereas the background after the end of the line or buffer is #fefefe. Only with GTK3 have I noticed this; with GTK2 this does not occur. It happens with -Q. You don't notice it with light (Emacs) themes, but on my monitor I can see it with darker (Emacs) themes fairly easily. When in doubt, you can always check with a screenshot. The exception is if the background is set to #000000, in which case everything has a background of #000000 as it should. I have no GTK3 theme set. Thanks for having a look. In GNU Emacs 24.2.50.2 (x86_64-unknown-linux-gnu, GTK+ Version 3.4.4) of 2012-10-09 on trantor Bzr revision: monnier@iro.umontreal.ca-20121009163751-ui2zwwoaj8bqwj52 Windowing system distributor `The X.Org Foundation', version 11.0.11204000 Configured using: `configure '--prefix=3D/usr' '--sysconfdir=3D/etc' '--localstatedir=3D/var= ' '--libexecdir=3D/usr/lib' '--mandir=3D/usr/share/man' '--without-sound' '--with-xft' '--with-x-toolkit=3Dgtk3' 'CFLAGS=3D-march=3Dx86-64 -mtune=3Dgeneric -O2 -pipe -fstack-protector --param=3Dssp-buffer-size=3D4 -D_FORTIFY_SOURCE=3D2' 'LDFLAGS=3D-Wl,-O1,--sort-common,--as-needed,-z,relro'' Important settings: value of $LC_COLLATE: POSIX value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Lisp Interaction Minor modes in effect: tooltip-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 Recent input: =20 =20 Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Load-path shadows: None found. Features: (shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml easymenu mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils time-date tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs) From unknown Wed Jun 25 02:09:31 2025 X-Loop: help-debbugs@gnu.org Subject: bug#12612: 24.2.50; Frame Background RGB(1,1,1) Darker Than Set Using GTK3 Resent-From: Stephen Berman Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 09 Oct 2012 20:22:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12612 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Taylor Venable Cc: 12612@debbugs.gnu.org Received: via spool by 12612-submit@debbugs.gnu.org id=B12612.134981406330351 (code B ref 12612); Tue, 09 Oct 2012 20:22:01 +0000 Received: (at 12612) by debbugs.gnu.org; 9 Oct 2012 20:21:03 +0000 Received: from localhost ([127.0.0.1]:36284 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TLgIX-0007tM-V3 for submit@debbugs.gnu.org; Tue, 09 Oct 2012 16:21:03 -0400 Received: from mailout-de.gmx.net ([213.165.64.22]:39581) by debbugs.gnu.org with smtp (Exim 4.72) (envelope-from ) id 1TLgIU-0007sp-56 for 12612@debbugs.gnu.org; Tue, 09 Oct 2012 16:21:00 -0400 Received: (qmail invoked by alias); 09 Oct 2012 20:18:07 -0000 Received: from i59F56607.versanet.de (EHLO rosalinde.fritz.box) [89.245.102.7] by mail.gmx.net (mp020) with SMTP; 09 Oct 2012 22:18:07 +0200 X-Authenticated: #20778731 X-Provags-ID: V01U2FsdGVkX18vtCt9qoMvSKYxCGjUVXenbCgr7rTey80gUT1RKm QGkvHWjIJ5lh/h From: Stephen Berman References: Date: Tue, 09 Oct 2012 22:18:02 +0200 In-Reply-To: (Taylor Venable's message of "Tue, 9 Oct 2012 14:11:09 -0400") Message-ID: <87r4p7s8lh.fsf@rosalinde.fritz.box> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Y-GMX-Trusted: 0 X-Spam-Score: -1.3 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.3 (-) On Tue, 9 Oct 2012 14:11:09 -0400 Taylor Venable wrote: > When using GTK3, any time one sets the frame background (e.g. from > startup, or using set-frame-parameter) there is a difference between the > background color of the part of the frame with text, and the part of the > frame without. The part with text is correct, but the part of the frame > without is darker by 1 bit in all three RGB attributes. For example, the > default background is white; if you take a screenshot and look at the > result in the GIMP you will find that space between text is #ffffff, > whereas the background after the end of the line or buffer is #fefefe. > > Only with GTK3 have I noticed this; with GTK2 this does not occur. I confirm both these observations. > happens with -Q. You don't notice it with light (Emacs) themes, but on > my monitor I can see it with darker (Emacs) themes fairly easily. When > in doubt, you can always check with a screenshot. On my monitor (and with my eyes) I can't tell the difference, but when I used a color picker program it showed just what you describe. > The exception is if > the background is set to #000000, in which case everything has a > background of #000000 as it should. I guess that's no exception, since there are no negative RGB values. > I have no GTK3 theme set. Thanks for having a look. I'm using oxygen-gtk on KDE4. > In GNU Emacs 24.2.50.2 (x86_64-unknown-linux-gnu, GTK+ Version 3.4.4) > of 2012-10-09 on trantor > Bzr revision: monnier@iro.umontreal.ca-20121009163751-ui2zwwoaj8bqwj52 Mine: GNU Emacs 24.2.50.1 (x86_64-suse-linux-gnu, GTK+ Version 3.4.4) of 2012-10-03 on rosalinde Bzr revision 110349 eggert@cs.ucla.edu-20121002193810-gu1indup6lry2cxn (Not seen on GNU Emacs 23.3.1 (x86_64-suse-linux-gnu, GTK+ Version 2.24.10) of 2012-08-15 on build21.) From unknown Wed Jun 25 02:09:31 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.428 (Entity 5.428) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Taylor Venable Subject: bug#12612: closed (Re: bug#12612: 24.2.50; Frame Background RGB(1,1,1) Darker Than Set Using GTK3) Message-ID: References: <66CB2C33-6F3C-49EF-92BE-E5753BED5AB3@swipnet.se> X-Gnu-PR-Message: they-closed 12612 X-Gnu-PR-Package: emacs Reply-To: 12612@debbugs.gnu.org Date: Sat, 13 Oct 2012 21:54:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1350165242-24764-1" This is a multi-part message in MIME format... ------------=_1350165242-24764-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #12612: 24.2.50; Frame Background RGB(1,1,1) Darker Than Set Using GTK3 which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 12612@debbugs.gnu.org. --=20 12612: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D12612 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1350165242-24764-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 12612-done) by debbugs.gnu.org; 13 Oct 2012 21:53:52 +0000 Received: from localhost ([127.0.0.1]:42856 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TN9eZ-0006R5-Rh for submit@debbugs.gnu.org; Sat, 13 Oct 2012 17:53:52 -0400 Received: from mailout.melmac.se ([62.20.26.67]:57216) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TN9eX-0006Qq-M6 for 12612-done@debbugs.gnu.org; Sat, 13 Oct 2012 17:53:51 -0400 Received: from mail01.melmac.se (mail01.melmac.se [62.20.26.80]) by mailout.melmac.se (Postfix) with ESMTP id 162519933 for <12612-done@debbugs.gnu.org>; Sat, 13 Oct 2012 23:52:44 +0200 (CEST) Received: (qmail 7370 invoked by uid 89); 13 Oct 2012 21:52:09 -0000 Received: from h-46-59-42-18.na.cust.bahnhof.se (HELO coolsville.localdomain) (boel.djarv@bdtv.se@46.59.42.18) by mail01.melmac.se with ESMTPA; 13 Oct 2012 21:52:09 -0000 Received: from [172.20.199.13] (zeplin [172.20.199.13]) by coolsville.localdomain (Postfix) with ESMTPSA id 18DAC7FA05E; Sat, 13 Oct 2012 23:52:44 +0200 (CEST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) Subject: Re: bug#12612: 24.2.50; Frame Background RGB(1,1,1) Darker Than Set Using GTK3 From: =?iso-8859-1?Q?Jan_Dj=E4rv?= In-Reply-To: <87r4p7s8lh.fsf@rosalinde.fritz.box> Date: Sat, 13 Oct 2012 23:52:45 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <66CB2C33-6F3C-49EF-92BE-E5753BED5AB3@swipnet.se> References: <87r4p7s8lh.fsf@rosalinde.fritz.box> To: Stephen Berman X-Mailer: Apple Mail (2.1499) X-Spam-Score: 1.5 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hello. I think I fixed this, please test it. Thanks, [...] Content analysis details: (1.5 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.7 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 0.8 BAYES_50 BODY: Bayes spam probability is 40 to 60% [score: 0.5000] X-Debbugs-Envelope-To: 12612-done Cc: 12612-done@debbugs.gnu.org, Taylor Venable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: 1.5 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hello. I think I fixed this, please test it. Thanks, [...] Content analysis details: (1.5 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.7 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 0.8 BAYES_50 BODY: Bayes spam probability is 40 to 60% [score: 0.5000] Hello. I think I fixed this, please test it. Thanks, Jan D. 9 okt 2012 kl. 22:18 skrev Stephen Berman : > On Tue, 9 Oct 2012 14:11:09 -0400 Taylor Venable = wrote: >=20 >> When using GTK3, any time one sets the frame background (e.g. from >> startup, or using set-frame-parameter) there is a difference between = the >> background color of the part of the frame with text, and the part of = the >> frame without. The part with text is correct, but the part of the = frame >> without is darker by 1 bit in all three RGB attributes. For example, = the >> default background is white; if you take a screenshot and look at the >> result in the GIMP you will find that space between text is #ffffff, >> whereas the background after the end of the line or buffer is = #fefefe. >>=20 >> Only with GTK3 have I noticed this; with GTK2 this does not occur.=20 >=20 > I confirm both these observations. >=20 >> happens with -Q. You don't notice it with light (Emacs) themes, but = on >> my monitor I can see it with darker (Emacs) themes fairly easily. = When >> in doubt, you can always check with a screenshot.=20 >=20 > On my monitor (and with my eyes) I can't tell the difference, but when = I > used a color picker program it showed just what you describe. >=20 >> The exception is if >> the background is set to #000000, in which case everything has a >> background of #000000 as it should. >=20 > I guess that's no exception, since there are no negative RGB values. >=20 >> I have no GTK3 theme set. Thanks for having a look. >=20 > I'm using oxygen-gtk on KDE4. >=20 >> In GNU Emacs 24.2.50.2 (x86_64-unknown-linux-gnu, GTK+ Version 3.4.4) >> of 2012-10-09 on trantor >> Bzr revision: = monnier@iro.umontreal.ca-20121009163751-ui2zwwoaj8bqwj52 >=20 > Mine: GNU Emacs 24.2.50.1 (x86_64-suse-linux-gnu, GTK+ Version 3.4.4) = of > 2012-10-03 on rosalinde > Bzr revision 110349 eggert@cs.ucla.edu-20121002193810-gu1indup6lry2cxn >=20 > (Not seen on GNU Emacs 23.3.1 (x86_64-suse-linux-gnu, GTK+ Version > 2.24.10) of 2012-08-15 on build21.) >=20 >=20 ------------=_1350165242-24764-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 9 Oct 2012 18:58:22 +0000 Received: from localhost ([127.0.0.1]:36134 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TLf0W-0004pt-O8 for submit@debbugs.gnu.org; Tue, 09 Oct 2012 14:58:21 -0400 Received: from eggs.gnu.org ([208.118.235.92]:33546) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TLef2-00041y-JT for submit@debbugs.gnu.org; Tue, 09 Oct 2012 14:36:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TLeeM-0008Aa-QY for submit@debbugs.gnu.org; Tue, 09 Oct 2012 14:35:28 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:36351) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TLeeM-00089l-Nn for submit@debbugs.gnu.org; Tue, 09 Oct 2012 14:35:26 -0400 Received: from eggs.gnu.org ([208.118.235.92]:46001) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TLeeF-0002N0-KU for bug-gnu-emacs@gnu.org; Tue, 09 Oct 2012 14:35:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TLee5-0007uw-Nm for bug-gnu-emacs@gnu.org; Tue, 09 Oct 2012 14:35:19 -0400 Received: from hermes.med-web.com ([64.186.39.16]:43365) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TLee5-0007rh-HQ for bug-gnu-emacs@gnu.org; Tue, 09 Oct 2012 14:35:09 -0400 Received: from mercury.mieweb.com (mercury.med-web.com [192.168.240.16]) by hermes.med-web.com (Postfix) with ESMTP id 09ACC1F49BC6 for ; Tue, 9 Oct 2012 14:11:20 -0400 (EDT) Received: from mercury.mieweb.com ([192.168.240.16]) by mercury.mieweb.com ([192.168.240.16]) with mapi; Tue, 9 Oct 2012 14:11:21 -0400 From: Taylor Venable To: "bug-gnu-emacs@gnu.org" Date: Tue, 9 Oct 2012 14:11:09 -0400 Subject: 24.2.50; Frame Background RGB(1,1,1) Darker Than Set Using GTK3 Thread-Topic: 24.2.50; Frame Background RGB(1,1,1) Darker Than Set Using GTK3 Thread-Index: Ac2mSTLXixnMCekNQbmZGe0PPZFOlQ== Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MIE-MailScanner-Information: Scanned at MIE X-MIE-MailScanner: Found to be clean X-MIE-MailScanner-SpamCheck: not spam (whitelisted), SpamAssassin (not cached, score=-1.44, required 2, autolearn=disabled, ALL_TRUSTED -1.44) X-MIE-MailScanner-From: tvenable@mieweb.com X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 208.118.235.17 X-Spam-Score: -6.9 (------) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Tue, 09 Oct 2012 14:58:18 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) When using GTK3, any time one sets the frame background (e.g. from startup, or using set-frame-parameter) there is a difference between the background color of the part of the frame with text, and the part of the frame without. The part with text is correct, but the part of the frame without is darker by 1 bit in all three RGB attributes. For example, the default background is white; if you take a screenshot and look at the result in the GIMP you will find that space between text is #ffffff, whereas the background after the end of the line or buffer is #fefefe. Only with GTK3 have I noticed this; with GTK2 this does not occur. It happens with -Q. You don't notice it with light (Emacs) themes, but on my monitor I can see it with darker (Emacs) themes fairly easily. When in doubt, you can always check with a screenshot. The exception is if the background is set to #000000, in which case everything has a background of #000000 as it should. I have no GTK3 theme set. Thanks for having a look. In GNU Emacs 24.2.50.2 (x86_64-unknown-linux-gnu, GTK+ Version 3.4.4) of 2012-10-09 on trantor Bzr revision: monnier@iro.umontreal.ca-20121009163751-ui2zwwoaj8bqwj52 Windowing system distributor `The X.Org Foundation', version 11.0.11204000 Configured using: `configure '--prefix=3D/usr' '--sysconfdir=3D/etc' '--localstatedir=3D/var= ' '--libexecdir=3D/usr/lib' '--mandir=3D/usr/share/man' '--without-sound' '--with-xft' '--with-x-toolkit=3Dgtk3' 'CFLAGS=3D-march=3Dx86-64 -mtune=3Dgeneric -O2 -pipe -fstack-protector --param=3Dssp-buffer-size=3D4 -D_FORTIFY_SOURCE=3D2' 'LDFLAGS=3D-Wl,-O1,--sort-common,--as-needed,-z,relro'' Important settings: value of $LC_COLLATE: POSIX value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Lisp Interaction Minor modes in effect: tooltip-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 Recent input: =20 =20 Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Load-path shadows: None found. Features: (shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml easymenu mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils time-date tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs) ------------=_1350165242-24764-1-- From unknown Wed Jun 25 02:09:31 2025 X-Loop: help-debbugs@gnu.org Subject: bug#12612: 24.2.50; Frame Background RGB(1,1,1) Darker Than Set Using GTK3 Resent-From: Stephen Berman Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 14 Oct 2012 09:36:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12612 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 12612@debbugs.gnu.org Cc: jan.h.d@swipnet.se Received: via spool by 12612-submit@debbugs.gnu.org id=B12612.135020731120393 (code B ref 12612); Sun, 14 Oct 2012 09:36:02 +0000 Received: (at 12612) by debbugs.gnu.org; 14 Oct 2012 09:35:11 +0000 Received: from localhost ([127.0.0.1]:43231 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TNKbG-0005Ir-G3 for submit@debbugs.gnu.org; Sun, 14 Oct 2012 05:35:11 -0400 Received: from mailout-de.gmx.net ([213.165.64.22]:42995) by debbugs.gnu.org with smtp (Exim 4.72) (envelope-from ) id 1TNKbE-0005Id-AZ for 12612@debbugs.gnu.org; Sun, 14 Oct 2012 05:35:09 -0400 Received: (qmail invoked by alias); 14 Oct 2012 09:34:01 -0000 Received: from i59F5559F.versanet.de (EHLO rosalinde.fritz.box) [89.245.85.159] by mail.gmx.net (mp070) with SMTP; 14 Oct 2012 11:34:01 +0200 X-Authenticated: #20778731 X-Provags-ID: V01U2FsdGVkX181KGQ0PD01+DmvynIT76xC4wliRx7julFoTbJteF W6Mbn9ui9wv4wW From: Stephen Berman References: <87r4p7s8lh.fsf@rosalinde.fritz.box> <66CB2C33-6F3C-49EF-92BE-E5753BED5AB3@swipnet.se> Date: Sun, 14 Oct 2012 11:33:59 +0200 In-Reply-To: <66CB2C33-6F3C-49EF-92BE-E5753BED5AB3@swipnet.se> ("Jan \=\?utf-8\?Q\?Dj\=C3\=A4rv\=22's\?\= message of "Sat, 13 Oct 2012 23:52:45 +0200") Message-ID: <87ipadtn20.fsf@rosalinde.fritz.box> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Y-GMX-Trusted: 0 X-Spam-Score: -1.3 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.3 (-) On Sat, 13 Oct 2012 23:52:45 +0200 Jan Dj=C3=A4rv wrot= e: > Hello. > > I think I fixed this, please test it. It's fixed for me (judging by my color picker tool). Thanks. Steve Berman From unknown Wed Jun 25 02:09:31 2025 X-Loop: help-debbugs@gnu.org Subject: bug#12612: 24.2.50; Frame Background RGB(1,1,1) Darker Than Set Using GTK3 Resent-From: Taylor Venable Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 15 Oct 2012 13:32:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12612 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Jan =?UTF-8?Q?Dj=C3=A4rv?= , Stephen Berman Cc: "12612-done@debbugs.gnu.org" <12612-done@debbugs.gnu.org> Received: via spool by 12612-done@debbugs.gnu.org id=D12612.135030790728421 (code D ref 12612); Mon, 15 Oct 2012 13:32:02 +0000 Received: (at 12612-done) by debbugs.gnu.org; 15 Oct 2012 13:31:47 +0000 Received: from localhost ([127.0.0.1]:44866 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TNklm-0007OM-H2 for submit@debbugs.gnu.org; Mon, 15 Oct 2012 09:31:46 -0400 Received: from hermes.med-web.com ([64.186.39.16]:51895) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TNkli-0007OC-MM for 12612-done@debbugs.gnu.org; Mon, 15 Oct 2012 09:31:44 -0400 Received: from mercury.mieweb.com (mercury.med-web.com [192.168.240.16]) by hermes.med-web.com (Postfix) with ESMTP id 9B9A42F28423; Mon, 15 Oct 2012 09:30:08 -0400 (EDT) Received: from mercury.mieweb.com ([192.168.240.16]) by mercury.mieweb.com ([192.168.240.16]) with mapi; Mon, 15 Oct 2012 09:30:09 -0400 From: Taylor Venable Date: Mon, 15 Oct 2012 09:30:03 -0400 Thread-Topic: bug#12612: 24.2.50; Frame Background RGB(1,1,1) Darker Than Set Using GTK3 Thread-Index: Ac2pjfx2dgjINtDLRzWZLWTf9R2qDgBSxVRQ Message-ID: References: <87r4p7s8lh.fsf@rosalinde.fritz.box> <66CB2C33-6F3C-49EF-92BE-E5753BED5AB3@swipnet.se> In-Reply-To: <66CB2C33-6F3C-49EF-92BE-E5753BED5AB3@swipnet.se> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MIE-MailScanner-Information: Scanned at MIE X-MIE-MailScanner: Found to be clean X-MIE-MailScanner-SpamCheck: not spam (whitelisted), SpamAssassin (not cached, score=-1.44, required 2, autolearn=disabled, ALL_TRUSTED -1.44) X-MIE-MailScanner-From: tvenable@mieweb.com X-Spam-Score: 0.8 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: 0.8 (/) Works for me, thank you! -----Original Message----- From: Jan Dj=E4rv [mailto:jan.h.d@swipnet.se]=20 Sent: Saturday, October 13, 2012 5:53 PM To: Stephen Berman Cc: Taylor Venable; 12612-done@debbugs.gnu.org Subject: Re: bug#12612: 24.2.50; Frame Background RGB(1,1,1) Darker Than Se= t Using GTK3 Hello. I think I fixed this, please test it. Thanks, Jan D. 9 okt 2012 kl. 22:18 skrev Stephen Berman : > On Tue, 9 Oct 2012 14:11:09 -0400 Taylor Venable wr= ote: >=20 >> When using GTK3, any time one sets the frame background (e.g. from=20 >> startup, or using set-frame-parameter) there is a difference between=20 >> the background color of the part of the frame with text, and the part=20 >> of the frame without. The part with text is correct, but the part of=20 >> the frame without is darker by 1 bit in all three RGB attributes. For=20 >> example, the default background is white; if you take a screenshot=20 >> and look at the result in the GIMP you will find that space between=20 >> text is #ffffff, whereas the background after the end of the line or buf= fer is #fefefe. >>=20 >> Only with GTK3 have I noticed this; with GTK2 this does not occur.=20 >=20 > I confirm both these observations. >=20 >> happens with -Q. You don't notice it with light (Emacs) themes, but=20 >> on my monitor I can see it with darker (Emacs) themes fairly easily.=20 >> When in doubt, you can always check with a screenshot. >=20 > On my monitor (and with my eyes) I can't tell the difference, but when=20 > I used a color picker program it showed just what you describe. >=20 >> The exception is if=20 >> the background is set to #000000, in which case everything has a=20 >> background of #000000 as it should. >=20 > I guess that's no exception, since there are no negative RGB values. >=20 >> I have no GTK3 theme set. Thanks for having a look. >=20 > I'm using oxygen-gtk on KDE4. >=20 >> In GNU Emacs 24.2.50.2 (x86_64-unknown-linux-gnu, GTK+ Version 3.4.4)=20 >> of 2012-10-09 on trantor Bzr revision:=20 >> monnier@iro.umontreal.ca-20121009163751-ui2zwwoaj8bqwj52 >=20 > Mine: GNU Emacs 24.2.50.1 (x86_64-suse-linux-gnu, GTK+ Version 3.4.4)=20 > of > 2012-10-03 on rosalinde > Bzr revision 110349 eggert@cs.ucla.edu-20121002193810-gu1indup6lry2cxn >=20 > (Not seen on GNU Emacs 23.3.1 (x86_64-suse-linux-gnu, GTK+ Version > 2.24.10) of 2012-08-15 on build21.) >=20 >=20