Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 7bfdd23b0183d00c6d5b0d94b540b89605201f54
Ticket: 1309218fffffffffffffffffffffffffffffffff
tk_chooseDirectory returns nonexistent dir with -mustexist 1
User & Date: martinlemburg on 2005-09-30 07:06:49
Changes

  1. assignee changed to: "dkf"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    While working with the "last" tclkit 8.5a2 I found the
    following behaviour (found in tcl 8.4.11 too):
    
    # I use tk_chooseDirectory with the option -mustexist == 1.
    # The dialog tells me if a directory does not exists,
    but if I
    # select cancel afterwards, than the non-existing
    directory is
    # returned instead of an empty string
    
    % pwd
    c:/program files/tcl/bin
    % set dir [tk_chooseDirectory -mustexist 1]
    c:/dummy
    % file exists $dir
    0
    
    
  4. foundin changed to: "obsolete: 8.4.11"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "martinlemburg"
  9. subsystem changed to: "18. Commands M-Z"
  10. title changed to:
    tk_chooseDirectory returns nonexistent dir with -mustexist 1
    
  11. type changed to: "Bug"