| Description: |
OriginalBugID: 1496 Bug
Version: 8.0.4
SubmitDate: '1999-03-12'
LastModified: '2000-01-27'
Severity: MED
Status: Closed
Submitter: pat
ChangedBy: hobbs
OS: Solaris
OSVersion: 2.5.1
Machine: Other
ClosedDate: '2000-01-27'
Name: steve
Extensions: expect 8.0.4
ReproducibleScript:
running expectk - same under wish
from menu command call proc to create child window
from bind double-click listbox call same proc to create child window
the grab gets set to child window everytime using menu option
so that user can't touch parent window ever.
the grab does not get set to child window everytime using double click
from listbox.
in other words if the user double clicks the grab does not get
set everytime - seems to be hit and miss situation.
ObservedBehavior:
no errors at all ( no stack traces) - the behavior is not consistent
when setting local grab using the same procedure
via different call points/events
DesiredBehavior:
when i call this proc to produce a child window from either
a menu command or a bind command the grab should work all the
time.
Actual code is necessary to really evaluate this one. I suspect
that the problem is the user may have set up the window to be
grabbed when a mouse button could be down. This is a special
situation, so if the user needs to set the grab in a case like
that, it has to be coded carefully.
-- 01/27/2000 hobbs
|