Navigation 2.5.1

Derek Atkins warlord at MIT.EDU
Tue May 21 11:25:54 EDT 2013


Geert Janssens <janssens-geert at telenet.be> writes:

>> Could this just be a failure to disable the gui-refresh while
>> committing the changes?
>
>>
>
> That crossed my mind as well.
>
> Robert: this may be something to check when you're ready again: did you insert
>
> gnc_suspend_gui_refresh and gnc_resume_gui_refresh calls at the right
> locations when switching cells ?

Is it necessary when switching cells?  I would only think it's necessary
when committing (i.e., when you save your changes to a particular
transaction/split).

> Without these calls there probably would be a whole explosion of gui refresh
> events while the model is being updated internally.

Yes..  You should definitely wrap your begin/commit edits with the
suspend/resume refresh.

> On the other hand it may also be that the GtkTreeView is slower than our
> highly optimized old register code. I remember a comment from Robert somewhere
> that he got good performance when limiting the number of entries in the
> register to 1000. I don't know how well GtkTreeView scales to large datasets.

Maybe, but probably not THAT much slower..

> Geert

-derek

-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord at MIT.EDU                        PGP key available


More information about the gnucash-devel mailing list