Artifacts Associated With Ticket 1177368fffffffff
Ticket change [606bf660b4] (rid 115999) by nobody on 2005-04-05 21:00:13:
- assignee initialized to: "dkf"
- cmimetype initialized to: "text/plain"
- comment initialized to:
Here's a fix that patches the problem. To test, just do tk_getOpenFile -multiple 73a74 > 84a86 > 87a90 > 100a104 > 106a111 > incr ind +1 109c114 < for {} {$ind >= 0} {incr ind -1} { --- > while {$ind >= 0} { 112c117 < set last $ind --- > set last $ind 114a120 > incr ind -1 116d121 < 119a125 > 120a127 > 121a129 > 122a131 > 202c211543,544c552,566 < IconList_Selection $w clear 0 end < IconList_Selection $w set $i --- > > set noset 0 > > if { !$data(-multiple) } { > IconList_Selection $w clear 0 end > } else { > if { [IconList_Selection $w includes $i] } { > IconList_Selection $w clear $i $i > set noset 1 > } > } > > if { !$noset } { > IconList_Selection $w set $i > } 550d571 < 568c589 < --- > 579d599 < IconList_Selection $w clear 0 end 586a607 > 595c616,620 < IconList_Selection $w clear 0 end --- > > if { !$data(-multiple) } { > IconList_Selection $w clear 0 end > } > 596a622 > < {-multiple "" "" "0"} --- > {-multiple "" "" "1"} The version is - # # RCS: @(#) $Id: tkfbox.tcl,v 1.38.2.7 2004/09/10 22:28:30 dkf Exp $ # I don't know how this ever worked anywhere. Oh well..... Thanks. JCC chillhuman (at) excite (dot) com - foundin initialized to: "None"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "nobody"
- subsystem initialized to: "16. Commands A-H"
- title initialized to:
tk_getOpenFile -multiple doesn't allow selecting multiple fi
- type initialized to: "Bug"
Ticket change [9f819b997e] (rid 96652) by dkf on 2005-04-06 17:04:02:
- status changed to: "Closed"
Ticket change [2c0fe05339] (rid 118840) by dkf on 2005-04-06 17:04:03:
- closedate changed to: "2005-04-06T10:04:03"
- closer changed to: "dkf"
- foundin changed to: "obsolete: 8.4.7"
- icomment:
Logged In: YES user_id=79902 Not a Tcl fault in any case. (Perhaps a Tk problem, but that's a different tracker in a different project and I can't transfer it). Also, it works for me with that exact version of the file; I can select and return multiple files by holding down Control and clicking on the filenames (the usual idiom for multiple-selection). For future reference, patches are better done as uploaded attachments to bug reports, and are also far better done as either context diffs or unified diffs. (I prefer unidiffs; they're much more readable when you want to see what's changed without having to apply the patch to a codebase first.)
- login: "dkf"
- mimetype: "text/plain"
- resolution changed to: "Invalid"
- username: "dkf"