Version: git-latest (using Devel)
as it is now the groups by default are closed when the cl starts.. making it a nuisance to open all of them by hand each time.
comments from d_ed on irc
[17:09] <d_ed> alin: sure, if you think it should - open a bug report
[17:09] <d_ed> alin: for bonus points "it should open as whatever it was last closed with"
[17:09] <d_ed> on a per group basis
Reproducible: Didn't try
OS: Linux (x86_64) release 2.6.38-4-desktop
After spending some time on this bug, I came to conclusion, that this is not an easy/straightforward task.
I can save the expand state per group, no problem. But I can't easily reuse it on new contact list window, because I have no way of telling, that the model finished reading all the data (and in fact it never does). So the solution would be to connect to rowsInserted() signal and then check if that row is a group and if so then check the config and expand it accordingly.
But that would be active for all newly added groups, ie. after some time you connect some account with group "G1", which is saved to be expanded. So the rowsInserted() will be emitted, the group name will be checked and the group itself expanded. The problem is, that it may feel like an unconsistent behaviour - only some groups are expanded of the newly connected account and some are not. The user might think - what the heck? Why not all of my groups are expanded? (He might have forgotten that he had this group expanded some time ago)
So how to actually do this?
*** This bug has been marked as a duplicate of bug 277216 ***