Only restart extension pipeline when capture area/bounds actually change by xDeeKay · Pull Request #37 · TeamAntumbra/wintumbra · GitHub
Skip to content

Only restart extension pipeline when capture area/bounds actually change - #37

Merged
walshie4 merged 1 commit into
TeamAntumbra:masterfrom
xDeeKay:fix/extensioninstance-unnecessary-restart
Aug 4, 2026
Merged

Only restart extension pipeline when capture area/bounds actually change#37
walshie4 merged 1 commit into
TeamAntumbra:masterfrom
xDeeKay:fix/extensioninstance-unnecessary-restart

Conversation

@xDeeKay

@xDeeKay xDeeKay commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

ConfigurationUpdate was unconditionally Stop()/Start()-ing the active driver/grabber/processors on every settings change, including brightness. Since the Brightness slider fires Scroll events rapidly while dragging, this caused a Stop/Start storm that crashed the app. Position and bound values are now cached and compared so the restart only happens when the capture area actually moved; everything else (brightness, bias, weighting, step sleep, capture throttle) still applies live as before.

Testing: Reproduced the original crash on a real device by dragging the Brightness slider, which used to crash the app after a few drags. After this fix it no longer crashes, even when dragging quickly. Also checked that moving or resizing the capture region still restarts the driver correctly, so that behavior wasn't accidentally broken.

ConfigurationUpdate was unconditionally Stop()/Start()-ing the active
driver/grabber/processors on every settings change, including brightness.
Since the Brightness slider fires Scroll events rapidly while dragging,
this caused a Stop/Start storm that crashed the app. Position and bound
values are now cached and compared so the restart only happens when the
capture area actually moved; everything else (brightness, bias,
weighting, step sleep, capture throttle) still applies live as before.
@walshie4
walshie4 merged commit e56f3e9 into TeamAntumbra:master Aug 4, 2026
@wildanenjoy3-jpg

Copy link
Copy Markdown

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.

4 participants