HenriAugusto / completion-plugin

Completion for Pure Data
BSD 3-Clause "New" or "Revised" License
19 stars 1 forks source link

Focus bug #12

Closed HenriAugusto closed 5 years ago

HenriAugusto commented 5 years ago

Replicate

1 - Create an object box and start yping to see the suggestions 2 - Click that object box. The patch's window will come to the top, staying in front of the suggestions list box. 3 - What you type won't alter the suggestions and you can't bring the suggestions to the top again with TAB.

HenriAugusto commented 5 years ago

This seems to be fixed. I've added a line

bind .pop <FocusOut> {::completion::debug_msg "the user has unfocused the popup"; ::completion::popup_destroy }

to destroy the popup when it loses it's keyboard focus.