-
Notifications
You must be signed in to change notification settings - Fork 127
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sometimes after device unlock the widget is stuck at "ToDo Agenda Loading..." view #318
Comments
@StarCruiser75 I don't see any crash reports in Google Play yet... Could you capture crash errors / stack traces somehow, otherwise I don't know, what to fix... See https://www.google.com/search?q=how+to+capture+android+logs&oq=How+to+capture+Android+logs on logs capture. You need to search for errors in lines that contain "todoagenda" |
Hi Yuri, thank you for your reply. To tell you the truth, I'm guessing that it is crashing, because the only thing I know is that after a few hours that I create a new cal widget, suddenly I unlock the phone and it is in the state that you can see in the pucture I uploaded. Between the creation and the "ghost mode", I have unlocked the phone many times and the widget was displayed perfectly, so I am sure that it was working, and before the v3.0 I never had a problem like this. |
@StarCruiser75 Thanks for investigating. Please don't give up! Aha, so it is not crashing but rather "doesn't load": the screenshot clearly (as I thought :-) ) tells that currently the widget "is loading" or maybe is waiting for Android system (Launcher app) to start its update. Before v.3 release the widget didn't have the "Loading" view: it simply showed "No events" and thus confused users. But probably the cause is similar. So we need to find out, why the widget is not loaded (or fails to load) sometimes. This means that logs may help... BTW AFAIK logs can be downloaded even if you connect to the phone AFTER seeing this problem, please try. Honestly, I encountered this problem once also. It is cured by forcing loading by opening "ToDo Agenda" app (not a widget) using a Launcher, selecting the widget in the list (if you have more than one) and simply exiting. Please try! |
Collecting links to solutions of similar problem with other Android AppWidget apps: |
Just crashed on my screen. What can we search for in LogCat to look for errors? |
I can reproduce this problem by simply changing font size in settings. For curious: 2019-09-05 09:26:27.283 7105-7105/org.andstatus.todoagenda I/org.andstatus.todoagenda.EnvironmentChangedReceiver: Received intent: Intent { act=android.intent.action.CONFIGURATION_CHANGED flg=0x70000010 } |
I hope that I fixed this problem in v.3.0.2 Beta, please check #320 |
…k at "ToDo Agenda Loading..." view - with debugging log extended
Hi @yvolk, first of all, thank you for your work and for your time on this! |
UPDATE: v3.0.2 finally showed up in the Play Store. So far the widget seems to work, I'll let you know in the next hours as in my case it was not "crashing" immediately but after a few hours and a few unlocks. |
@yvolk oops, spoke too soon. Now widget is becoming completely invisible. |
@eturk1 Please try these steps:
|
I have exactly the same issue. |
I did the following like 5 hours ago:
And it still is working. |
Another attempt to improve / fix this is done in v.3.0.4, see #322 |
Well, v3.0.4 kind worked oke i think but v3.0.5 is making it worse again. The v2.x versions worked without any issues on the same phone before. |
@BlackDex Please try reinstallation steps that you mentioned before: #318 (comment) ?! |
I test v.3.0.5 on three devices and an Emulator: Emulator works slowly on my notebook, so right after boot I saw, for about a minute, the same not initialized widget that @BlackDex demonstrated on the screenshot. But after this, without my intervention, the widget was automatically initialized and showed a list of events correctly. I also tested Android 9 behaviour after upgrade from ToDo Agenda v.2 to v.3 - it doesn't work properly after upgrade: old widgets are empty, a new widget created stays not initialized. BTW, how many times did you reboot? :-) https://youtu.be/uRGljemfwUE |
Well, i still have the issue. And it happened twice today. As right now also. Is there something we can do? Can you create a special debug/logcat version which logs somewhere to a file which we can send you after we noticed this? |
@BlackDex First of all, thank you for taking time investigating the problem and willing to help developers. With your help we will definitely find a solution for your case, otherwise I don't know, how to reproduce the problem. Q1. Two times in a day means that about once in 10 times, when you unlock your device, you see the widget not initialized ?! Q2. What is your Device model and Android version? Q3. What launcher do you use? If you use not a factory one, please try it. Q4. Try to go to Android Settings -> Display -> Font size; Change the font size and press Home button on your device. |
@BlackDex 1. I could reproduce the problem by installing Nova Launcher and switching between it and default device Launcher. Please try v.3.0.6, see #320 |
@yvolk, testing it now. I'm using nova indeed. |
@BlackDex Do I understand correctly that you see the initial header with ToDo Agenda's icon instead of normal header with current date and buttons?! |
Indeed, you understand correctly. But i will try the clean, uninstall, reboot, install again with this version :). |
Hi, I had the same problem as @BlackDex, occurring on my case each time screen was rotating, but with v.3.0.7 si fixed! |
@StarCruiser75 I couldn't reproduce such enlarged icons on my devices. Could you test previous version of ToDo Agenda with the same data on the same device (v.2.1, that is available e.g. on F-Droid and can be installed in parallel with this one) |
I tried the comparison and the behavior is the same, maybe previously I was using a bigger font and the different hight was less evident (now I'l using the smallest). |
@yvolk It is working fine since yesterday, No issues at all. |
I have not seen this issue any more today. Was this a nova compatibility issue? Or something more general? |
I think this problem is caused by a failure of Android team to describe properly how a Launcher application should or should not interact with an application that provides its widgets (with Todo Agenda in this case). |
@StarCruiser75 I hope that I fixed the problem with enlarged icons also, please try v.3.0.8 here #320 |
Hi @yvolk, now icons are all of the same size, big, but of the same size, at least for me that use "very small" font size. Thanks for the fix |
@StarCruiser75 Could you create separate issue on this with screenshots, please. |
Hello. |
@dagord ToDo Agenda widget is actually a continuation of this widget's (the "Calendar widget") work and source code. I mean that maybe even today both old and new versions of the widget have something similar from Launcher's point of view, and this causes similar problems. It would be interesting to know if any other similar Open Source widget works normally on your device... |
@yvolk |
@dagord Thank you for testing. |
Hi, since last update (v3.0), even recreating the widget from scratch, keeps crashing after a few hours...
Xiaomi Mi Mix 3, Android 9, Rootless Launcher
The text was updated successfully, but these errors were encountered: