Repository navigation
Do not send a zoom on a tab's only pane - #737
Merged
Merged
Conversation
Herdr answers a zoom on a lone pane unchanged (single_pane), so no topology ever confirmed the operation; once its deadline passed it sat unknown with no deadline and refused every later split, zoom, resize and close in the tab until hided restarted. The core now refuses such a zoom before it reaches Herdr, on this machine and on a device, and logs it.
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.
Summary
pane이 하나뿐인 tab에서 zoom(⌥⌘↩)을 누르면, 그 뒤로 그 tab의 split(⌘D)·zoom·resize·close가 hided 재시작 전까지 전부 조용히 무시됐습니다.
Herdr는 pane이 하나인 tab의 zoom에
changed:false,reason:"single_pane"으로 답하는데, core는 이 답을 보지 않고 zoom 상태가 바뀌기를 기다립니다.바뀌지 않으니 작업 기록이
unknown이 되고 기한도 사라져, 같은 tab의 다음 작업을 모두 "이미 진행 중"으로 거절했습니다.이제 core가 pane 하나짜리(zoom되지 않은) tab의 zoom을 Herdr에 보내지 않고 진단 로그(
pane.zoom.single_pane, device는remote.control.zoom_single_pane)만 남깁니다.우클릭 메뉴는 이미 이 경우 Zoom pane을 비활성화하고 있었고, 단축키 경로만 빠져 있었습니다.
Review
herdr-core/src/runtime/events.rs,herdr-core/src/runtime/agents.rs- runtime mutex 안에서 도는 이벤트 처리. 추가된 것은 이미 들고 있는 layout을 한 번 조회하는 것뿐입니다.unknown에 기한 없이 남은 작업이 tab을 무기한 막는 경로(expire_pane_operations,expire_remote_operations) 자체는 그대로 둡니다. 다른 원인으로 같은 상태가 생길 수 있어 별도 이슈로 다룰지 의견 주세요.Evidence
pane zoom이changed:false, reason:"single_pane"을 반환하고, split 후에는 zoom이 정상 토글됨을 직접 확인했습니다.pane.split.*.requested8건이 Herdr로 하나도 나가지 않았고, snapshot에 그 zoom 기록이unknown, 기한null로 남아 있었습니다.FakeHerdr, device)가 가드를 끄면 실패하고 켜면 통과합니다. herdr-core 전체 1641개 통과,verify-cargo.sh lint통과.