| Ticket UUID: | 2790175 | |||
| Title: | Wrong directory name is returned by tk_chooseDirectory | |||
| Type: | Bug | Version: | obsolete: 8.5.7 | |
| Submitter: | dwtowner | Created on: | 2009-05-11 16:06:18 | |
| Subsystem: | 36. [tk_chooseDirectory] | Assigned To: | hobbs | |
| Priority: | 5 Medium | Severity: | ||
| Status: | Closed | Last Modified: | 2026-10-23 21:12:23 | |
| Resolution: | Duplicate | Closed By: | serhiy.storchaka | |
| Closed on: | 2026-10-23 21:12:23 | |||
| Description: |
Consider: puts [tk_chooseDirectory] if run in a directory (e.g., called parent), containing a sub-directory (e.g., called child), and the user selects the sub-directory and then hits Okay, the name of the parent directory is printed, not that of the selected child. In earlier versions of Tk (e.g., 8.4.13), the name of the selected sub-directory would be returned. This change in behaviour is very confusing. | |||
| User Comments: |
serhiy.storchaka added on 2026-10-23 21:12:23:
Duplicate of [600313]: fixed by [1994866fa3]. danckaert added on 2009-05-12 18:42:49: It seems this is another issue caused by ttk::button's focus behaviour.
See http://wiki.tcl.tk/20050.
The following is a workaround:
bind TButton <1> {%W instate !disabled {%W state pressed}}
dwtowner added on 2009-05-12 15:45:53: Platform: i686 GNU/Linux (Redhat Enterprise 5) dkf added on 2009-05-12 15:41:47: What platform? | |||
Home
Timeline
Branches
Tags
Forum
Tickets
Download
Wiki