Skip to content

Fix webcam tab performance and UI glitches#72

Merged
grandixximo merged 1 commit into
classic-ui-modern-fixesfrom
cursor/fix-webcam-tab-performance-and-ui-glitches-1590
Oct 11, 2025
Merged

Fix webcam tab performance and UI glitches#72
grandixximo merged 1 commit into
classic-ui-modern-fixesfrom
cursor/fix-webcam-tab-performance-and-ui-glitches-1590

Conversation

@grandixximo

Copy link
Copy Markdown
Owner

Refactor webcam capture to avoid re-initialization on tab switches, fixing slow loading, camera flashing, and UI freezes.

The webcam start/stop was tied to tab visibility, causing repeated re-initialization of the DirectShow graph and blocking the UI thread. This change keeps a single capture instance alive, toggling preview visibility and updating the preview window's owner handle in-place without costly teardown/rebuilds.


Open in Cursor Open in Web

Co-authored-by: toniolo.luca <toniolo.luca@outlook.com>
@cursor

cursor Bot commented Oct 11, 2025

Copy link
Copy Markdown

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

@grandixximo grandixximo marked this pull request as ready for review October 11, 2025 13:11
@grandixximo grandixximo merged commit a83dc8e into classic-ui-modern-fixes Oct 11, 2025
2 checks passed
@grandixximo grandixximo deleted the cursor/fix-webcam-tab-performance-and-ui-glitches-1590 branch October 11, 2025 13:11
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