hape42 / dailygammon

DailyGammon-app is free and ad-free client for the long-running DailyGammon web-based application.
https://hape42.de/RoadMap
16 stars 6 forks source link

Very minor: refresh sometimes doesn't refresh #113

Closed kagsteiner closed 5 months ago

kagsteiner commented 1 year ago

This is happening mostly in the simulator that is open all the time, not sure if it is even relevant for normal devices.

To reproduce - iPad view:

  1. go to top page, play some matches.
  2. leave top page open for a longer time so that new matches arrive on the server
  3. now click "refresh" and see that the list is visible refreshed (flickers) but no new match is shown.
  4. now click on "top page" and see that more matches appear.

Easy workaround is to hit refresh before 2. and enjoy the nice minute-ly refresh. :-)

Smiles2go commented 1 year ago

I've been seeing similar on iPhone with DG build 467 (iOS 16.4.1).

Sometimes icon badge and notification shows several matches ready, but when I open DG and first hit Top Page, it comes up empty (no games).

Refresh and wait a minute works, but also go to hamburger / buttons page and select Top Page and I get the games list faster.

hape42 commented 1 year ago

It happens to me too, on both iPad and iPhone.

I will take care of it. But it will take some time. I am currently rebuilding playMatch.m. That was a > 2000 lines of code monster. I hope to distribute a test version in April.