GNU bug report logs - #10397
[PATCH] Under Remote Desktop, NUMCOLORS is unreliable; workaround

Previous Next

Package: emacs;

Reported by: Daniel Colascione <dancol <at> dancol.org>

Date: Thu, 29 Dec 2011 14:10:02 UTC

Severity: normal

Tags: patch

Fixed in version 24.3

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #23 received at 10397 <at> debbugs.gnu.org (full text, mbox):

From: Daniel Colascione <dancol <at> dancol.org>
To: Juanma Barranquero <lekktu <at> gmail.com>
Cc: 10397 <at> debbugs.gnu.org
Subject: Re: bug#10397: [PATCH] Under Remote Desktop, NUMCOLORS is unreliable; 
	workaround
Date: Thu, 29 Dec 2011 14:59:11 -0800
[Message part 1 (text/plain, inline)]
On 12/29/11 8:45 AM, Juanma Barranquero wrote:
> On Thu, Dec 29, 2011 at 17:42, Daniel Colascione <dancol <at> dancol.org> wrote:
> 
>> I'm not convinced there aren't other bugs lurking in the code backing
>> NUMCOLORS; after all, it's doing the same simple calculation we are, and
>> it's somehow doing it wrong.
> 
> You have also no proof. I don't see why should we try to fix bugs we
> don't even know are real. Better to fiix the one you know it *is*
> real, IMO.

What about this: we'll distrust any NUMCOLORS response less than 256.
You'll never use direct color with a bit depth that small, so any answer
in that range must be bogus.  This approach would address my concerns
about wrong values other than exactly 20 being returned.

[signature.asc (application/pgp-signature, attachment)]

This bug report was last modified 8 years and 240 days ago.

Previous Next


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