WPF:菜单项和组合框不会呈现在Windows 7 64位 [英] WPF: Menu items and combo boxes don't render in Windows 7 64-bit
问题描述
我想使用现有的内部WPF应用程序(我有访问源),但它是在XP开发,我使用的Windows7 64位。
I'm trying to use an existing internal WPF application (I do have access to the source), but it was developed on XP and I'm using Windows7 64-bit.
当我点击(举例)的文件菜单中,90%的时间我没有看到下拉菜单都没有。菜单依然存在 - 我可以使用方向键浏览向上和向下,并选择一个选项,如果我碰巧知道的选项的顺序,但没有呈现在所有
When I click (for instance) the File menu, 90% of the time I see no drop-down menu at all. The menu still exists - I can use the arrow keys to navigate up and down and choose an option if I happen to know the order of the options, but nothing renders at all.
时的另外10%,菜单或它的某些部分超出渲染,但我移动光标上下,我得到的图形损坏或消失的选项,直到我最终回到了没有菜单是可见的所有的状态。
The other 10% of the time, the menu or some portion of it DOES render, but as I move the cursor up and down I get graphical corruption or disappearing options until I end up back at the "no menu is visible at all" state.
这也是组合框真正的在应用程序中 - 他们不显示数据时,我滴下来,但我可以向下箭头,然后选择一个条目
This is also true of combo boxes within the application - they show no data when I drop them down, but I can arrow down and choose an entry.
微软拥有约WPF呈现问题这里但这些措施已经帮助了一些建议我问题。
Microsoft has some advice about WPF rendering issues here but none of these steps has helped with my issue.
编辑:运行Windows 7的同事看到菜单就好了......他有一个不同的视频卡,所以我很好奇这是否是视频卡专用
a coworker running Windows 7 sees the menus just fine... he has a different video card, so I'm curious whether this is video-card specific.
推荐答案
事实证明,在这种特殊情况下,这个问题只有在具有的GeForce 6800显卡盒present。更新驱动程序没有任何影响,但切换到7800,使问题消失。
It turns out that in this specific case, the issue is only present on boxes that have a GeForce 6800 video card. Updating drivers has no effect, but switching to a 7800 makes the issue go away.
我不知道为什么是这样的话,我还没有找到任何信息网上关于6800特有的图形化问题在Win7 64,但是我们的测试和实验表明这是导致它的因素。
I have no idea why this is the case, and I haven't found any information online about 6800-specific graphical issues in Win7 64, but our testing and experimentation shows this is the factor that causes it.
疯狂。
这篇关于WPF:菜单项和组合框不会呈现在Windows 7 64位的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!