Re: Slow combo box when adding 500 rows

2012-05-25 Thread Osmo Antero
Hello, I just tested the code on my older 2-cpu-core laptop and it loads lightning fast (within 0.5 or 2 seconds for both gtk2 and gtk3.). So it must be some peculiarities with my i7 8-core laptop, or with the Ubuntu 12.04 itself. Here are also GtkPerf tests on both these machine. 1) GtkPerf

Re: Slow combo box when adding 500 rows

2012-05-25 Thread Osmo Antero
Re-hello, Just to round up, I installed LinuxMint 13 (with Cinnamon Desktop), and the combo box loads very, very fast on this installation, with both gtk2 and gtk3. This is a huge difference compared to my Ubuntu 12.04 partition. I tried to fix Ubuntu by upgrading its linux 3.2.generic-pae kernel

Slow combo box when adding 500 rows

2012-05-24 Thread Osmo Antero
Hello, Adding rows to a combo box with a GtkListStore is immensely slow. Is it right that adding 500 rows can take upto 10 seconds and the GUI freezes? I have also tested gtk_combo_box_text_new_with_entry() and it is equally slow. Here is a complete test code based on gtk 3.0:

Re: Slow combo box when adding 500 rows

2012-05-24 Thread Michael Cronenworth
Osmo Antero wrote: Adding rows to a combo box with a GtkListStore is immensely slow. Is it right that adding 500 rows can take upto 10 seconds and the GUI freezes? I have similar hardware but with the NVIDIA driver so it only freezes for about 2 seconds on my system. [snip] What is your