Tcl Source Code

Ticket Change Details
Login
Overview

Artifact ID: 8ed753fab21281456e355ae1896f8eed35fffc59
Ticket: 74e073599e5e7c5eb535e2f60f1b06feb468eaae
tclsh is using old style dialogs when Tk is loaded on Windows
User & Date: apnadkarni 2014-08-20 03:14:05
Changes

  1. icomment:
    I believe the difference is because the tclsh Windows build does not have the appropriate shell dialog manifest lines. 8.6.1 tclsh did not have a manifest at all afaict. In 8.6.2RC1, tclsh has a manifest but the following lines which are present in wish.exe.manifest.in are missing from tclsh.exe.manifest.in
    
        <asmv3:application>
    	<asmv3:windowsSettings
    		xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">
    	    <dpiAware>true</dpiAware>
    	</asmv3:windowsSettings>
        </asmv3:application>
        <dependency>
    	<dependentAssembly>
    	    <assemblyIdentity
    		    type="win32"
    		    name="Microsoft.Windows.Common-Controls"
    		    version="6.0.0.0"
    		    processorArchitecture="@MACHINE@"
    		    publicKeyToken="6595b64144ccf1df"
    		    language="*"
    		/>
    	</dependentAssembly>
        </dependency>
    
    
    Adding this to my build fixed this problem but not sure what other implications it might have. (Actually only the Common-Controls piece is relevant here but the DPI section should also be included I think)
    
    /Ashok
    
  2. login: "apnadkarni"
  3. mimetype: "text/plain"