Skip to content

Rework cancellation logic for LayerFeaturesModel searches#4526

Open
uclaros wants to merge 2 commits into
masterfrom
bugfix/rework-cancel-requests
Open

Rework cancellation logic for LayerFeaturesModel searches#4526
uclaros wants to merge 2 commits into
masterfrom
bugfix/rework-cancel-requests

Conversation

@uclaros
Copy link
Copy Markdown
Contributor

@uclaros uclaros commented Jun 4, 2026

Rework of the cancellation logic in LayerFeaturesModel feature requests.

Main changes:

  • Each search gets its own QgsFeedback and QFutureWatcher instances.
  • To cancel a request we use QgsFeedback::cancel() and let the provider stop the iteration.
  • Pending request is cancelled when model or layer is destroyed.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Jun 4, 2026

Coverage Report for CI Build 26961661633

Warning

No base build found for commit 8f6b0db 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: 57.86%

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: 15249
Covered Lines: 8823
Line Coverage: 57.86%
Coverage Strength: 100.29 hits per line

💛 - Coveralls

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Jun 4, 2026

📦 Build Artifacts Ready

OS Status Build Info Workflow run
macOS Build 📬 Mergin Maps 68871 dmg Expires: 02/09/2026 #6887
linux Build 📬 Mergin Maps 69131 x86_64 Expires: 02/09/2026 #6913
win64 Build 📬 Mergin Maps 60811 win64 Expires: 02/09/2026 #6081
Android Build 📬 Mergin Maps 819711 APK [armeabi-v7a] Expires: 02/09/2026 #8197
📬 Mergin Maps 819711 APK [armeabi-v7a] Google Play Store #8197
Android Build 📬 Mergin Maps 819751 APK [arm64-v8a] Expires: 02/09/2026 #8197
📬 Mergin Maps 819751 APK [arm64-v8a] Google Play Store #8197
iOS Build Build failed or not found. #9139

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