[haiku-3rdparty-dev] Re: Drawing issue of BListItems
- From: "Humdinger" <dmarc-noreply@xxxxxxxxxxxxx> (Redacted sender "humdingerb" for DMARC)
- To: haiku-3rdparty-dev@xxxxxxxxxxxxx
- Date: Sun, 11 Nov 2018 14:04:50 +0100
On 10/11/2018, Rene Gollent <anevilyak@xxxxxxxxx> wrote:
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.
Yeah, that was an early mistake I made that Stephan pointed out to me
while we were still in Hamburg after BeGeistert. In a later commit I'm
using a newly created item to add to the list .
But even after "backporting" that, the not-redrawn strings remain.
Since it's not just the filtered ClipItem objects (or ClipView?) but
also the FavItem objects (or FavView?)(at least their title, the
function keys part is drawn, see https://0x0.st/sl9_.png
directly after launch and https://postimg.cc/06ztTyfc after filtering
'toggl'), I'd suspect some issue in their DrawItem(), but I haven't
changed anything there, so probably not(?)...
Help translating 3rd party Haiku applications
Go to https://i18n.kacperkasper.pl
Other related posts: