Bug 425963 - filling new ledger entry from existing entry is SLOW
Summary: filling new ledger entry from existing entry is SLOW
Status: REPORTED
Alias: None
Product: kmymoney
Classification: Applications
Component: general (show other bugs)
Version: 5.0.8
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-08-29 23:28 UTC by paul
Modified: 2020-08-29 23:28 UTC (History)
0 users

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 paul 2020-08-29 23:28:11 UTC
SUMMARY

When creating a new ledger entry from an existing entry it takes multiple seconds from clicking on the previous entry until the new entry has been filled in. 


STEPS TO REPRODUCE

With existing ledger entries

1) click on "new"
2) Fill in the "Pay to" with a value that's already been used. 
3) In the pop-up list of past entries pick one and double click on the entry 
   or click OK, same behavior)
4) wait, notice that the CPU goes to 100% on one core for multiple seconds 
5) note that values are finally filled in 
6) also note that the cpu says high for a few more seconds

OBSERVED RESULT

The values take about 10 seconds (on my non-high-end 2016 4-core) to be filled in. 


EXPECTED RESULT

In version 5.0.1-2 this was essentially instantaneous, which doesn't seem like an unreasonable expectation. 


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: just installed ubuntu 20.04 

(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version:  5?

        libQt5Xml.so.5 => /lib/x86_64-linux-gnu/libQt5Xml.so.5 (0x00007f033bfc3000)  
	libQt5DBus.so.5 => /lib/x86_64-linux-gnu/libQt5DBus.so.5 (0x00007f033bf27000)
	libQt5Core.so.5 => /lib/x86_64-linux-gnu/libQt5Core.so.5 (0x00007f033b9de000)

ADDITIONAL INFORMATION

I sent a note to the mailing list and Dawid Wrobel said he's been seeing the same thing in 5.1