Windows 7 更新 KB4034664(2017 年 8 月)后在多个屏幕上显示问题 [英] Display issues on multiple screens after Windows 7 Update KB4034664 (August 2017)

查看:26
本文介绍了Windows 7 更新 KB4034664(2017 年 8 月)后在多个屏幕上显示问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们应用程序的用户遇到了无法正确绘制 Swing GUI 的问题.

所有有问题的用户之间的共同点是他们最近应用了 Windows 更新.用户报告说,对话框在某些显示器上绘制正确,但在其他显示器上绘制不正确.

我们看到的种类问题的一个例子*:

用户还报告只显示框架的对话框,否则是透明的.实际上,如果 UI 线程被阻塞,您会看到同样的问题.

可能是什么问题?

<小时>

*我无法发布我们实际应用程序的屏幕截图,因为它包含敏感信息

解决方案

更新:此问题已在更新

您也可以尝试切换到单个显示器设置,或对显示器配置进行其他更改(控制面板 > 显示 > 更改显示设置).一些报告推测,将哪个显示器设置为您的主显示器"可能会有所不同.

您可能还想尝试以下标志:-Dsun.noddraw=true

Users of our application have been experiencing problems with their Swing GUIs not drawing correctly.

The common link between all users with problems is that they've recently applied a Windows update. Users have reported that dialogs draw correctly on some monitors but not on others.

An example of the kind of problems we're seeing*:

Users also report dialogs which only show a frame, and are otherwise transparent. Effectively the same kind of problems you'd see if the UI thread were blocked.

What could be the problem?


*I can't post screenshots of our actual application as it contains sensitive information

解决方案

Update: This issue has been fixed in update KB4039884.


This seems to be a reasonably wide-spread issue caused by a recent patch. It's not limited to Java:

It seems, that Microsoft’s Update KB4034664 (and KB4034679) for Windows 7 and Windows Server is causing display issues with several applications on a second screen.

Reported by Born City, Computer World, and Microsoft themselves:

If a machine has more than one monitor connected and the screen numbering is not in sequence, some applications will experience rendering issues.

You should be able to solve the problem by rolling back the patch. It is a security update (links above detail what is included), so if you're particularly risk-averse you may not want to do this.

Microsoft lists the workaround as:

  1. Enable Desktop Composition (needs graphics card support).
  2. Make sure that the main monitor is on the top left in the monitor layout.

You could also try switching to a single monitor setup, or making other changes to your monitor configuration (Control Panel > Display > Change display settings). Some reports speculate that which monitor is set as your 'main display' may make a difference.

You might also want to try the following flag: -Dsun.noddraw=true

这篇关于Windows 7 更新 KB4034664(2017 年 8 月)后在多个屏幕上显示问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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