WPF:菜单项和组合框不在 Windows 7 64 位中呈现 [英] WPF: Menu items and combo boxes don't render in Windows 7 64-bit

查看:12
本文介绍了WPF:菜单项和组合框不在 Windows 7 64 位中呈现的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用现有的内部 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.

Microsoft 有一些关于 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 显卡的机器上.更新驱动程序没有效果,但切换到 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.

我不知道为什么会这样,我还没有在网上找到有关 Win7 64 中 6800 特定图形问题的任何信息,但我们的测试和实验表明这是导致它的因素.

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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆