[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gtk
Subject:    Re: GtkIconView performance issue
From:       Debarshi Ray <rishi.is () lostca ! se>
Date:       2014-01-31 23:45:30
Message-ID: 20140131234530.GD19776 () arati ! lostca ! se
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


On Fri, Jan 31, 2014 at 03:25:24PM -0800, Brian Marshall wrote:
> At around 500 rows in
> the model, I'm having a performance problem. As the thumbnails are
> generated, I update the model, and that causes GtkIconView to spend
> around 400 ms doing something each time. The UI becomes really slow to
> respond, and especially scrolling the IconView is very stuttery. After
> all the thumbnails are done and the model isn't being updated, it's
> super smooth.

Yes, I have noticed this too in gnome-{documents,photos}. See:
https://bugzilla.gnome.org/show_bug.cgi?id=721402

The way we work around this is by avoiding having to show 500 rows at
once. We batch things in groups of 50 and as the user scrolls down we
let her load another batch. That and letting the user search the data
so that she does not have to browse through 500 or more items to find
what she wants.

It might also be worth looking at what nautilus does.

> Also, it seems to happen when changing window focus.
> GtkTreeView, however, is fast.

Sounds like: https://bugzilla.gnome.org/show_bug.cgi?id=692348

Cheers,
Debarshi

-- 
Wearing non-prescription glasses and embracing obscurity doesn't
necessarily make you a hipster.  -- Anonymous
[Attachment #5 (application/pgp-signature)]

_______________________________________________
gtk-list mailing list
gtk-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-list


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic