Nepomuk rocks - Use case on Dolphin

Jos van den Oever jvdoever at gmail.com
Thu Jun 21 07:12:50 BST 2007


2007/6/21, Rafael Fernández López <ereslibre at gmail.com>:
> I finally implemented locally the "sort by rating" here on Dolphin. It works
> really nice. If you add/remove stars from a file, you will need to press F5
> to make it be updated on the view.
>
> Please take in count categories right now are only strings, so you will see
> something like "0 stars", "1 star", "2 stars".... but hey !! I'm gonna add
> own category drawing really really early (we would like to draw custom
> categories, for example if we sort by user, we probably would like to show
> at the left of the username the picture that identifies that user on the
> system). So, making those little things customizable.
>
> What you can note (that I also noted) is that sorting by rating is quite
> slow, since it needs to ask to nepomuk for each file for its rating when
> sorting. I would like to know how can this problem be faced, for improving
> speed and time.
You should simply cache the score and check for changes every now and then.

Cheers,
Jos


More information about the kde-core-devel mailing list