Phone icon indicating copy to clipboard operation
Phone copied to clipboard

Call history loading is slow on app launch

Open geesquer4u opened this issue 6 months ago • 17 comments

Checklist

  • [x] I can reproduce the bug with the latest version given here.
  • [x] I made sure that there are no existing issues - open or closed - to which I could contribute my information.
  • [x] I made sure that there are no existing discussions - open or closed - to which I could contribute my information.
  • [x] I have read the FAQs inside the app (Menu -> About -> FAQs) and my problem isn't listed.
  • [x] I have taken the time to fill in all the required details. I understand that the bug report will be dismissed otherwise.
  • [x] This issue contains only one bug.
  • [x] I have read and understood the contribution guidelines.

Affected app version

~latest~ 1.4.0

(edited by naveensingh)

Affected Android/Custom ROM version

tried in Nokia android one, vivo funtouch & redmi os too

Affected device model

currently vivo iqoo z7s

How did you install the app?

F-Droid / IzzyOnDroid

Steps to reproduce the bug

Launch the dialer app. Keep history tab as default tab.

Next time close the app & reopen. Call history wont be already there but loads from phone storage each time if you open the app. Visible 1 second or 2 second gap comes to load call history.

Expected behavior

When launched, the call history should be there already and not load after opening the app

Actual behavior

It takes time to load call history each time i open the app

Screenshots/Screen recordings

No response

Additional information

No response

geesquer4u avatar May 06 '25 05:05 geesquer4u

  1. Please shorten the title - it should briefly describe the issue, not to be a long description.
  2. Also, please properly fill out the bug report. Which exact app version are you using (version number)? Which Android version do you have?
  3. How many call history entries do you have? You can check it by long-pressing any entry.

Aga-C avatar May 06 '25 05:05 Aga-C

Maybe related to https://github.com/FossifyOrg/General-Discussion/issues/220.

WebworkrNet avatar May 06 '25 13:05 WebworkrNet

Both are about optimizing loading, but this one concerns call history items, and the general issue concerns contacts.

https://github.com/FossifyOrg/Phone/issues/345 is a similar issue that could be solved by optimizing loading, but it's better to do a direct database search in that case.

naveensingh avatar May 06 '25 13:05 naveensingh

  1. Please shorten the title - it should briefly describe the issue, not to be a long description.

But it helps right. Ok. Short version would be "each time I open the app, call history or any other tab takes time to load data"

  1. Also, please properly fill out the bug report. Which exact app version are you using (version number)? Which Android version do you have?

i mentioned latest version (from fdroid). Funtouch OS 15. But my other Nokia with android 12 also same issue. And redmi note 10 with android 13 also

  1. How many call history entries do you have? You can check it by long-pressing any entry.

This is a new device just 5 call logs were there

geesquer4u avatar May 08 '25 04:05 geesquer4u

Happens for me, as well. Version 1.6 on Fairphone 4 with Android 13. Same for contacts and favorites.

breggles avatar Jul 13 '25 13:07 breggles

Me too. Up to 10 seconds to load, I deleted history a couple of weeks ago so it's not like there are thousands in there. Moto g13, Android 14. Google play services disabled in case that's making a difference.

Same here. On Redmi Note 9 & Redmi Note 11 Pro

ghost avatar Jul 22 '25 08:07 ghost

Greetings, we recently installed Fossify Phone (ver 1.6.1), Messages (ver 1.2.2), and Contacts (ver 1.2.4) on our Moto G 2025 phones. Both phones have the same issue with Fossify Phone.... takes about 11 seconds to load the Call History. I have taken the following measures to attempt to resolve the delay:

  1. Restart the phones
  2. Uninstall then reinstall the Fossify Phone application
  3. Clear the cache in the Phone application
  4. Confirm all permissions are correct
  5. Confirm available storage -- we have more than sufficient

No improvement in the call history load time. What else can be done, or this an application bug?

Thank you.

floridasmittys avatar Aug 11 '25 18:08 floridasmittys

Hello,

Same issue on my redmi 14c with latest version 1.6.1 of phone installed:

  • Loading of call history is slow when opening the app (only about 10 calls)
  • Loading the contacts equally slow (but I have 4000 contacts stored on the phone)
  • when somebody calls me, I only see the name a few seconds after the call comes in.
  • same when I call someone, name appears a few seconds later.
  • sometimes a message shows: call ongoing, even when the call is clearly finished.

Thank you

MoritzBrennecke avatar Aug 13 '25 20:08 MoritzBrennecke

I think the call log history displayed should be limited to the last say 30 calls and if you need to see older it should load while you scroll.

Another issue is how to limit the number of the calls logged as I have nearly 30 000 calls in mine and to be honest I don't see why this is needed.

NickAndreou avatar Aug 18 '25 13:08 NickAndreou

I think the call log history displayed should be limited to the last say 30 calls and if you need to see older it should load while you scroll.

Initial load is limited to 100. Better optimizations are needed. If you have a large number of contacts, that slows it down even more (due to https://github.com/FossifyOrg/General-Discussion/issues/220).

Another issue is how to limit the number of the calls logged as I have nearly 30 000 calls in mine and to be honest I don't see why this is needed.

There's a request about it: https://github.com/FossifyOrg/Phone/issues/220

naveensingh avatar Aug 18 '25 13:08 naveensingh

What do you mean by "Better optimizations are needed"? Should I do them or you?

NickAndreou avatar Aug 18 '25 14:08 NickAndreou

I meant loading will be optimized in the code. Changing the initial load count to 30 wouldn't solve this.

Should I do them or you?

I will.

naveensingh avatar Aug 18 '25 15:08 naveensingh

Long ago I tried to see why it was slow and wrote a comment, perhaps it still holds some value

https://github.com/SimpleMobileTools/Simple-Dialer/issues/425#issuecomment-1722764352

Waqar144 avatar Aug 26 '25 21:08 Waqar144

I'm going to switch back to the Google Phone app, I'm afraid. It's just not usable, atm.

breggles avatar Aug 27 '25 08:08 breggles

I'm going to switch back to the Google Phone app, I'm afraid. It's just not usable, atm.

How many contacts do you have?

naveensingh avatar Aug 27 '25 08:08 naveensingh

Maybe 100? Although, they all seem to be duplicated, since I got a Tuta account. Also, my main account is a WebDAV account, which I sync via DAVx5. Having said that, the stock Google Phone/Contacts app doesn't seem to have any performance issue with this setup.

breggles avatar Sep 17 '25 08:09 breggles