Skip to content
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

App startup map display is zoomed out #3988

Closed
valynor opened this issue Sep 6, 2024 · 12 comments
Closed

App startup map display is zoomed out #3988

valynor opened this issue Sep 6, 2024 · 12 comments
Milestone

Comments

@valynor
Copy link

valynor commented Sep 6, 2024

iOS 17.6.1, iPhone 13 Pro Max + iPad Mini 5, OsmAnd 4.8.2.1

This has been going on for some months now so I thought I make a bug report:

  • when you launch the app sometimes (maybe 1 in 10-20 starts) the map displays max. zoomed out but still centred on your position
  • sometimes the black launch screen is not displaying correctly, e.g. you launch the app, you immediately see the map and then the launchscreen for a split second and then back to the map
  • when you close/terminate Osmand e.g. from the maps & resources screen on the next app launch you sometimes see that screen for ~0.2 sec and then the launch screen before the map displays. this happens quite often, perhaps 1 in 5-10 launches
  • very rarely on app launch the map renders extremely slowly or only partly

I have a feeling that all of these issues might be connected somehow because they all showed up together starting several (6?) months ago.

@valynor
Copy link
Author

valynor commented Sep 18, 2024

Update: all the bugs as described above are still present on iOS/iPadOS 18.0

@dmpr0
Copy link
Contributor

dmpr0 commented Sep 18, 2024

Hi!
For first item we already have issue #3965. Other mentioned issue need to be reproduced.

@yuriiurshuliak
Copy link

I’m unable to reproduce this bug on my end. Could you please share a short video showing how it occurs for you, along with details on how often it happens and under what conditions? Also, provide the exact steps to reproduce the issue so we can follow them accordingly.

Just to clarify, is it possible that the issue arises because you're not closing the app tab and are re-entering the app by clicking the icon?

@valynor
Copy link
Author

valynor commented Sep 23, 2024

I was lucky and caught 2 of the bugs immediately:

ScreenRecording_09-23-2024.15-46-39_1.2.mov

Notice that on the first try OsmAnd opens correctly:

  1. I tap the icon
  2. the app displays the dark launchscreen
  3. the map appears

I then terminate the app from the app launcher (yes, I do that every time).

  1. I tap the OsmAnd icon again
  2. immediately the map is shown <- THIS should not happen
  3. followed by the launch screen
  4. map again but OsmAnd "lost" the zoom level and is all zoomed out <- this is a 2nd bug, they do not happen together all the time

These issues happen rather regularly - I'd say somewhere between 1 in every 5 to 15 launches. Sometimes several consecutive times.

@yuriiurshuliak
Copy link

The bug has been reproduced. Based on my observations, there aren't any specific conditions for it to occur consistently—it may not show up for 15 launches, but then appear on the 16th.

To reproduce the issue, start the app, wait for the launcher and map to load, then close the app and relaunch it.

When you click the app icon, instead of the usual launch screen, the map may briefly appear before the launch screen shows. Additionally, the app may open with the map zoomed out to the maximum, displaying the entire world map.

OsmAnd 4.8.3.5

IMG_5572.MP4

@valynor
Copy link
Author

valynor commented Sep 25, 2024

the map may briefly appear before the launch screen shows

One more comment on that: when you terminate the app e.g. with the Maps&Resources screen open that screen will briefly appear before the launch screen (if the bug gets triggered).
I assume it always shows the last screen that was visible before the app got killed.

@valynor
Copy link
Author

valynor commented Oct 12, 2024

@dmpr0
Any update now that the bug has been reproduced?

@vshcherb vshcherb changed the title App startup buggy, map display on app launch, launch screen issues App startup map display is zoomed out Oct 13, 2024
@vshcherb vshcherb added the ! label Oct 13, 2024
@vshcherb vshcherb added this to the 4.9-iOS milestone Oct 13, 2024
@dmpr0
Copy link
Contributor

dmpr0 commented Oct 14, 2024

@valynor
As I mentioned earlier issue with zoom level on start has separate issue #3965, and fix it on review phrase.

All other described cases are seems to me as default iOS behaviour, it takes snapshot of the app before terminating it. As I understand we can replace snapshot with launch screen, so OsmAnd snapshot will be shown in the app switcher or we can remove the launch screen when the app becomes active again.

@valynor
Copy link
Author

valynor commented Oct 14, 2024

@dmpr0
I am talking specifically about the launch screen issue as shown in the videos above.
This is definitely not "default iOS behaviour" as none of my other apps do this.

@vshcherb
Copy link
Member

when you launch the app sometimes (maybe 1 in 10-20 starts) the map displays max. zoomed out but still centred on your position

This is not clear what's the reason however I didn't manage to reproduce with latest test flight probably those 2 bugs are connected.

@vshcherb
Copy link
Member

vshcherb commented Nov 5, 2024

The issue is merged to #3965

@valynor
Copy link
Author

valynor commented Jan 1, 2025

@vshcherb

I think the "app starting all zoomed out" is fixed. 👍

The other bug I reported above is NOT fixed: OsmAnd still sometimes start with no splash screen or some other page briefly displayed instead of the splash screen.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants