do not update recipe listview in realtime when editing name and description

Bug #647601 reported by Jeff Fortin Tam
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Recipe Manager
Fix Committed
High
Jeff Fortin Tam

Bug Description

Although it seems nifty from a usability/WYSIWYG standpoint, I foresee that the live updating of the main recipe list, when you type into the recipe name/description, will become a big performance problem in the long run (partly because listviews are slow), just like GTG experienced it.

With only the 8 default recipes, I already see my netbook's Atom N270 CPU having usage spikes while I type. This will quickly get out of hand when you have greater amounts of recipes.

Tags: performance

Related branches

Jeff Fortin Tam (kiddo)
Changed in recipe-manager:
milestone: none → 0.4
Revision history for this message
Jeff Fortin Tam (kiddo) wrote :

I have a fix that I'd like a review for, in a branch that I'll push when I get home...

However, I'm a bit puzzled by the code. Even if nothing called the update_recipe_list method (verified by commenting out calls and renaming the method as a test), the recipe still gets updated in the main window's list view when you close the Edit dialog. I'd like to know how this is achieved, since I couldn't find where it happens in the code.

Jeff Fortin Tam (kiddo)
Changed in recipe-manager:
status: Confirmed → In Progress
Jeff Fortin Tam (kiddo)
Changed in recipe-manager:
assignee: nobody → Jean-François Fortin Tam (kiddo)
status: In Progress → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.