fix: OBS 모드 시 숨겨진 오버레이에 키 이벤트 이중 전송 차단#60
Draft
Copilot wants to merge 3 commits intofeat/obs-modefrom
Draft
Conversation
OBS 모드가 활성화되면 키 이벤트(keys:state, input:raw)를 숨겨진 오버레이 윈도우에 전송하지 않도록 변경. 이전에는 OBS WebSocket과 오버레이 윈도우 양쪽에 이벤트가 동시에 전송되어 리소스가 이중으로 소모되는 문제가 있었음. docs/obs-mode-performance-analysis.md에 전체 분석 보고서 포함. Co-authored-by: lee-sihun <111095268+lee-sihun@users.noreply.github.com>
Co-authored-by: lee-sihun <111095268+lee-sihun@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Investigate performance issues with OBS overlay mode
fix: OBS 모드 시 숨겨진 오버레이에 키 이벤트 이중 전송 차단
Mar 7, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
OBS 모드가 오버레이보다 게임 FPS를 더 떨어뜨리는 원인 분석 및 핵심 병목 수정.
근본 원인: OBS 모드 시 오버레이 윈도우는
SW_HIDE로 숨겨지기만 하고 WebView2 프로세스는 계속 실행됨. 키 이벤트(keys:state,input:raw)가 OBS WebSocket 과 숨겨진 오버레이 양쪽에 동시 전송되어, 기존 오버레이 비용 + OBS 추가 비용이 합산됨.코드 변경
src-tauri/src/state/app_state.rs— OBS 모드 활성 시 오버레이 윈도우로의keys:state,input:rawemit을 건너뜀분석 보고서
docs/obs-mode-performance-analysis.md— 4가지 질문(가설 검증 / OBS 최적화 부족 여부 / 숨겨진 오버레이 리소스 소모 / 기타 병목)에 대한 코드 기반 분석 + 후속 개선 방안(P1: 오버레이 destroy, P2: 글로벌 emit 범위 축소)Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.