Skip to content

fix(signal combobox): update devices from main thread - #1288

Merged
wyzula-jan merged 1 commit into
mainfrom
fix/signal_combobox_sub
Sep 15, 2026
Merged

wyzula-jan merged 1 commit into
mainfrom
fix/signal_combobox_sub

Conversation

@wakonig

@wakonig wakonig commented Sep 9, 2026

Copy link
Copy Markdown
Member

Description

The SignalCombobox is currently subscribing directly to BEC callbacks, therefore receiving update on a background thread. For improved stability, it is better to move this to a signal event and thus to the main Qt event loop.

@wakonig
wakonig marked this pull request as ready for review September 9, 2026 14:04
@codecov

codecov Bot commented Sep 9, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@wakonig wakonig self-assigned this Sep 9, 2026
@wakonig
wakonig requested a review from wyzula-jan September 9, 2026 14:13
@github-actions

github-actions Bot commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

Benchmark comparison

Threshold: 20% (lower is better).
Result: 0 regression(s), 0 improvement(s) beyond threshold.

No benchmark regression exceeded the configured threshold.

No benchmark improvement exceeded the configured threshold.

All benchmark results
Benchmark Baseline Current Change Status
BEC IPython client with companion app 1.99235 s 2.00723 s +0.75% ok
BEC IPython client without companion app 2.00405 s 2.03099 s +1.34% ok
Import bec_widgets 0.01367 s 0.0138172 s +1.08% ok
tests/unit_tests/benchmarks/test_dock_area_benchmark.py::test_add_waveform_to_dock_area 0.153213 s 0.156794 s +2.34% ok

@wyzula-jan
wyzula-jan merged commit 00c2fda into main Sep 15, 2026
69 checks passed
@wyzula-jan
wyzula-jan deleted the fix/signal_combobox_sub branch September 15, 2026 18:44
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.

2 participants