Tk Source Code

Ticket Change Details
Login
Overview

Artifact ID: 47c6a26e8c4877631c97ff99c5fa22adf910054f
Ticket: df09b0665cfb22b4bdfc41e34fc466739d488d65
entry can't get the focus after tk_getSaveFile or tk_getOpenFile is called
User & Date: anonymous 2014-01-12 02:12:48
Changes

  1. comment changed to:
    ~ Code
    
    ttk::combobox .c
    ttk::entry .e # either ttk::entry or entry
    pack .c .e
    tk_getOpenFile # either this or tk_getSaveFile
    
    ~ Steps to Reproduce
    
    0. Save the code above as a script file
    1. Run it
    2. Deal with the "Open File" stuff. Try to click on the entry; nothing happens
    3. Click on combobox's button
    4. Then click on the entry; it gets the focus
    
    ~ Actual Results
    
    The entry can't get the focus before we click on the combobox
    
    ~ Expected Results
    
    The entry should always be responsible for user's clicks.
    
    ~ Additional Information
    
    Windows 7 x64.
    
    Adding [focus .e] doesn't help.
    
  2. login: "anonymous"
  3. mimetype: "text/plain"