johannesjo / super-productivity

Super Productivity is an advanced todo list app with integrated Timeboxing and time tracking capabilities. It also comes with integrations for Jira, Gitlab, GitHub and Open Project.
http://super-productivity.com
MIT License
12k stars 933 forks source link

Projects with background images taken from online (https URIs) cannot be opened or modified when offline #3657

Closed Dox-Dev closed 2 weeks ago

Dox-Dev commented 2 weeks ago

Your Environment

Expected Behavior

I should be able to interact with my projects even when offline. If my background images were taken externally using some HTTPS link, I'd expect it to default back to a backgroundless-image (or give us the option of setting an alternative local image file). I could then continue to update my tasks and allow my changes to sync the next time I have access to the internet.

Current Behavior

When I lose connection to the internet, whether or not the Super Productivity application is already open on my phone, I won't be able to interact with my projects that were set with HTTPS background images. The moment I try to press one of those projects in the sidebar drawer, the application suddenly crashes and I'm forced to restart the application. This is reproducible, and so long as there's no internet connection, the issue continues to persist. If no background image link was set in a project, the issue does not occur and I can proceed to use it as normal.

The only contact I can make with these affected projects are through the "Today", "Schedule", and "Planner" parts of the drawer. In "Today", I can make new tasks and place them under the affected projects just fine using short formatting. As for "Schedule" and "Planner", I can see tasks related to these affected projects (including ones I just made through the "Today" tab).

Steps to Reproduce (for bugs)

  1. Create 1 project and add a valid HTTPS background image.
  2. Either close the application or keep it turned on. Open the application again if it was closed.
  3. Turn off access to the internet.
  4. Switch to the newly created project.
  5. The application should crash immediately after, not even attempting to load the project.

Can you reproduce this reliably?

Yes, I can reliably reproduce this on my phone using the steps I laid down above. I had recently downloaded this application from the Google Play Store (and even updated it just to check), so I'm pretty sure the issue is still within the latest release.

Console Output

I'm not sure how to do that on Android, sorry.

Error Log (Desktop only)

github-actions[bot] commented 2 weeks ago

Thank you very much for opening up this issue! I am currently a bit overwhelmed by the many requests that arrive each week, so please forgive me, if I fail to respond personally. I am still very likely to at least skim read your request and I'll probably try to fix all (real) bugs if possible and I will likely review every single PR being made (please, give me a heads up if you intent to do so) and I will try to work on popular requests (please upvote via thumbs up on the original issue) whenever possible, but trying to respond to every single issue over the last years has been kind of draining and I need to adjust my approach for this project to remain fun for me and to make any progress with actually coding new stuff. Thanks for your understanding!

github-actions[bot] commented 2 weeks ago

Hello there Dox-Dev! 👋

Thank you and congratulations 🎉 for opening your very first issue in this project! 💖

In case you want to claim this issue, please comment down below! We will try to get back to you as soon as we can. 👀

For more open ended discussions and/or specific questions, please visit the discussions page. 💖

johannesjo commented 2 weeks ago

Thank you very much for bringing this to my attention. A fix is underway and will be available with the next release.