Author terry.reedy
Recipients Al.Sweigart, littleq0903, ned.deily, paulsfo, roger.serwy, serhiy.storchaka, suddha.sourav, taleinat, terry.reedy
Date 2016-07-21.02:54:50
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1469069690.71.0.708681893783.issue15786@psf.upfronthosting.co.za>
In-reply-to
Content
Serhiy, could you take at least a quick look at this troublesome issue?  The issue seems to be this: idlelib.autocomplete_w.py has

# at the top
LISTUPDATE_SEQUENCE = "<B1-ButtonRelease>"

# within show_window method
        self.listupdateid = listbox.bind(LISTUPDATE_SEQUENCE,
                                         self.listselect_event)
# and later
    def listselect_event(self, event):

However, when one clicks on a completion box, the click is only seen by the text window underneath, and the box disappears.  On Mac, there are also nasty symptoms like IDLE freezing.  I that changing the sequence to '<Button-1>' and addint 'return "break"' to the end of listselect_event might solve the problem.  When it did not, I added prints to the top of __init__ and listselect_event.  Running in the console, the first printed, the second did not.  Do you have any idea why not?
History
Date User Action Args
2016-07-21 02:54:50terry.reedysetrecipients: + terry.reedy, taleinat, ned.deily, roger.serwy, Al.Sweigart, serhiy.storchaka, littleq0903, suddha.sourav, paulsfo
2016-07-21 02:54:50terry.reedysetmessageid: <1469069690.71.0.708681893783.issue15786@psf.upfronthosting.co.za>
2016-07-21 02:54:50terry.reedylinkissue15786 messages
2016-07-21 02:54:50terry.reedycreate