$ python bug_387960.py 
Press F12 to Exit.
keystroke type=0 hw_code=95 modifiers=0 event_string=(F11) is_text=True
F11 pressed.
Active window name=*Unsaved Document 1 - gedit role=frame state=(ACTIVE ENABLED RESIZABLE SENSITIVE SHOWING VISIBLE)
Text (len=4): File
  default attributes:  left-margin:0; right-margin:0; indent:0; invisible:false; editable:false; pixels-above-lines:0; pixels-below-lines:0; pixels-inside-wrap:0; bg-full-height:0; scale:1; rise:0; underline:none; strikethrough:false; bg-stipple:false; fg-stipple:false; fg-color:0,0,0; bg-color:65535,65535,65535; wrap-mode:word; justification:left; size:8; weight:400; family-name:Sans; stretch:normal; variant:normal; style:normal; language:en-us; direction:ltr
  getAttributeRun results:  focus:  label 0 0 <CORBA.any of type 'IDL:Accessibility/EventDetails:1.0'>
TOP OBJECT: bug-buddy application
focus:  text 0 0 <CORBA.any of type 'IDL:Accessibility/EventDetails:1.0'>
TOP OBJECT: bug-buddy application
focus: Terminal terminal 0 0 <CORBA.any of type 'IDL:Accessibility/EventDetails:1.0'>
TOP OBJECT: gnome-terminal application
Goodbye.
