On Sat, Jun 8, 2013 at 2:42 PM, Jan Kundrát <j...@flaska.net> wrote:
> On Saturday, 8 June 2013 14:25:33 CEST, Ahmed Ibrahim Khalil wrote: > >> - I don't see any obvious bugs in there; none of these models override >>> hasChildren, so the default proxy implementation which just checks >>> rowCount >>> shall be called. You might want to add some intrumentation to the >>> rowCount >>> of the respective underlying model to see what's going on, perhaps >>> there's >>> some bug in there. >>> >> >> Could you please elaborate more ? as I dont understand what you mean by >> instrumentation to the rowCount. >> > > Read the assert which is failing. It looks that the result of rowCount() > and hasChildren() doesn't match. We have to know *when* this discrepancy > happens and what causes it. Nobody has reported this bug in the desktop > version of Trojita, nor in the Harmattan one. It is likely that this is > related to some change which you've made. You're more or less on your own > here. > > > I don't think that I've made something that could fire that assertion, I even used the ImapAccess inside the QMLSupport/ModelGlue and just added m_imapModel->rowCount(QModelIndex()); at the of the setSslMode method. To force the model to begin retrieve the Mailboxes and the message. Could that line changed how the model works ? I don' myself think that I did something wrong. > Here is the full log from the Application Output it might help >> https://gist.github.com/**R4md4c/6f4d4bb574e9e2f38495<https://gist.github.com/R4md4c/6f4d4bb574e9e2f38495> >> > > It doesn't help. > > > Cheers, > Jan > > -- > Trojitá, a fast Qt IMAP e-mail client -- http://trojita.flaska.net/ > >