Version: 1.2.4 (using KDE 3.5.4, Gentoo) Compiler: gcc version 3.4.6 (Gentoo 3.4.6-r1, ssp-3.4.5-1.0, pie-8.7.9) OS: Linux (i686) release 2.6.17-gentoo-r5 In the following situation, a feed is not loaded (nothing happens) when clicked: -I deleted all feeds in that news source -a new feed in that news source arrives -I didn't switch to another new source in between -appears also in "all sources" when all feeds are deleted When I switch to another source and back, and then click the new feed, it is displayed.
Which view mode do you use? (View->View Mode in the menu) Are you sure it has to do with the list being empty? Does it reliably work when the list is non-empty? (I checked for false "if (foo.isEmpty()) return;" lines but found nothing)
I'm using the normal mode. When I delete a feed of a non-empty list, the next feed is selected and loaded correctly. Maybe, when deleting the last feed, some index is set to the first in the list (however, I should maybe take a look at source, too) and when the new feed arrives, some check for the same feed is performed and goes true. signal onClick() or s.th.
Maybe it's because ArticleListView::noneSelected isn't reset to true on deletion of the last feed, and so slotCurrentChanged isn't called...when changing the news source, it's constructed again and thus noneSelected is true. This is the closest I can get without gdb'ing.
Indeed, the selection does not work when there is only one item in the list.
Fixed, commit messages accidentally went to #133237.