|
2014-08-20
| ||
| 11:25 | • Closed ticket [74e073599e]: tclsh is using old style dialogs when Tk is loaded o... artifact: 0e3eb2a7ba user: jan.nijtmans | |
| 11:23 | [74e073599e5e7c5eb535e2f60f1b06feb468eaae|74e073599e]: tclsh is using old style dialogs when Tk is l... check-in: c438e5f6a0 user: jan.nijtmans tags: trunk | |
| 11:13 | [74e073599e5e7c5eb535e2f60f1b06feb468eaae|74e073599e]: tclsh is using old style dialogs when Tk is l... check-in: a2a1fe34e9 user: jan.nijtmans tags: core-8-5-branch | |
| 03:14 | • Ticket [74e073599e] tclsh is using old style dialogs when Tk is loaded on Window... artifact: 8ed753fab2 user: apnadkarni | |
| 02:04 | • New ticket [74e073599e]. artifact: 1db24d580f user: anonymous | |
tclsh is using old style dialogs when Tk is loaded on Windows
Closed / Fixed74e073599e5e7c5eb535e2f60f1b06feb468eaaeCreated 12 years agoUpdated 12 years ago
Descriptionplain2014-08-20 02:04:13
When running a script that includes [package require Tk] from tclsh on Windows, an old style theme is used for dialogs (tk_getOpenFile, tk_getSaveFile, etc.). Running from wish, the correct style theme is used for dialogs. Tested on Windows 7 and Windows 8.
Referenced by2
c438e5f6a0[74e073599e5e7c5eb535e2f60f1b06feb468eaae|74e073599e]: tclsh is using old style dialogs when Tk is loaded on Windows check-in2014-08-20 11:23:09a2a1fe34e9[74e073599e5e7c5eb535e2f60f1b06feb468eaae|74e073599e]: tclsh is using old style dialogs when Tk is loaded on Windows check-in2014-08-20 11:13:29
apnadkarniplain2014-08-20 03:14:05
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
jan.nijtmanswiki2014-08-20 11:25:22
Fixed in core-8-5-branch [a2a1fe34e9] and trunk [c438e5f6a0].
Thanks for this report!
Log in (anonymous is fine) to add a comment.