操作
バグ #3597
完了Windows10の高解像度モードで実行するとアイコンが非常に小さくなる
ステータス:
終了
優先度:
通常
担当者:
-
対象バージョン:
-
開始日:
2016/09/05
期日:
進捗率:
100%
予定工数:
説明
Windows10の高解像度モードで実行するとアイコンが非常に小さくなる。
Eclipse全般で問題となっている現象。
ファイル
n-ando さんが約9年前に更新
- ファイル OpenRTP_normal.png OpenRTP_normal.png を追加
- ファイル OpenRTP_small.png OpenRTP_small.png を追加
- ファイル admin_copy.png admin_copy.png を追加
n-ando さんが約9年前に更新
- 進捗率 を 0 から 80 に変更
対処方法¶
Stackoverflow にて対処方法が示されていた。
- レジストリに以下のキーを追加する
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\PreferExternalManifest = (DWORD) 1
- <exeファイル名>.exe.manifest というファイル名で以下のファイルをexeと同じディレクトリに置く
- eclipse.exe.manifest
- RTSystemEditorRCP.exe.manifest
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0" xmlns:asmv3="urn:schemas-microsoft-com:asm.v3"> <dependency> <dependentAssembly> <assemblyIdentity type="win32" name="Microsoft.Windows.Common-Controls" version="6.0.0.0" processorArchitecture="*" publicKeyToken="6595b64144ccf1df" language="*"> </assemblyIdentity> </dependentAssembly> </dependency> <dependency> <dependentAssembly> <assemblyIdentity type="win32" name="Microsoft.VC90.CRT" version="9.0.21022.8" processorArchitecture="amd64" publicKeyToken="1fc8b3b9a1e18e3b"> </assemblyIdentity> </dependentAssembly> </dependency> <trustInfo xmlns="urn:schemas-microsoft-com:asm.v3"> <security> <requestedPrivileges> <requestedExecutionLevel level="asInvoker" uiAccess="false"/> </requestedPrivileges> </security> </trustInfo> <asmv3:application> <asmv3:windowsSettings xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings"> <ms_windowsSettings:dpiAware xmlns:ms_windowsSettings="http://schemas.microsoft.com/SMI/2005/WindowsSettings">false</ms_windowsSettings:dpiAware> </asmv3:windowsSettings> </asmv3:application> </assembly>
これで、正しいサイズで表示される。
なお、解決策の中に、以下のXMLを使用するというものもあったが、RCPではエラーとなる。
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0" xmlns:asmv3="urn:schemas-microsoft-com:asm.v3">
<description>eclipse</description>
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
<security>
<requestedPrivileges>
<requestedExecutionLevel xmlns:ms_asmv3="urn:schemas-microsoft-com:asm.v3"
level="asInvoker"
ms_asmv3:uiAccess="false">
</requestedExecutionLevel>
</requestedPrivileges>
</security>
</trustInfo>
<asmv3:application>
<asmv3:windowsSettings xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">
<ms_windowsSettings:dpiAware xmlns:ms_windowsSettings="http://schemas.microsoft.com/SMI/2005/WindowsSettings">false</ms_windowsSettings:dpiAware>
</asmv3:windowsSettings>
</asmv3:application>
</assembly>
n-ando さんが約9年前に更新
- ファイル ExternalManifestON.reg ExternalManifestON.reg を追加
- ファイル ExternalManifestOFF.reg ExternalManifestOFF.reg を追加
レジストリに値を追加するためのregファイルを作成
操作

