GtkIconView performance issue

2014-01-31 Thread Brian Marshall
Hi everyone, I'm trying to use GtkIconView to display a 2-column grid of icons, containing thumbnails of images in a directory. 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

Re: GtkIconView performance issue

2014-01-31 Thread Brian Marshall
On Fri, Jan 31, 2014 at 3:45 PM, Debarshi Ray wrote: > 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

Multiple accelerators for one action

2014-04-03 Thread Brian Marshall
Hi, I have an action (zooming in, for example) that needs multiple keyboard accelerators ("plus", "equal", "KP_Add"). I'm using a Gio::Action (gtkmm), with the accelerator added separately to the Gtk::Application. Intuitively, I'd expect multiple calls to Gtk::Application::add_accelerator() to add

Re: Multiple accelerators for one action

2014-04-05 Thread Brian Marshall
On Fri, Apr 4, 2014 at 12:58 AM, David King wrote: > On 2014-04-03 16:28, Brian Marshall wrote: >> I have an action (zooming in, for example) that needs multiple >> keyboard accelerators ("plus", "equal", "KP_Add"). I'm using a >> Gio::Acti