Skip to content
Tcl Source Code History Of Ticket 1841962
Login

History Of Ticket 1841962

Artifacts Associated With Ticket 1841962

  1. Ticket change [1f6f9ae717] (rid 91145) by s3ym0ur on 2007-11-30 21:43:21:

    1. assignee initialized to: "andreas_kupries"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      The wm_transient method don't seems to work properly with windows vista aero.
      
      When I call a new TopLevel that is transient over the root, the windows button are still accessible in the root.
      
      I use Python 2.5 and the TkInter it comes with.
      You can just run the Dialog.py in Python25/Lib/lib-tk to verify what i'm saying. Switch between aero and standard desktop..
      
      Open the dialog and try to press on the root window x button.
      -Will work with aero (BAD)
      -Won't work with older desktop (GOOD)
      
      No pression on that, its only aero.. just had to share it .
      
      
      
    4. foundin initialized to: "obsolete: 8.4.16"
    5. is_private initialized to: "0"
    6. priority initialized to: "5 Medium"
    7. resolution initialized to: "None"
    8. status initialized to: "Open"
    9. submitter initialized to: "s3ym0ur"
    10. subsystem initialized to: "25. Channel System"
    11. title initialized to: "Vista aero Desktop Window Manager"
    12. type initialized to: "Bug"
  2. Ticket change [01148e26fc] (rid 119420) by dkf on 2007-12-02 20:17:43:

    1. icomment:
      Logged In: YES 
      user_id=79902
      Originator: NO
      
      This is a Tk issue, not a Tcl issue.
      
      
    2. login: "dkf"
    3. mimetype: "text/plain"
    4. resolution changed to: "Invalid"
    5. username: "dkf"
  3. Ticket change [6cb2b9ea43] (rid 128562) by patthoyts on 2008-03-24 19:16:08:

    1. closedate changed to: "2008-03-24T12:16:08"
    2. closer changed to: "patthoyts"
    3. icomment:
      Logged In: YES 
      user_id=202636
      Originator: NO
      
      Doing 'wm transient $w $parent' doesn't make the parent window inactive. I observe the same behaviour on Windows XP and Vista that creating a new toplevel and calling wm transient on the new window does not prevent button presses on the main window. The usual code to make a dialog window modal in Tk is to also use the 'grab' command which forces all the application input to the new window. So something like:
       set dialog [toplevel .dialog]
       wm transient $dialog .
       grab $dialog
       tkwait window $dialog
       grab release $dialog
      Transient just fixes the ownership so that your application dialogs are grouped with the application (particularly in the windows taskbar).
      
      
    4. login: "patthoyts"
    5. mimetype: "text/plain"
    6. status changed to: "Closed"
    7. username: "patthoyts"