プロジェクト

全般

プロフィール

バグ #3597

Windows10の高解像度モードで実行するとアイコンが非常に小さくなる

n-ando7年以上前に追加. 約7年前に更新.

ステータス:
終了
優先度:
通常
担当者:
-
対象バージョン:
-
開始日:
2016/09/05
期日:
進捗率:

100%

予定工数:

説明

Windows10の高解像度モードで実行するとアイコンが非常に小さくなる。
Eclipse全般で問題となっている現象。

OpenRTP_normal.png (51.6 KB) OpenRTP_normal.png n-ando, 2016/09/05 20:56
OpenRTP_small.png (44.1 KB) OpenRTP_small.png n-ando, 2016/09/05 20:56
admin_copy.png (23.5 KB) admin_copy.png n-ando, 2016/09/05 20:56
eclipse.exe.manifest (1002 Bytes) eclipse.exe.manifest n-ando, 2016/09/05 21:04
RTSystemEditorRCP.exe.manifest (1.31 KB) RTSystemEditorRCP.exe.manifest n-ando, 2016/09/05 21:04
ExternalManifestON.reg (158 Bytes) ExternalManifestON.reg n-ando, 2016/09/05 21:25
ExternalManifestOFF.reg (158 Bytes) ExternalManifestOFF.reg n-ando, 2016/09/05 21:25
2138
2139
2140

履歴

#1 n-ando7年以上前に更新

2138
2139
2140

通常時

縮小表示

アイコンが小さく見づらい。

#2 n-ando7年以上前に更新

  • 進捗率0 から 80 に変更

対処方法

Stackoverflow にて対処方法が示されていた。

http://stackoverflow.com/questions/20718093/eclipse-interface-icons-very-small-on-high-resolution-screen-in-windows-8-1

  1. レジストリに以下のキーを追加する
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion‌​\SideBySide\PreferEx‌​ternalManifest = (DWORD) 1
    
  2. <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>

#4 n-ando7年以上前に更新

なお、別の方法として、exeの 「プロパティ」→「互換性」からWindowsXPモードで実行することで上記の不具合を避ける方法があるが、OpenRTM-aistでインストールされるeclipseやRCPのexeはバッチファイルから起動されるため、一般ユーザはこの方法は利用できない。(管理者権限で実行すると一応実行は可能。)

#5 n-ando7年以上前に更新

レジストリに値を追加するためのregファイルを作成

#7 n-ando約7年前に更新

  • ステータス新規 から 終了 に変更

他の形式にエクスポート: Atom PDF