[haiku-3rdparty-dev] Re: Drawing issue of BListItems

  • From: Rene Gollent <anevilyak@xxxxxxxxx>
  • To: haiku-3rdparty-dev@xxxxxxxxxxxxx
  • Date: Sat, 10 Nov 2018 12:50:39 -0500

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.

Regards,

Rene

On Sat, Nov 10, 2018, 11:24 Humdinger <dmarc-noreply@xxxxxxxxxxxxx wrote:

Hello there,

I have a problem with Clipdinger's list of favourites after a code change.
After this change [1] 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 [2], 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 [1] 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!

--

Regards,
Humdinger

[1]
https://github.com/humdingerb/clipdinger/commit/ef0676fd82e5a1b39fb76aee33c7d80372f90df3
[2] https://github.com/humdingerb/clipdinger/blob/master/App.cpp#L62
--
Help translating 3rd party Haiku applications
Go to https://i18n.kacperkasper.pl


Other related posts: