21 August 2007

Another bug fix

It's rather interesting to unaware but this is the kind of bug that cannot be discovered by unit tests and pair programming. Well, after adding a new contact _rebekka and trying to view one of her photo i discovered interface to freeze for a time and the program didn't respond 10-30 second. The problem was the number of comments of a photo. Every each photo of rebbeka has hundred comments and after uploading photo and start displaying it i updated interface for each comment and that caused great load on Windows GUI so interface was unresponsable. Changing interface redraw on every 25 comment and do the main job of creating comment in different(background) thread solved the problem. Fixed version (v1.0.0.51) is available for downloading.

No comments: