From a quick glance, I notice you're not removing the item from the history
list when adding it to the filter list. I'm not sure if it's allowed to
have the same instance of a list item be part of multiple views at once,
which might cause undefined behavior.
On Sat, Nov 10, 2018, 11:24 Humdinger <dmarc-noreply@xxxxxxxxxxxxx wrote:
I have a problem with Clipdinger's list of favourites after a code change.
After this change  in the "filter" branch, the clip titles in the
favourites list fFavorites aren't drawn (the F-keys part of them is
though!). I have to move a window in front of the Clipdinger window to
force the drawing.
To see this, you have to comment out the
"fMainWindow->Minimize(true);" in App.cpp , otherwise the
"un-minimizing" triggers a redraw.
The same drawing issue happens with the filtered list fFilter, that is
created when entering a search term in the fFilterControl text control
and hitting ENTER.
(Be aware that in commit  the feature is incomplete and buggy. Try
the latest commit in the "filter" branch for a fully working feature.
I just wanted to point to the commit that introduced the issue...)
Does anyone have any idea what might be going on?
Thanks very much!
Help translating 3rd party Haiku applications
Go to https://i18n.kacperkasper.pl