Bug 308017 - UI doesn't update/freezes
Summary: UI doesn't update/freezes
Status: RESOLVED WORKSFORME
Alias: None
Product: kmymoney
Classification: Applications
Component: general (show other bugs)
Version: git (master)
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-07 11:56 UTC by allan
Modified: 2014-09-25 21:25 UTC (History)
1 user (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 allan 2012-10-07 11:56:26 UTC
From post to devel list 4 Oct...
A few times, after entering a transaction, the ledger window is blank, with no entries showing.  Usually, I can restore it by clicking or double clicking somewhere outside that area (I need to pin that down).

Today, after doing a number of edits and imports, I needed to edit a price.  When I accepted the transaction, the only one in the ledger, just the area of that transaction was showing only two background colours, with no text.  This time, I couldn't restore it and the UI became unresponsive, and I thought KMM had frozen, but to my surprise, when I clicked to close it down, and assuming I'd get no response, I got the dialog asking if I wanted to save.  To my relief, that worked. 
Today, I've been able twice consecutively to produce someting similar editing an investment transaction, which the above also involved.

After completing the edit, I clicked the button to accept, but the edit window remained open, and the UI became unresponsive.

Reproducible: Always

Steps to Reproduce:
1.Duplicate an existing investment transaction.
2.Change the price and quantity.
3.Edit the memo.
4.Click the Enter button.
5.The transaction edit does not close.
6.The UI becomes unresponsive.
7.The whole Ledger transaction area just shows the previous desktop area.
8.If another app. window is given focus, and then KMM again, the previous app. window now appears in the transaction window.
9.Other views from the left pane appear as normal, but the Leger view does not appear, until another account is selected from the drop-down.

Now, for a third attempt, just editing the quantity and price and clicking Enter, the transaction does not close.  Use of the context menu leaves their windows showing.

To return to normal, select another view, select Ledger, select a different account, then select required account.  All now appears Ok.

Now I close KMM without saving, go back to the same account, enter a new transaction and click Enter.  Then re-open, edit just the quantity, and Enter.  The problem is there all each time.

A variation now with a credit card account.  Duplicate an item, then edit the amount and accept.  Edit again and Enter, and this time the whole ledger view has been cleared.  Click in that area and it refreshes.
Actual Results:  
As above.

Expected Results:  
Transaction should close on Enter and the view should refresh.
Comment 1 allan 2012-10-07 12:41:15 UTC
Trying again.

If, after editing the price, Enter is clicked,there is no problem.  However, after the edit, if the transaction is clicked outside the edited field, to register the new amount, and then Enter is clicked, the view is blank.  Clicking or double clicking the view has no effect - except double clicking on an invisible transaction opens that transaction and all now is visible.
Comment 2 allan 2012-10-07 17:17:41 UTC
And again...

Having edited an item and clicking it outside the edited box, and then Enter, this time the other items remained in view, but the edited one only, showed just the background.

A click on another item restored normal appearance and function.
Comment 3 allan 2012-10-20 12:04:31 UTC
Something that looks very similar.

I'd completed an import, and the KMM status report appeared correctly, but the background - ledger view - was partially blank, and the status report window wouldn't close.

I was able to do a save, and selecting a different view brought the ledger back to life. The ledger  seems to be missing refreshes.
Comment 4 Cristian Oneț 2014-09-25 20:20:17 UTC
What's the status of this?
Comment 5 allan 2014-09-25 21:25:09 UTC
(In reply to Cristian Oneț from comment #4)
> What's the status of this?

I went through the various  items and had no problems.

However I'll just mention I saw something a few days ago that reminded me of the last sentence in Comment #3.  I was displaying the ledger, but attempting to change to a different view, the view icon responded, but the ledger was still displayed.  I think I had to go back to ledger view and select a different account, when all reverted to normal.

I was in the thick of something else at the time so didn't investigate further.

I think it's safe to close this, and wait....