Tk Library Source Code

View Ticket
Login
Ticket UUID: 528929
Title: Dynamic balloonhelp bug (and patch)
Type: Bug Version: None
Submitter: bach Created on: 2002-03-12 13:13:05
Subsystem: bwidget Assigned To: andreas_kupries
Priority: 5 Medium Severity:
Status: Closed Last Modified: 2002-05-10 04:01:51
Resolution: Fixed Closed By: andreas_kupries
    Closed on: 2002-05-09 21:01:51
Description:
In some rare cases (race condition depending on
balloonhelp configuration and user mousemovements), the
procedure for destroying a balloonhelp interferes with
the procedure still building the display, causing
errors like:

bad window path name ".help_shell"
    (procedure "DynamicHelp::_show_help" line 22)
    invoked from within
"DynamicHelp::_show_help .bla.topf.tb0.bbox4.b1 329
198"
    ("after" script)

Hard to reproduce with a script, sorry.

A quick resolution to this is to check if the targeted
help window still exists in the ::_show_help procedure
(see attached diff file, it's a twoline patch).
User Comments: andreas_kupries added on 2002-05-10 04:01:51:
Logged In: YES 
user_id=75003

Patch committed to head.

bach added on 2002-03-12 20:13:05:

File Added - 19215: dynhelp_patch.txt

Attachments: