Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Technical Support
 1289: New version breaks colors, as usual
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

LarryLeonard
Tomato Guru

USA
1041 Posts

Posted - Dec 06 2004 :  8:06:23 PM  Show Profile
I just installed 1289 at home, and it broke my colors, as all the
recent versions have. I suppose I'll sit down and delete files and
Registry keys one at a time and try to narrow down where the bug is...

Here's what it is supposed to look like (in 1287):



... and here's what it looks like after installing 1289. Bear in
mind that I totally vacuumed all WT settings before installing 1287,
so whatever the bug is, it should be pretty trivial to reproduce.
Especially since it happens to me every single time I install
anymore...





Edited by - LarryLeonard on Dec 06 2004 8:10:47 PM

rblondeau
Tomato Guru

Canada
102 Posts

Posted - Dec 06 2004 :  8:20:24 PM  Show Profile
This kind of resembles the issue I noticed with the "Bold" checkbox on the font dialog.

See post http://forum.wholetomato.com/forum/topic.asp?TOPIC_ID=3306
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19020 Posts

Posted - Dec 07 2004 :  4:39:53 PM  Show Profile
i presume you have black background set in the IDE only? if you can post a screen shot of your colour scheme settings i will set up the same colours here and see what happens when i upgrade from 1287 to 1289.

zen is the art of being at one with the two'ness
Go to Top of Page

tom_seddon
Tomato Guru

162 Posts

Posted - Jan 01 2005 :  3:49:20 PM  Show Profile
I was moping over the dodgy colours in VAX on my home PC -- I have light colours on a black background, and VAX never seemed to work properly. However I found that I can change the "Text" colour (tools|options, fonts and colours section) from white on black to (254,255,255) on black, and then everything works fine.
Go to Top of Page

LarryLeonard
Tomato Guru

USA
1041 Posts

Posted - Jan 01 2005 :  6:23:10 PM  Show Profile
Oh my God, you're a genius! WT, are y'all taking note? This completely fixed the problem...
Go to Top of Page

dkgamez
Junior Member

10 Posts

Posted - Jan 03 2005 :  3:28:04 PM  Show Profile
I was also seeing a coloring problem after upgrading from 1287 to 1289. The problem I expereienced were incorrect color, no coloring, and even half coloring (variable names was half white and half blue etc).

tom_seddon's suggestion seems to have fixed it for me. Thanks!
Go to Top of Page

Darren
Tomato Guru

USA
105 Posts

Posted - Jan 09 2005 :  10:13:12 AM  Show Profile
Hey Larry,
Know any way to export your colors so I can try them?
Darren

Edited by - Darren on Jan 09 2005 10:15:47 AM
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19020 Posts

Posted - Jan 09 2005 :  1:48:52 PM  Show Profile
using a colour picker program and a lot of guess work i have just set up a vaguely similar colour scheme to Larry's original screen shot on a virtual machine, using .NET 2003 and VAX 1246 running on win2k as a start point.

having now run three VAX upgrades on this to different versions, restoring a virtual machine image in between i am getting mixed results.

the first upgrade (to something like 1276) made a complete mess of the colour scheme. thinking i was onto something i restored the image and then ran the 1289 upgrade (upgrading from 1246 again). this time every thing was fine *sigh*

i then down graded 1289 to 1278 by installing over the top, but the colours are still fine.

Larry, if exporting a bunch of registry keys isn't an ideal answer can you list the colours you have applied in fonts and colours + in VAX?

some of these shades seem to be custom colours, or you are applying them via VAX, since i didn't have any luck finding them in the IDE colour list.

i presume there is some particular combination of colours that triggers this, since it is so constant for you, but my initial experiments are drawing a blank on reproducing it.

zen is the art of being at one with the two'ness
Go to Top of Page

Darren
Tomato Guru

USA
105 Posts

Posted - Jan 10 2005 :  08:19:36 AM  Show Profile
In VC6 it was easy to export colors because they were all in one registry key. So you could export them to a .reg file and take them anywhere. VS.Net is a different story. I haven't been able to find a similar registry key - but I may have just missed it. I mentioned to support that export/import of colors would be a cool VAX feature. I'm sure it's a the bottom of a million item list. :)
Go to Top of Page

LarryLeonard
Tomato Guru

USA
1041 Posts

Posted - Jan 10 2005 :  11:47:25 AM  Show Profile
See http://66.150.196.105/forum/topic.asp?TOPIC_ID=2770&SearchTerms=registry,export . Here's my export of HKEY_CURRENT_USER\\Software\\Microsoft\\VisualStudio\\7.1\\FontAndColors:

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\\Software\\Microsoft\\VisualStudio\\7.1\\FontAndColors]
"Color Palette"=hex:5c,5c,5c,00,ff,ff,ff,00,ff,ff,ff,00,ff,ff,ff,00,ff,ff,ff,\ 00,ff,ff,ff,00,ff,ff,ff,00,ff,ff,ff,00,ff,ff,ff,00,ff,ff,ff,00,ff,ff,ff,00,\ ff,ff,ff,00,ff,ff,ff,00,ff,ff,ff,00,ff,ff,ff,00,ff,ff,ff,00

[HKEY_CURRENT_USER\\Software\\Microsoft\\VisualStudio\\7.1\\FontAndColors\\{1F987C00-E7C4-4869-8A17-23FD602268B0}]
"Colorable item format version"=dword:00000008

[HKEY_CURRENT_USER\\Software\\Microsoft\\VisualStudio\\7.1\\FontAndColors\\{6A3989C3-E0D4-433D-9850-59B800CF8CEC}]
"Colorable item format version"=dword:00000008
"FontName"="Tahoma Bold"
"FontPointSize"=dword:00000008
"FontCharSet"=dword:00000000

[HKEY_CURRENT_USER\\Software\\Microsoft\\VisualStudio\\7.1\\FontAndColors\\{A27B4E24-A735-4D1D-B8E7-9716E1E3D8E0}]
"Colorable item format version"=dword:00000008
"FontName"="Bitstream Vera Sans Mono"
"FontPointSize"=dword:00000008
"FontCharSet"=dword:00000000
"Plain Text Foreground"=dword:00ffffff
"Plain Text Background"=dword:00000000
"Plain Text FontFlags"=dword:00000000
"Selected Text Foreground"=dword:0000ffff
"Selected Text Background"=dword:00ff0000
"Selected Text FontFlags"=dword:80000000
"Indicator Margin Foreground"=dword:00808000
"Indicator Margin Background"=dword:00000000
"Indicator Margin FontFlags"=dword:80000000
"Line Numbers Foreground"=dword:0000ff00
"Line Numbers Background"=dword:00000000
"Line Numbers FontFlags"=dword:80000000
"Visible White Space Foreground"=dword:005c5c5c
"Visible White Space Background"=dword:02000000
"Visible White Space FontFlags"=dword:80000000
"Brace Matching Foreground"=dword:0000ffff
"Brace Matching Background"=dword:02000000
"Brace Matching FontFlags"=dword:00000001
"Comment Foreground"=dword:00000000
"Comment Background"=dword:00808000
"Comment FontFlags"=dword:00000000
"CSS Property Value Foreground"=dword:00ffff00
"CSS Property Value Background"=dword:02000000
"CSS Property Value FontFlags"=dword:00000000
"CSS Selector Foreground"=dword:000000ff
"CSS Selector Background"=dword:02000000
"CSS Selector FontFlags"=dword:00000000
"CSS String Value Foreground"=dword:0000ff00
"CSS String Value Background"=dword:02000000
"CSS String Value FontFlags"=dword:00000000
"HTML Attribute Value Foreground"=dword:00ffff00
"HTML Attribute Value Background"=dword:02000000
"HTML Attribute Value FontFlags"=dword:00000000
"HTML Element Name Foreground"=dword:000000ff
"HTML Element Name Background"=dword:02000000
"HTML Element Name FontFlags"=dword:00000000
"HTML Operator Foreground"=dword:0000ffff
"HTML Operator Background"=dword:02000000
"HTML Operator FontFlags"=dword:00000000
"HTML String Foreground"=dword:0000ff00
"HTML String Background"=dword:02000000
"HTML String FontFlags"=dword:00000000
"HTML Tag Delimiter Foreground"=dword:00ffff00
"HTML Tag Delimiter Background"=dword:02000000
"HTML Tag Delimiter FontFlags"=dword:00000000
"Identifier Foreground"=dword:00fffffe
"Identifier Background"=dword:01000001
"Identifier FontFlags"=dword:00000000
"Keyword Foreground"=dword:00ffff00
"Keyword Background"=dword:02000000
"Keyword FontFlags"=dword:00000000
"Number Foreground"=dword:00ffff00
"Number Background"=dword:02000000
"Number FontFlags"=dword:00000000
"Operator Foreground"=dword:02000000
"Operator Background"=dword:02000000
"Operator FontFlags"=dword:00000000
"Preprocessor Keyword Foreground"=dword:00ffff00
"Preprocessor Keyword Background"=dword:02000000
"Preprocessor Keyword FontFlags"=dword:00000000
"String Foreground"=dword:0000ff00
"String Background"=dword:02000000
"String FontFlags"=dword:00000000
"User Keyword Foreground"=dword:00ffff00
"User Keyword Background"=dword:02000000
"User Keyword FontFlags"=dword:00000000
"Wizard code Foreground"=dword:0000ffff
"Wizard code Background"=dword:02000000
"Wizard code FontFlags"=dword:00000000

[HKEY_CURRENT_USER\\Software\\Microsoft\\VisualStudio\\7.1\\FontAndColors\\{C34C709B-C855-459E-B38C-3021F162D3B1}]
"Colorable item format version"=dword:00000008
"FontName"="Lucida Console"
"FontPointSize"=dword:00000008
"FontCharSet"=dword:00000000

[HKEY_CURRENT_USER\\Software\\Microsoft\\VisualStudio\\7.1\\FontAndColors\\{E7F5AF8B-4D6E-4746-89F9-159A06717D49}]
"Colorable item format version"=dword:00000008
"FontName"="Tahoma Bold"
"FontPointSize"=dword:00000008
"FontCharSet"=dword:00000000

Go to Top of Page

WannabeeDeveloper
Tomato Guru

Germany
775 Posts

Posted - Jan 10 2005 :  1:31:25 PM  Show Profile
Wow Larry, you're using Fontsize 8?
What resolution and what Monitorsize do you use?

I'm at 1600x1200 on a 21" CRT Monitor, and 8pt Bitstream Vera Sans Mono is too small... I need 10pt size...
How do you manage that?

Go to Top of Page

LarryLeonard
Tomato Guru

USA
1041 Posts

Posted - Jan 10 2005 :  5:10:39 PM  Show Profile
With my 20-400 vision, I'm using 1024x768 on a 17" monitor...
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19020 Posts

Posted - Jan 10 2005 :  6:07:59 PM  Show Profile
i think we have lift off

*thinks carefully* i want to make sure i describe the steps i took correctly.

i ran VMWare, and pasted Larry's registry export into a new txt file. then i imported this into the registry using regedit.

the only change i made to the registry keys was to insert a new line, converting the last line from:

"FontPointSize"=dword:00000008"FontCharSet"=dword:00000000

to:

"FontPointSize"=dword:00000008
"FontCharSet"=dword:00000000

then i ran .NET 2003 with VAX 1246 installed, so i can test upgrading it. there was a serious lack of colours from VAX, so i quit and reloaded the IDE, which made no difference.

then i went into VAX options and disabled then enabled syntax highlighting. it was then i discovered there was syntax highlighting in the cpp file, but not really in the .h file

VAX settings are:
Classes, structures and typedefs = Bisque (from the Web tab)
Variables = Gray (from the Pallet tab, R:128 G:128 B:128)
Preprocessor macros = Plum (from the Web tab)
Methods = Pink (from the Web tab)

Apply coloring to: this is "source windows" only
Bold and Italic are both turned off.

these VAX settings were guessed at by using Larry's screen shot and a colour picker program.

first an image from the cpp file:



firstly note that the class name is coloured correctly.
secondly notice that the VERIFY macro is not coloured as a macro.

now an image from the matching header file:



here notice the broken colouring on the #define line, a classic from Larry's screen shots. also notice that the class name is not coloured.

these effects are stable, closing and reloading the IDE makes no difference.

having got this far, i have just use the IDE's fonts and colour settings to change the colour of "text" from white to R:254 G:255 B:255 on black, and suddenly the syntax highlighting works, also there is a LOT more of it!

even better, changing the colour of "text" back to "white" again in the IDE fonts and colours options reproduces the badly broken syntax highlighting.

now i have seen before and after i agree, this is very badly broken.

i will leave this system alone for now, so i can check it if Support have any questions or problems reproducing this. from experience it should be easy to reproduce.

zen is the art of being at one with the two'ness
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19020 Posts

Posted - Jan 10 2005 :  6:09:27 PM  Show Profile
Larry, before you ask i am not raising a case just yet, this is going in via email to see if Support can reproduce it. i don't fancy trying to describe this from first principles in isolation from this thread

zen is the art of being at one with the two'ness
Go to Top of Page

support
Whole Tomato Software

5566 Posts

Posted - Jan 10 2005 :  7:49:00 PM  Show Profile
case=488
Go to Top of Page

Darren
Tomato Guru

USA
105 Posts

Posted - Jan 10 2005 :  10:22:16 PM  Show Profile
I would also think you'd need to dump the value of this key into a .reg file in order to get VAX colors set properly.
HKEY_CURRENT_USER\\Software\\Whole Tomato\\Visual Assist X\\VANet\\Format

I may have the reg key wrong because my system is kludged with old and new VA keys.
Go to Top of Page

Darren
Tomato Guru

USA
105 Posts

Posted - Jan 15 2005 :  1:21:16 PM  Show Profile
Larry,
I'm having a hard time getting "Bitstream Vera Sans Mono" to work in VS.Net. It doesn't show up in my Tools->Options->Fonts and Colors dialog. It's been replaced with "Bitstream Vera Sans Mono Bold". Any ideas about that?

Darren
Go to Top of Page

WannabeeDeveloper
Tomato Guru

Germany
775 Posts

Posted - Jan 15 2005 :  2:04:52 PM  Show Profile
Darren,

look here (Topic 2633) and here (Topic 2717). Maybe it'll help you...

Go to Top of Page

Darren
Tomato Guru

USA
105 Posts

Posted - Jan 15 2005 :  3:32:57 PM  Show Profile
Yup - I finally found those. Thanks for your help. I've been using the bitstream fonts for a while with SciTe and in VS2005 but was having problems in 2003.
Darren
Go to Top of Page

LarryLeonard
Tomato Guru

USA
1041 Posts

Posted - Mar 02 2005 :  11:23:25 AM  Show Profile
Just a note that VAX 1297 breaks my colors, as all new versions of VAX do, and tom_seddon's post of Jan 01 2005 3:49:20 PM fixes the problem. WT, I really think you should address this issue... it cannot be that hard to fix with a reproducible case and a known workaround.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19020 Posts

Posted - Mar 02 2005 :  6:42:11 PM  Show Profile
i have just checked the case and it is at the top of the bugs to be fixed pile. not the same as a fix, but at least this is some good news.

zen is the art of being at one with the two'ness
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000