On Thu, Oct 29, 2009 at 23:38, P.G. Richardson <p.g.richardson@phantomjinx.co.uk> wrote:
Have found the nub of this little bug and would like to confirm the fix is
the correct one.

In display_sorttabs.c there is the function st_set_sorttab_page. This has
the following line:

   while (gtk_events_pending ()) gtk_main_iteration ();

Commenting out this line sorts the hanging on my laptop. Can people
confirm whether the hanging goes away on their machines.

I put this line in on the basis that gtk selection events might be going
on and I should wait for them to complete. However, it seems to be causing
more hassle than its worth.

Heh, that's exactly what the patch I tried to link you to yesterday changes... I was confused by gmane's GUI and ended up linking the wrong thing. I'm sorry you had to spend time discovering this again. See here, this time it seems I got the right link: http://article.gmane.org/gmane.comp.ipod.gtkpod/4200

I guess that confirms your patch is good. Though please do read my message, because similar code exists a few times in the gtkpod codebase.