-
Notifications
You must be signed in to change notification settings - Fork 125
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UI freezes because of DPI configuration: "Per-Monitor (v2)" #1262
Comments
Here are some of my notes and findings. The problemWhen working with multiple monitors with different DPI configurations, some UI freezes may occur. The setup(As explained in comment#23)
How to reproduce the problem(As explained in comment#29)
Why does this happen?The issue seems to be that a repaint event is "triggering itself again". This is a very short simplification, of course. The whole analysis is in comment#36. Is this an SWT/Eclipse problem?I don't think so! I was able to reproduce the problem with the Windows Explorer, which means that this is probably a problem with Windows and it should be reported. Workaround(As explained in comment#44)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<assemblyIdentity version="1.0.0.0" processorArchitecture="*" name="SWT.javaw" type="win32" />
<description>Standard Widget Toolkit</description>
<dependency>
<dependentAssembly>
<assemblyIdentity type="win32" name="Microsoft.Windows.Common-Controls" version="6.0.0.0" processorArchitecture="*" publicKeyToken="6595b64144ccf1df" language="*" />
</dependentAssembly>
</dependency>
<application xmlns="urn:schemas-microsoft-com:asm.v3">
<windowsSettings>
<dpiAware xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">true/pm</dpiAware>
<dpiAwareness xmlns="http://schemas.microsoft.com/SMI/2016/WindowsSettings">system</dpiAwareness>
</windowsSettings>
</application>
<!--Specifically targeting your application for Windows 8.1 or Windows 10: https://msdn.microsoft.com/en-us/library/windows/desktop/dn481241(v=vs.85).aspx -->
<compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
<application>
<!-- Windows 10 -->
<supportedOS Id="{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}"/>
<!-- Windows 8.1 -->
<supportedOS Id="{1f676c76-80e1-4239-95bb-83d0f6d0da78}"/>
<!-- Windows Vista -->
<supportedOS Id="{e2011457-1546-43c5-a5fe-008deee3d3f0}"/>
<!-- Windows 7 -->
<supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}"/>
<!-- Windows 8 -->
<supportedOS Id="{4a2f28e3-53b9-4441-ba9c-d69d4a4a6e38}"/>
</application>
</compatibility>
</assembly> TO-DO
Useful links
|
fyi @akoch-yatta , @HeikoKlare |
This a duplicate of #557 ?! |
(Moved here as requested in vi-eclipse/Eclipse-Platform#68 (comment))
Setting the DPI configuration to "Per Monitor (v2)" can trigger a UI freeze, as described in this old eclipse issue: https://bugs.eclipse.org/bugs/show_bug.cgi?id=571209
Most of the findings have already been discussed with Vector and Yatta colleagues and possible solutions and workarounds have been planned. This issue should work as an umbrella for the future steps.
Goal
Investigate and document:
Starting point
See Heiko's E-Mail below (in German):
The text was updated successfully, but these errors were encountered: