Bug 212313 - Can not update a lot of operations
Summary: Can not update a lot of operations
Status: RESOLVED FIXED
Alias: None
Product: skrooge
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Stephane MANKOWSKI
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-29 20:09 UTC by thdox
Modified: 2009-11-01 20:01 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description thdox 2009-10-29 20:09:39 UTC
Version:           0.6.0_beta (using 4.2.2 (KDE 4.2.2), Kubuntu packages)
Compiler:          cc
OS:                Linux (i686) release 2.6.28-16-generic

This is transcript of chat with main developer:

(19:56:26) thdox: Je viens de reproduire mon scénario : j'ai importé mes opérations (elles sont toutes en $). Je rajoute l'unité secondaire Franc. Je sélectionne un paquet d'opérations (environ la moitié, soit 3000), je change l'unité à Franc, et j'appuie sur update --> Skrooge affiche un premier curseur qui va jusqu'à 100%, puis un deuxième curseur qui reste bloqué à 3%, et là skrooge ne réponds plus du tout. Il m'affiche pourtant en bas à gauche "operations updated". 
(19:57:15) Miraks: Reproduis tu avec moins d'update ?
(19:57:46) thdox: ok, je kill, et je recommence
(19:59:34) thdox: premier essai, j'en ai sélectionné environ 25 (un écran). Cela fonctionne. Je refais le test avec 3000, ou bien moins ?
(20:00:04) Miraks: 500
(20:02:07) thdox: Bien vu ! J'ai sélectionné environ 20 écrans (20*25=500). Le premier curseur va jusqu'à 100%, puis le deuxième curseur s'arrête à 20%, et skrooge ne rends plus la main
(20:02:48) Miraks: OK, je vais essayer, mais pas ce soir. Peux tu ouvrir un incident dans bug tracker.
(20:03:11) thdox: ok pour ouvrir bug
Comment 1 Stephane MANKOWSKI 2009-10-31 21:27:04 UTC
SVN commit 1043126 by smankowski:

BUG: 212313: Can not update a lot of operations 

 M  +1 -0      CHANGELOG  
 M  +647 -564  skgbasegui/skgtableview.cpp  
 M  +654 -570  skgbasegui/skgtreeview.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1043126
Comment 2 thdox 2009-11-01 00:14:21 UTC
The bug is *NOT* resolved
- for the first update of ~3000 operations, skrooge looks to have done the job. I said looks because I can do action with mouse. But the progress bar is still blocked to 3%.
- if you try a second update of ~3000 operations, then the bug is reproductible.
Comment 3 Stephane MANKOWSKI 2009-11-01 12:33:29 UTC
SVN commit 1043370 by smankowski:

BUG: 212313: Can not update a lot of operations 

 M  +2 -0      skgbasegui/skgobjectmodelbase.cpp  
 M  +1 -1      skgbasemodeler/skgdocument.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1043370
Comment 4 thdox 2009-11-01 20:01:54 UTC
Some things have improved, some not. Here is scenario :

- I have ~6000 operations in one account.
- I select the first half, and update the currency to FRF. This is now working.
- I select the second half, and update the currency to EUR. This is where skrooge is no more usable (do not respond to mouse/keyboard, must use 'kill')