Ayende @ Rahien

My name is Oren Eini
Founder of Hibernating Rhinos LTD and RavenDB.
You can reach me by phone or email:


+972 52-548-6969

, @ Q c

Posts: 08 | Comments: 18

filter by tags archive

Resolving graphics problems with NH Prof

time to read 1 min | 185 words

Christopher has good coverage on how we solved and isolated a problem that we  run into using NH Prof. In essence, the issue was messed up text being reported by some of the users.

To be frank, it was a very frustrating issue, because none of us could come up with a repro, and the only thing that sometimes seemed to help is updating the graphic drivers. Having to update your graphic drivers to use NH Prof isn’t something that I consider appropriate. It reminded me of the time that to deploy a system that I built, we had to replace the organization domain controller. It is… not a place where you want to be.

We had accidently reproduced it in a SharedView session, and I got to see Christopher and Rob get to the root of the issue in a matter of minutes. It is not an area that I have any sort of expertise on, and it was fascinating to watch.

And, of course, we got rid of the problem that NH Prof had.


Peter Morris

What was the cause/solution?


Replace the DC? Wow. There's probably a good story behind that, isn't there?

Ayende Rahien


It is only a funny story on beer.

Let me put it this way, I quit because of that project.



I sell a WPF based application with a custom chrom and I had some really strange bugs with it - including rendering problems, crushes and making all the popup windows on the system stop working.

All those problems (at least 80% of my bug reports) went away when I stopped using AllowTransparency, I still have custom chrome using WinAPI's SetWindowRgn to control the shape of the window.

If your window is a rectangle with rounded corners you will get better results under Vista using the techniques described at blogs.msdn.com/.../...om-window-chrome-in-wpf.aspx (look for the "Office 2007 with Aero – Drawing in the NC area with glass" section).

AllowTransparency is slow and buggy and not fit for production use, it does give you great looking results but it's not worth dealing with all it's problems.

Christopher Bennage

@Nir Thanks for the tip! We will definitely look into that.

Comment preview

Comments have been closed on this topic.


  1. Concurrent max value - 9 hours from now
  2. Production postmortem: The case of the memory eater and high load - 3 days from now
  3. Production postmortem: The case of the lying configuration file - 4 days from now
  4. Production postmortem: The industry at large - 5 days from now
  5. The insidious cost of allocations - 6 days from now

And 5 more posts are pending...

There are posts all the way to Sep 10, 2015


  1. Find the bug (5):
    20 Apr 2011 - Why do I get a Null Reference Exception?
  2. Production postmortem (10):
    14 Aug 2015 - The case of the man in the middle
  3. What is new in RavenDB 3.5 (7):
    12 Aug 2015 - Monitoring support
  4. Career planning (6):
    24 Jul 2015 - The immortal choices aren't
View all series


Main feed Feed Stats
Comments feed   Comments Feed Stats