Skip to content

DeviceInfo: Don't block map tiles when reachability is Unknown#63

Merged
julianoes merged 1 commit into
Stable_V5.0-Herelinkfrom
pr-map-download-fix
Jul 2, 2026
Merged

DeviceInfo: Don't block map tiles when reachability is Unknown#63
julianoes merged 1 commit into
Stable_V5.0-Herelinkfrom
pr-map-download-fix

Conversation

@julianoes

Copy link
Copy Markdown
Collaborator

isInternetAvailable() required QNetworkInformation::reachability() to be exactly Online. On Qt 6.6.3/Android the reachability stays Unknown for a connection established before the app started, so every map tile fetch was short-circuited with 'Network Not Available' and no request was ever made, even though the network was fully validated and other requests (e.g. version checks) worked. Treat only a definite Disconnected as offline.

isInternetAvailable() required QNetworkInformation::reachability() to be
exactly Online. On Qt 6.6.3/Android the reachability stays Unknown for a
connection established before the app started, so every map tile fetch
was short-circuited with 'Network Not Available' and no request was ever
made, even though the network was fully validated and other requests
(e.g. version checks) worked. Treat only a definite Disconnected as
offline.
@julianoes
julianoes merged commit 7f6eb6a into Stable_V5.0-Herelink Jul 2, 2026
1 check passed
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

Successfully merging this pull request may close these issues.

1 participant