autocomplete list never disappears

If you are using the main C++ distribution of wxWidgets, Feel free to ask any question related to wxWidgets development here. This means questions regarding to C++ and wxWidgets, not compile problems.
Post Reply
Knows some wx things
Knows some wx things
Posts: 29
Joined: Sat Mar 02, 2013 9:45 am

autocomplete list never disappears

Post by gabre » Sun Jun 30, 2013 9:16 pm

My app consists of five notebook pages, one of them has an input field (styledtextctrl) with autocomplete.
I experienced the following with the autocomplete list of styledtextctrl:
1, I clicked on an input field which has an autocomplete functionality
2, I began typing something
3, an autocomplete list appeared
4, I suddenly clicked on another notebook page of my app
5, the autocomplete list was still there (even if I minimized the app)

Is this a normal behaviour? How to prevent this strange behaviour?

The way I create an autocomplete list:
I do everything in stc_charadded event, and just use:
wxStyledTextCtrl:autoCompShow(Input, Length, AutocompleteList), %% written in Erlang - nearly the same as in C++

User avatar
Posts: 15830
Joined: Fri Apr 21, 2006 8:03 pm
Location: $FCE2

Re: autocomplete list never disappears

Post by doublemax » Mon Jul 01, 2013 10:28 am

Sounds like a bug to me. But to be sure that it's not caused by Erlang, you'd probably have to create a C++ sample that does the same thing. If it happens there, you could open a bug report.
Use the source, Luke!

Post Reply