Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
Ģ Groups Home
MacVim displays colors too bright
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  5 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Jim Jones  
View profile  
 More options Aug 31 2009, 7:20 pm
From: Jim Jones <jjimjjo...@googlemail.com>
Date: Tue, 01 Sep 2009 01:20:51 +0200
Local: Mon, Aug 31 2009 7:20 pm
Subject: MacVim displays colors too bright
Hi guys,

I have an obscure problem with my MacVim,
it renders all colors too bright.

It does that in both the stable version and snapshot 49. ATSUI renderer
on/off doesn't matter. Starting without any .vim or .vimrc.

The following commands gives me a background color
of #1A1A1A (determined by colorpicker):

:hi Normal guibg=#101010 guifg=#ffffff gui=none

I tried :set bg=dark but that doesn't help.

For a more illustrative example here's a screenshot of the
"kellys" theme side-by-side in Firefox (source: http://is.gd/2K9Cx),
iterm and MacVim: http://is.gd/2K9Bu

As you can see the colors are also slightly off in iterm
(still bearable to me) but completely washed out in MacVim.

I'm on Leopard 10.5.8 and, as far as I know, have nothing installed that
should futz with color values in individual windows. I also haven't seen
 color problems in any other app. #101010 displays as #101010 in
firefox, for example.

Anyone have an idea what the heck could be going on here?

cheers
-jj


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Nikola Knežević  
View profile  
 More options Sep 2 2009, 11:18 am
From: Nikola Knežević <laladelausa...@gmail.com>
Date: Wed, 2 Sep 2009 17:18:46 +0200
Local: Wed, Sep 2 2009 11:18 am
Subject: Re: MacVim displays colors too bright
On 01.09.2009, at 01:20 , Jim Jones wrote:

> I have an obscure problem with my MacVim,
> it renders all colors too bright.

> Anyone have an idea what the heck could be going on here?

I've noticed this as well. At first (due to the color theme I'm using)  
I though colours look washed out. After running the same comparisons  
you did, it seems they are indeed brighter.

Cheers,
Nikola


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
björn  
View profile  
 More options Sep 3 2009, 9:26 am
From: björn <bjorn.winck...@gmail.com>
Date: Thu, 3 Sep 2009 15:26:49 +0200
Local: Thurs, Sep 3 2009 9:26 am
Subject: Re: MacVim displays colors too bright
2009/9/2 Nikola Knežević:

> On 01.09.2009, at 01:20 , Jim Jones wrote:

>> I have an obscure problem with my MacVim,
>> it renders all colors too bright.

>> Anyone have an idea what the heck could be going on here?

> I've noticed this as well. At first (due to the color theme I'm using)
> I though colours look washed out. After running the same comparisons
> you did, it seems they are indeed brighter.

I guess it is due to the fact that I use

+[NSColor colorWithCalibratedRed:green:blue:alpha:]

to create colors.  It may be more appropriate to use

+[NSColor colorWithDeviceRed:green:blue:alpha:]

but I never really "got" the distinction between "device" and
"calibrated" colors.

I anybody feels like helping, then please try using the latter instead
of the former and see if that does the trick.  There should only be
two places in the code that needs changing and that is in MacVim.m
inside the colorWithRgbInt and colorWithArgbInt methods.  Let me know
how it goes.

Also, to anybody with a clue when it comes to color issues like this:
feel free to enlighten me on this subject.

Björn


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
David Morel  
View profile  
 More options Sep 3 2009, 6:27 pm
From: David Morel <dmore...@gmail.com>
Date: Fri, 4 Sep 2009 00:27:00 +0200
Subject: Re: MacVim displays colors too bright

Le 3 sept. 2009 ā 15:26, björn a écrit :

I noticed a strange phenomenon maybe related to this.

I work with an external monitor at work, which is plugged in the DVI  
socket.
When I use my laptop at home, then put it to sleep, then go to work  
and plug
in the monitor, the MacVim window is displayed on the external  
monitor. The
colors are a bit darker than on the laptop's display.

Then when i resize the window, the colors suddenly get brighter, like  
if a
new color profile was applied to that window. It's really the only app  
that
behaves like this on my machine.

This was on Leopard, I didn't check the behaviour was the same since I
upgraded to SL.

David


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
björn  
View profile  
 More options Oct 1 2009, 3:53 pm
From: björn <bjorn.winck...@gmail.com>
Date: Thu, 1 Oct 2009 21:53:47 +0200
Local: Thurs, Oct 1 2009 3:53 pm
Subject: Re: MacVim displays colors too bright
2009/9/4 David Morel:

I looked into this and changing to using a "device-dependent color
space" the colors as measure by DigitalColor Meter is exactly the same
RGB-triple you specify in Vim's ":hi" command.

While this may seem desirable I'm not really sure that it is.  Reading
Apple's developer documents [1] it would seem a bad idea to use a
device-dependent color space (e.g. if you have two monitors the colors
will match better with a calibrated color space).  It seems more
appropriate that anybody who thinks the colors are "too bright" or
"too washed out" should instead calibrate their monitors.  That's not
the final word on this issue -- I'm just reporting my findings.  I'd
like to hear more opinions on this.

To conclude: I'd consider changing to a device-dependent color space
(i.e. so that rgb values measured with DigitalColor Meter matches the
values specified in Vim), but before doing so I need an informed
argument as to why this is preferable over using a calibrated color
space (which tries to ensure that the colors look the same on
whichever device is attached).

Björn

[1] http://developer.apple.com/mac/library/DOCUMENTATION/Cocoa/Conceptual...


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »