VS2010工作流程设计界面不起作用

发布于 2024-09-28 09:14:55 字数 761 浏览 0 评论 0原文

我正在使用 VS2010,但遇到一个问题:打开我的解决方案后,Workflow.xamlx 似乎无法正确呈现。

设计图面上的活动仅针对 xamlx 加载时最初可见的区域进行绘制。

为了演示该问题,我看到以下内容。 (对于模糊表示歉意)

visible zone

第一个问题是我无法使用垂直滚动条滚动文档。但是,我可以使用鼠标滚轮来揭示第二个问题,即所有自定义或标准活动都显示为空框。

alt text

我已尝试以下

  • 完整 Visual Studio 重新安装。
  • 视频驱动程序卸载/重新安装(中间需要重新启动)。也尝试了新的、旧的和一些随机的视频驱动程序。
  • 删除了上周安装的 Visual Studio 修补程序 KB945140...以防万一
  • 通过“DisableHWAcceleration”和所有各种 WPF 注册表设置禁用硬件加速。

我可以缩放到 25%,折叠所有活动,然后展开它们,因为缩放级别似乎迫使活动重新绘制。这很好,因为我可以看到图标,但我仍然无法滚动文档,也无法更改工作流根级别的活动属性。无论我单击何处,属性窗口都会报告“属性编辑不可用”。

我使用了 VS2010 的第二个实例来调试第一个实例,调试器中没有抛出任何异常,并且查看调试输出似乎没有显示任何内容。

I am using VS2010 and having an issue where upon opening my solution the Workflow.xamlx does not appear to render correctly.

The activities on the design surface only get drawn for the area that is initially visible when the xamlx loads.

To demonstrate the problem, I see the following. (I apologize for the blur)

visible region

The first problem is I can not use the vertical scroll bar to scroll the document. I can however, use the mouse wheel which reveals the second problem, that all of the activities, custom or standard appear as empty boxes.

alt text

I have tried the following

  • Full Visual Studio reinstall.
  • Video driver uninstall/reinstall (with reboots in between). Tried newer, older and some random video drivers as well.
  • Removed a hotfix patch for Visual Studio installed in the last week, KB945140... just in case
  • Disabled hardware acceleartion via "DisableHWAcceleration" and all various WPF registry settings.

I can zoom to 25%, collapse all of the activities, then expand them which because of the zoom level seems to force the activities to get redrawn. This is good as I can then see the icons, but I still can't scroll the document, not change the properties of activities at the root level of the workflow. The properties window reports "Property editing is not available" no matter where I click.

I have used a second instance of VS2010 to debug the first instance, no exceptions were thrown up into the debugger and looking at the debug output doesn't seem to reveal anything.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

挽清梦 2024-10-05 09:14:55

更新

我已通过将“控制面板\外观和个性化\显示”设置为 100%(而不是我使用的 125%)成功解决了该问题。

Update

I have managed to resolve the issue by setting "Control Panel\Appearance and Personalization\Display" to 100% rather than the 125% I was using.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文