Bug 514055 - Irresponsive Update Stock and Currency Prices UI with file-based online quotes
Summary: Irresponsive Update Stock and Currency Prices UI with file-based online quotes
Status: REPORTED
Alias: None
Product: kmymoney
Classification: Applications
Component: ux-ui (other bugs)
Version First Reported In: 5.2.1
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-01-01 19:48 UTC by Musikolo
Modified: 2026-01-01 19:48 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Musikolo 2026-01-01 19:48:58 UTC
SUMMARY
I have 2 investment accounts. Each of them uses a different custom Online Quote to get the prices of my stocks updated. From a functional perspective, both work just fine, that is, I'm able to get the prices of my stocks updated. The first one uses a remote HTML endpoint that returns a JSON object which strips the price and date of each stock. The second uses a custom script I created. The URL is file:/home/musikolo/scripts/kmymoney-quote.sh %1. Each call to the script takes around half a second:

[musikolo@MyPc ~]$ time sh file:/home/musikolo/scripts/kmymoney-quote.sh stock-id
15.925
2025-12-31
real    0m0.434s
user    0m0.134s
sys     0m0.041s

I have 14 different stocks that depend on this Online Quote, and I noticed that the UI doesn't respond until all of them are updated. The first few times this happened to me, I got the feeling the app was frozen (and I killed it). However, if you give it around 10-15 seconds, the app comes back to live and it shows all prices updated at once. However, with the HTML-based online quote, what I see is that once the price of a stock is retrieved, it  immediately shows on screen. I miss the same behavior and responsiveness would occur with the file-based Online Quotes.

STEPS TO REPRODUCE
1. Create 2 investment accounts with 15+ stocks.
2. Create an HTML-based Online Quote for the 1st investment account, and another file-based Online Quote for the 2nd investment account.
3. Update the prices of the stocks of both investment accounts. 

OBSERVED RESULT
- Updating the prices of the stocks with the HTML-based Online Quote is very responsive. As soon as the price of a stock is retrieved, it immediately shows on the screen.
- Updating the prices of the stocks with the file-based Online Quote is totally irresponsive. Nothing happens on the UI until all prices are retrieved. The application looks like frozen while the update process is ongoing.

EXPECTED RESULT
- Updating the prices of the stocks with a file-based Online Quote should be responsive. As soon as the price of a stock is retrieved, it immediately shows on the screen. The same UI behavior is expected to occur for both, HTML-based and file-based Online Quotes.

SOFTWARE/OS VERSIONS
- Linux/KDE Plasma: 6.5.4
- KDE Plasma Version: 6.5.4
- KDE Frameworks Version: 6.21.0
- Qt Version: 6.10.1

ADDITIONAL INFORMATION
- Kernel version: 6.18.2-arch2-1 (64-bit)
- Graphics Platform: Wayland

Happy New Year! :-)