Skip to content
Tcl Source Code History Of Ticket 1177368fffffffffffffffffffffffffffffffff
Login

History Of Ticket 1177368fffffffffffffffffffffffffffffffff

Artifacts Associated With Ticket 1177368fffffffffffffffffffffffffffffffff

  1. Ticket change [606bf660b4] (rid 115999) by nobody on 2005-04-05 21:00:13:

    1. assignee initialized to: "dkf"
    2. cmimetype initialized to: "text/plain"
    3. 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
      
    4. foundin initialized to: "None"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "nobody"
    9. subsystem initialized to: "16. Commands A-H"
    10. title initialized to:
      tk_getOpenFile -multiple doesn't allow selecting multiple fi
      
    11. type initialized to: "Bug"
  2. Ticket change [9f819b997e] (rid 96652) by dkf on 2005-04-06 17:04:02:

    1. status changed to: "Closed"
  3. Ticket change [2c0fe05339] (rid 118840) by dkf on 2005-04-06 17:04:03:

    1. closedate changed to: "2005-04-06T10:04:03"
    2. closer changed to: "dkf"
    3. foundin changed to: "obsolete: 8.4.7"
    4. 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.)
      
      
    5. login: "dkf"
    6. mimetype: "text/plain"
    7. resolution changed to: "Invalid"
    8. username: "dkf"