Skip to content

Fix antenna height value sometimes showing floating point noise - #4664

Open
Withalion wants to merge 1 commit into
masterfrom
fix/gps-antenna-value
Open

Fix antenna height value sometimes showing floating point noise#4664
Withalion wants to merge 1 commit into
masterfrom
fix/gps-antenna-value

Conversation

@Withalion

Copy link
Copy Markdown
Collaborator

The antenna height setting in Settings sometimes didn't round the value to 3 decimal places and instead showed floating points noise as well (e.g. 1.45000000000000002). Apparently QML was completely okay with use supplying double to string :). Added another guard (InputUtils::formatNumber()) to fix it.

@Withalion Withalion added this to the 2026.4.0 milestone Aug 25, 2026
@Withalion Withalion added bug PRIMARY CATEGORY ui/ux Related to user interface labels Aug 25, 2026
@Withalion Withalion self-assigned this Aug 25, 2026
@Withalion
Withalion requested a review from xkello August 25, 2026 07:48
@Withalion

Copy link
Copy Markdown
Collaborator Author

@IvaKuklica could you please test it, I couldn't reliably replicate this issue even on previous builds

@github-actions

Copy link
Copy Markdown

Coverage Report for CI Build 32822897205

Warning

No base build found for commit 9ce25cb on master.
Coverage changes can't be calculated without a base build.
If a base build is processing, this comment will update automatically when it completes.

Coverage: 59.08%

Details

  • Patch coverage: No coverable lines changed in this PR.

Uncovered Changes

No uncovered changes found.

Coverage Regressions

Requires a base build to compare against. How to fix this →


Coverage Stats

Coverage Status
Relevant Lines: 15704
Covered Lines: 9278
Line Coverage: 59.08%
Coverage Strength: 97.58 hits per line

💛 - Coveralls

@github-actions

Copy link
Copy Markdown

📦 Build Artifacts Ready

OS Status Build Info Workflow run
macOS Build 📬 Mergin Maps 72031 dmg Expires: 23/11/2026 #7203
linux Build 📬 Mergin Maps 72291 x86_64 Expires: 23/11/2026 #7229
win64 Build 📬 Mergin Maps 64051 win64 Expires: 23/11/2026 #6405
Android Build 📬 Mergin Maps 851451 APK [arm64-v8a] Expires: 23/11/2026 #8514
📬 Mergin Maps 851451 APK [arm64-v8a] Google Play Store #8514
Android Build 📬 Mergin Maps 851411 APK [armeabi-v7a] Expires: 23/11/2026 #8514
📬 Mergin Maps 851411 APK [armeabi-v7a] Google Play Store #8514
iOS Build 📬 Build number: 26.08.945511 #9455

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug PRIMARY CATEGORY ui/ux Related to user interface

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant