| Ticket UUID: | 1025774 | |||
| Title: | winDialog-5.16 test failure | |||
| Type: | Bug | Version: | obsolete: 8.5a2 | |
| Submitter: | wildcard_25 | Created on: | 2004-09-10 11:23:25 | |
| Subsystem: | 37. [tk_get*File] | Assigned To: | hobbs | |
| Priority: | 4 | Severity: | ||
| Status: | Closed | Last Modified: | 2026-10-22 17:22:33 | |
| Resolution: | Fixed | Closed By: | serhiy.storchaka | |
| Closed on: | 2026-09-24 20:38:45 | |||
| Description: |
Tk: v8.5a2 HEAD at 10-09-04
OS: WinXPsp2
Built with makefile.vc using VC7
==== winDialog-5.16 GetFileName: initial file: long
name FAILED
==== Contents of test case:
start {set x [tk_getSaveFile -initialfile $a -
title Long]}
then {
Click 1
}
string totitle $x
---- Result was:
D:/src_tk/win/12x 456
---- Result should have been (exact matching):
D:/src_tk/win/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
==== winDialog-5.16 FAILED
This is a new failure since installing SP2, it used
to pass on SP1
| |||
| User Comments: |
serhiy.storchaka added on 2026-09-24 20:38:45:
Fixed in 8.5a6 by [e3897e4615]: the test was changed to expect the "invalid filename" error from the newer file dialog. It was later skipped on Vista and newer, and removed from 9.x ([216cffb43c]). Closing. hobbs added on 2004-09-19 07:25:35: Logged In: YES user_id=72656 yes, it appears that this is an aspect of XP SP2's defensive coding, where they have rejected the entire initialfile parameter instead of copying in a truncated portion. This won't effect anything in practice, but we should figure out how to make this test and getting the result right across variants. | |||
Home
Timeline
Branches
Tags
Forum
Tickets
Download
Wiki