From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tomasz Gajewski Newsgroups: gmane.emacs.devel Subject: Re: Background color in emacs on vncserver Date: Sun, 07 Dec 2014 13:28:53 +0100 Message-ID: <87388rbq4a.fsf@tt.com.pl> References: <87oarghkx1.fsf@tt.com.pl> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1417955360 25474 80.91.229.3 (7 Dec 2014 12:29:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 7 Dec 2014 12:29:20 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Dec 07 13:29:14 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Xxaxb-0000TB-OQ for ged-emacs-devel@m.gmane.org; Sun, 07 Dec 2014 13:29:11 +0100 Original-Received: from localhost ([::1]:57787 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xxaxa-0004Ip-V0 for ged-emacs-devel@m.gmane.org; Sun, 07 Dec 2014 07:29:10 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39188) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XxaxS-0004Ij-Kx for emacs-devel@gnu.org; Sun, 07 Dec 2014 07:29:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XxaxM-0000qE-Is for emacs-devel@gnu.org; Sun, 07 Dec 2014 07:29:02 -0500 Original-Received: from mx4.wp.pl ([212.77.101.11]:35188) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XxaxM-0000pt-5W for emacs-devel@gnu.org; Sun, 07 Dec 2014 07:28:56 -0500 Original-Received: (wp-smtpd smtp.wp.pl 27950 invoked from network); 7 Dec 2014 13:28:54 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wp.pl; s=1024a; t=1417955334; bh=/CUoMi4+0G5XcE0GPqP+gBjbf+Bi3ZxzERPTDPbTTLc=; h=From:To:Subject; b=CDQJ03DTJgoZGG968F/Gh4zVI1Mupkj1AhtZHf3Rj0u9DXITArm8+2q2kkbN3vaCK TqI7lYZR6cnEJPi858cP/tq02JqdmhtKvf3JSTxWgYEAMaS7LllXB32s0SqLjEoKXV cFJUxD+lanyEIpUmmJbdTgHc6nFaD1nkXQ/NexX0= Original-Received: from unknown (HELO l0579) (tomga@[195.191.184.30]) (envelope-sender ) by smtp.wp.pl (WP-SMTPD) with DHE-RSA-AES256-SHA256 encrypted SMTP for ; 7 Dec 2014 13:28:54 +0100 In-Reply-To: <87oarghkx1.fsf@tt.com.pl> (Tomasz Gajewski's message of "Sat, 06 Dec 2014 16:12:26 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) X-WP-AV: skaner antywirusowy poczty Wirtualnej Polski S. A. X-WP-SPAM: NO 0000000 [gVON] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 212.77.101.11 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:179262 Archived-At: Tomasz Gajewski writes: > I'm often using emacs on remote vnc server I get different background > color under text and different in the rest of buffer even though I'm > setting them both to the same color. Effect is not annoying when using > vnc with full color but when using vncviewer with limited colors > (LowColourLevel=2) it can look really ugly, as can be seen on attached > image. > Following to myself I've found out that issue disappears if I set depth of vncserver to 24 bits (default is 16) no matter what vncviewer color depth I use. So probably a toolkit/library used to draw background under text and other one used for drawing background outside of text differently map color from outside of server palette to available color. For me the problem is solved although behaviour with lower bit depth is expected. Should I file a bug report about it? -- Tomasz