Wowfunhappy / Pebble-RSS-Reader

A full-text RSS Reader for the Pebble Smartwatch
GNU General Public License v3.0
20 stars 1 forks source link

Sometimes articles aren't restored, in situations when they should be restored. #13

Closed Wowfunhappy closed 4 years ago

Wowfunhappy commented 4 years ago

If the last screen before the user exited the app was an article page, that page should always get get restored when the app is re-opened. (In other cases—if the last screen was the feed selection menu or the article selection menu—nothing should get restored.)

Sometimes, articles are not getting restored even when the last screen was an article page. I haven't figured out how to reliably reproduce this yet.

Need to fix this before 2.0 + app store release.

Wowfunhappy commented 4 years ago

Found a way to reproduce:

  1. Exit the app while on an article page.
  2. Reopen app—page gets restored as expected.
  3. Immediately hold down the back button to exit the app.
  4. On reopen, page won't be restored.
Wowfunhappy commented 4 years ago

Didn't mean to close this just yet—I've fixed the specific case described in my last comment, let's see if any others pop up.

Wowfunhappy commented 4 years ago

Okay, I'm pretty confident I fully resolved this.

Wowfunhappy commented 4 years ago

Cralex reports:

  1. Start RSS Reader and place yourself in an article.
  2. Close RSS Reader by holding Left.
  3. Open Timer + and set a short timer.
  4. Return to RSS Reader. It’ll return to where you just were. Let the timer run out without changing the page you’re on.
  5. When the timer goes off, close Timer + and return to RSS Reader. You should be at the feed list. If you change what page you are on while you are waiting for the timer to go off, then it will typically (always?) work as intended. Tested on Time and Pebble 2 so far.

Hm...

Wowfunhappy commented 4 years ago

I'm pretty darn sure this is really fixed now.