Skip to content

Fix PX4 log upload auto-upload state inconsistency#14237

Merged
DonLakeFlyer merged 1 commit intomavlink:masterfrom
DonLakeFlyer:fix/px4-log-upload-state-sync
Mar 29, 2026
Merged

Fix PX4 log upload auto-upload state inconsistency#14237
DonLakeFlyer merged 1 commit intomavlink:masterfrom
DonLakeFlyer:fix/px4-log-upload-state-sync

Conversation

@DonLakeFlyer
Copy link
Copy Markdown
Collaborator

Partial fix for #14218 (item 4).

Problem

In PX4LogUploadSettings.qml, saveItems() unchecks autoUploadCheck when the email address is empty, but never sets _mavlinkLogManager.enableAutoUpload = false. This leaves the backend auto-upload enabled while the UI shows it disabled.

Fix

Add _mavlinkLogManager.enableAutoUpload = false in the empty-email branch so the manager state stays in sync with the checkbox.

Copilot AI review requested due to automatic review settings March 29, 2026 15:50

This comment was marked as resolved.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Mar 29, 2026

Build Results

Platform Status

Platform Status Details
Linux Passed View
Windows Passed View
MacOS Passed View
Android Passed View

All builds passed.

Pre-commit

Check Status Details
pre-commit Failed (non-blocking) View

Pre-commit hooks: 4 passed, 32 failed, 7 skipped.

Test Results

linux-sanitizers: 67 passed, 0 skipped
linux_gcc_64: 67 passed, 0 skipped
Total: 134 passed, 0 skipped

Artifact Sizes

Artifact Size
QGroundControl 247.50 MB
QGroundControl 337.82 MB
QGroundControl-aarch64 177.07 MB
QGroundControl-installer-AMD64 134.78 MB
QGroundControl-installer-AMD64-ARM64 77.40 MB
QGroundControl-installer-ARM64 106.11 MB
QGroundControl-mac 188.48 MB
QGroundControl-windows 188.51 MB
QGroundControl-x86_64 172.14 MB
No baseline available for comparison---
Updated: 2026-03-29 20:06:15 UTC • Triggered by: Android

When saveItems() unchecks autoUploadCheck due to an empty email address,
also set _mavlinkLogManager.enableAutoUpload = false so the backend
state stays in sync with the UI.

Partial fix for mavlink#14218 (item 4).
@DonLakeFlyer DonLakeFlyer force-pushed the fix/px4-log-upload-state-sync branch from e882e53 to eddb7c6 Compare March 29, 2026 19:10
@DonLakeFlyer DonLakeFlyer merged commit f21caae into mavlink:master Mar 29, 2026
24 checks passed
@DonLakeFlyer DonLakeFlyer deleted the fix/px4-log-upload-state-sync branch March 29, 2026 20:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants