Menu

#225 Make tk_chooseDirectory on Unix consistent with Windows

open
5
2007-10-30
2006-09-01
Anonymous
No

On Unix, when you first hit Enter or click OK in the
tk_chooseDirectory dialog, either of the following
happens:
- If the name that is entered in the "Selection" entry
is a valid directory, the dialog browses to that
directory.
- If the name is not a valid directory, nothing
happens.

Only when you hit Enter or click OK a second time does
the dialog return.

This is inconsistent with the behavior of
tk_chooseDirectory on Windows, where hitting Enter or
clicking OK once ALWAYS completes the dialog.

Also, especially the second case above is confusing,
where you click OK and nothing happens.

The attached patch makes the behavior of
tk_chooseDirectory on Linux consistent with the
behavior on Windows.

Discussion

  • Nobody/Anonymous

    Always complete the dialog when OK is clicked

     
  • Jeffrey Hobbs

    Jeffrey Hobbs - 2007-10-30
    • assigned_to: hobbs --> jenglish
    • status: open --> pending-rejected
     
  • Jeffrey Hobbs

    Jeffrey Hobbs - 2007-10-30

    Logged In: YES
    user_id=72656
    Originator: NO

    Joe claims that while not instantly intuitive, it is useful behavior, so I'm leaving it.

     
  • Joe English

    Joe English - 2007-10-30
    • assigned_to: jenglish --> hobbs
    • status: pending-rejected --> open
     
  • Joe English

    Joe English - 2007-10-30

    Logged In: YES
    user_id=68433
    Originator: NO

    I believe this would hurt usability: the user might press <Enter> to mean "I want to select this directory", or "I want to look inside this directory". The current behavior makes it easier to walk down a directory tree by pointing-and-clicking or by typing; with the proposed change, you wouldn't be able to navigate by typing, since there'd be no way to say "I want to look inside this directory".

     
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.