Counting issues
Maximilian Kossick
maximilian.kossick at googlemail.com
Sun May 10 12:24:04 CEST 2009
On Sun, May 10, 2009 at 3:46 AM, Seb Ruiz <ruiz at kde.org> wrote:
> 2009/5/10 Jeff Mitchell <mitchell at kde.org>:
>> Hey guys (whoever knows about this, probably Seb),
>>
>> I've noticed that the count of tracks for the sql collection is often
>> wrong. For instance, if you have some tracks, then remove half of them
>> from your collection (by removing the folder) then it keeps the old
>> count, even across restarts.
>
> Okay, we will have to do some extra testing on this, because I suspect
> that the problem here is actually deeper and more insidious. The
> counting simply does a QueryMaker evaluation which should be correct.
>
it looks like SQL querymaker does something like "select count(*)
from urls", although it should actually do "select count(*) from
tracks"
>> What's more, the text that says "Counting" doesn't seem to get updated
>> when counting is finished, because it always stays that way until I do
>> something that forces a repaint (such as alt-tabbing) to another window.
>
> This is fixable, but a little tricky. From what I can tell, this
> occurs because the dataChanged() signal isn't being observed by
> anyone, and an update isn't triggered. A repaint is scheduled when
> mousing over the widget or causing a page refresh as calls to data()
> now contain the new information. I'll look into fixing it. Hopefully
> the roundabout complexity of CollectionTreeView and friends doesn't
> impede too much.
>
>>
>> --Jeff
>>
>>
>> _______________________________________________
>> Amarok-devel mailing list
>> Amarok-devel at kde.org
>> https://mail.kde.org/mailman/listinfo/amarok-devel
>>
>>
>
>
>
> --
> Seb Ruiz
>
> http://www.sebruiz.net/
> http://amarok.kde.org/
> _______________________________________________
> Amarok-devel mailing list
> Amarok-devel at kde.org
> https://mail.kde.org/mailman/listinfo/amarok-devel
>
More information about the Amarok-devel
mailing list