Skip to content

fix(gui): show bitmask usage once per parameter table - #2304

Closed
YoussGm3o8 wants to merge 1 commit into
ArduPilot:masterfrom
YoussGm3o8:fix-component-dropdowns
Closed

YoussGm3o8 wants to merge 1 commit into
ArduPilot:masterfrom
YoussGm3o8:fix-component-dropdowns

Conversation

@YoussGm3o8

@YoussGm3o8 YoussGm3o8 commented Oct 30, 2026 •

Copy link
Copy Markdown
Contributor

Description

Fixes #2302

Opening an inline component dropdown can refresh the parameter table several times. Each refresh opens bitmask usage help, creating repeated modal windows that steal focus from the dropdown.

Remember when a table has displayed its bitmask help. Apply the guard to immediate and batched rendering while preserving the saved popup preference. Add regression coverage for workflow and external-file tables, including ordinary choices that should not request bitmask help.

Checklist

  • Run pre-commit checks locally
  • Verified by a human programmer
  • All commits are signed off (use git commit --signoff)
  • Code follows our coding standards
  • Documentation updated if needed
  • No breaking changes or properly documented

Testing

  • The regression fails against upstream code and passes with the fix.

  • 161 focused tests pass on Windows with Python 3.14.6.

  • Automated native Windows UI reproduction confirms that both receiver dropdowns open and selections update the derived parameters without repeated help.

  • Applicable pre-commit and pre-push checks pass.

  • Unit tests pass

  • Integration tests pass

  • Manual testing performed

  • Tested on flight controller hardware

The full repository suite and Linux/macOS were not tested for this change.

Inline component validation refreshes the parameter table when a dropdown
opens. Reopening bitmask help on every refresh creates repeated modal
windows that steal focus from the dropdown.

Remember when a table has shown its bitmask help, including during batched
rendering. Cover workflow and external-file tables and verify that ordinary
choice parameters do not request bitmask help.

Signed-off-by: YoussGm3o8 <youssefelkesti2005@gmail.com>
Copilot AI balanced review requested due to automatic review settings October 30, 2026 04:42

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.

@YoussGm3o8 YoussGm3o8 closed this Oct 30, 2026
@YoussGm3o8
YoussGm3o8 deleted the fix-component-dropdowns branch October 30, 2026 05:21
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.

Repeated bitmask usage popups block inline component dropdowns

2 participants