Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

유니버셜 컨트롤을 이용해 다른 맥에서 속 입력기가 선택된 맥으로 입력이 안되는 문제 #17

Open
teslamint opened this issue Jul 9, 2023 · 0 comments
Labels
버그 뭔가가 제대로 작동하지 않습니다.

Comments

@teslamint
Copy link

teslamint commented Jul 9, 2023

  1. 사용하고 계신 속 입력기 버전
    1.0.3(18)
  2. 문제가 발생한 앱 이름
    모든 앱
  3. 자세한 문제 재현 방법
    유니버셜 컨트롤을 이용해 다른 맥에서 속 입력기가 설치된 맥으로 전환해 아무 앱(예: iTerm 2)에서나 입력을 시도
  4. 디버그 메시지

유니버셜 컨트롤을 통해 다른 맥에서 입력한 경우:

2023-07-09 13:39:26.461 Db SokIM[87110:9e5070] SokIM/InputMonitor.swift: nextHID(_:_:) (InputContext(bundleIdentifier: "com.googlecode.iterm2", rolePath: ":AXTextArea:AXScrollArea:AXSplitGroup:AXGroup:AXWindow:AXApplication:"), 16244112090521, keyUp, 0x28)
2023-07-09 13:39:27.759 Db SokIM[87110:9e5070] SokIM/InputMonitor.swift: activateAX(_:) Optional(name = NSWorkspaceDidActivateApplicationNotification, object = Optional(<NSWorkspace: 0x600000644490>), userInfo = Optional([AnyHashable("NSWorkspaceApplicationKey"): <NSRunningApplication: 0x600002a52300 (com.apple.universalcontrol - 83960) LSASN:{hi=0x0;lo=0x9520517}>]))
2023-07-09 13:39:27.759 Db SokIM[87110:9e5eb4] SokIM/InputMonitor.swift: activateAX(_:) AXManualAccessibility 활성화 완료 <AXUIElement Application 0x600000a75bf0> {pid=83960}
2023-07-09 13:39:27.759 Db SokIM[87110:9e5eb4] SokIM/InputMonitor.swift: activateAX(_:) AXEnhancedUserInterface 활성화 <AXUIElement Application 0x600000a75bf0> {pid=83960}
2023-07-09 13:39:28.117 Db SokIM[87110:9e5070] SokIM/InputMonitor.swift: activateAX(_:) Optional(name = NSWorkspaceDidActivateApplicationNotification, object = Optional(<NSWorkspace: 0x600000644490>), userInfo = Optional([AnyHashable("NSWorkspaceApplicationKey"): <NSRunningApplication: 0x600002a54200 (com.googlecode.iterm2 - 84381) LSASN:{hi=0x0;lo=0x956355a}>]))
2023-07-09 13:39:28.117 Db SokIM[87110:9e5070] SokIM/AppDelegate.swift: reset(_:) Optional(NSEvent: type=LMouseDown loc=(419.578,394) time=676839.6 flags=0 win=0x0 winNum=22178 ctxt=0x0 evNum=25297 click=1 buttonNumber=0 pressure=1 deviceID:0x0 subtype=0)
2023-07-09 13:39:28.117 Db SokIM[87110:9e5070] SokIM/MarkedStrategy.swift: flush(from:to:) QwertyEngine '' [] [:]
2023-07-09 13:39:28.117 Db SokIM[87110:9e5070] SokIM/InputMonitor.swift: flush()
2023-07-09 13:39:28.117 Db SokIM[87110:9e5070] SokIM/EventContext.swift: init()
2023-07-09 13:39:28.133 Db SokIM[87110:9e64d8] SokIM/InputMonitor.swift: activateAX(_:) AXManualAccessibility 활성화 완료 <AXUIElement Application 0x600000a71d40> {pid=84381}
2023-07-09 13:39:28.134 Db SokIM[87110:9e64d8] SokIM/InputMonitor.swift: activateAX(_:) AXEnhancedUserInterface 이미 활성화되어 있음 <AXUIElement Application 0x600000a71d40> {pid=84381}
2023-07-09 13:39:30.130 Db SokIM[87110:9e5070] SokIM/AppDelegate.swift: handle(_:client:) Optional(NSEvent: type=KeyDown loc=(0,0) time=676841.7 flags=0 win=0x0 winNum=0 ctxt=0x0 chars="\^M" unmodchars="\^M" repeat=0 keyCode=36) Optional(<IPMDServerClientWrapper: 0x6000035740a0>)
2023-07-09 13:39:30.130 Db SokIM[87110:9e5070] SokIM/InputMonitor.swift: flush()
2023-07-09 13:39:30.131 Db SokIM[87110:9e5070] SokIM/AppDelegate.swift: filterContexts(_:)
2023-07-09 13:39:30.132 Db SokIM[87110:9e5070] SokIM/AppDelegate.swift: filterQuirks(_:)
2023-07-09 13:39:30.132 Db SokIM[87110:9e5070] SokIM/AppDelegate.swift: handle(_:client:) 이전 state: QwertyEngine '' [] [:]
2023-07-09 13:39:30.132 Db SokIM[87110:9e5070] SokIM/AppDelegate.swift: handle(_:client:) 이전 event context: EventContext(sender: nil, bundleIdentifier: "", pointerValue: 0, selectedRange: {NSNotFound, 0}, markedRange: {NSNotFound, 0}, strategy: SokIM.MarkedStrategy)
2023-07-09 13:39:30.132 Db SokIM[87110:9e5070] SokIM/EventContext.swift: init(_:)
2023-07-09 13:39:30.133 Db SokIM[87110:9e5070] SokIM/EventContext.swift: init(_:) validAttributesForMarkedText: ["NSColor", "NSBackgroundColor", "NSUnderline", "NSFont", "NSDictationHiliteMarkedText"]
2023-07-09 13:39:30.134 Db SokIM[87110:9e5070] SokIM/AppDelegate.swift: handle(_:client:) 중간 event context: EventContext(sender: Optional(<IPMDServerClientWrapper: 0x6000035740a0>), bundleIdentifier: "com.googlecode.iterm2", pointerValue: -1190402579102397652, selectedRange: {0, 0}, markedRange: {NSNotFound, 9223372036854775807}, strategy: SokIM.MarkedStrategy)
2023-07-09 13:39:30.134 Db SokIM[87110:9e5070] SokIM/MarkedStrategy.swift: equal(left:right:)
2023-07-09 13:39:30.134 Db SokIM[87110:9e5070] SokIM/AppDelegate.swift: handle(_:client:) event context 변경!
2023-07-09 13:39:30.134 Db SokIM[87110:9e5070] SokIM/State.swift: clear(composed:composing:) composed: true, composing: true
2023-07-09 13:39:30.134 Db SokIM[87110:9e5070] SokIM/MarkedStrategy.swift: flush(from:to:) QwertyEngine '' [] [:]
2023-07-09 13:39:30.134 Db SokIM[87110:9e5070] SokIM/State.swift: clear(composed:composing:) composed: true, composing: true
2023-07-09 13:39:30.134 Db SokIM[87110:9e5070] SokIM/EventContext.swift: init(_:)
2023-07-09 13:39:30.135 Db SokIM[87110:9e5070] SokIM/EventContext.swift: init(_:) validAttributesForMarkedText: ["NSColor", "NSBackgroundColor", "NSUnderline", "NSFont", "NSDictationHiliteMarkedText"]
2023-07-09 13:39:30.135 Db SokIM[87110:9e5070] SokIM/AppDelegate.swift: handle(_:client:) 이후 event context: EventContext(sender: Optional(<IPMDServerClientWrapper: 0x6000035740a0>), bundleIdentifier: "com.googlecode.iterm2", pointerValue: -1190402579102397652, selectedRange: {0, 0}, markedRange: {NSNotFound, 9223372036854775807}, strategy: SokIM.MarkedStrategy)
2023-07-09 13:39:30.135 Db SokIM[87110:9e5070] SokIM/AppDelegate.swift: handle(_:client:) 이후 state: QwertyEngine '' [] [:]

속 입력기가 설치된 맥에 있는 키보드로 입력한 경우:

2023-07-09 13:39:34.608 Db SokIM[87110:9e5070] SokIM/InputMonitor.swift: nextHID(_:_:) (InputContext(bundleIdentifier: "com.googlecode.iterm2", rolePath: ":AXTextArea:AXScrollArea:AXSplitGroup:AXGroup:AXWindow:AXApplication:"), 16244307668420, keyDown, 0x28)
2023-07-09 13:39:34.619 Db SokIM[87110:9e5070] SokIM/AppDelegate.swift: handle(_:client:) Optional(NSEvent: type=KeyDown loc=(0,0) time=676846.2 flags=0 win=0x0 winNum=0 ctxt=0x0 chars="\^M" unmodchars="\^M" repeat=0 keyCode=36) Optional(<IPMDServerClientWrapper: 0x6000035740a0>)
2023-07-09 13:39:34.619 Db SokIM[87110:9e5070] SokIM/InputMonitor.swift: flush()
2023-07-09 13:39:34.619 Db SokIM[87110:9e5070] SokIM/AppDelegate.swift: filterContexts(_:)
2023-07-09 13:39:34.619 Db SokIM[87110:9e5070] SokIM/AppDelegate.swift: filterQuirks(_:)
2023-07-09 13:39:34.620 Db SokIM[87110:9e5070] SokIM/AppDelegate.swift: handle(_:client:) 이전 state: QwertyEngine '' [] [:]
2023-07-09 13:39:34.620 Db SokIM[87110:9e5070] SokIM/AppDelegate.swift: handle(_:client:) 이전 event context: EventContext(sender: Optional(<IPMDServerClientWrapper: 0x6000035740a0>), bundleIdentifier: "com.googlecode.iterm2", pointerValue: -1190402579102397652, selectedRange: {0, 0}, markedRange: {NSNotFound, 9223372036854775807}, strategy: SokIM.MarkedStrategy)
2023-07-09 13:39:34.620 Db SokIM[87110:9e5070] SokIM/EventContext.swift: init(_:)
2023-07-09 13:39:34.622 Db SokIM[87110:9e5070] SokIM/EventContext.swift: init(_:) validAttributesForMarkedText: ["NSColor", "NSBackgroundColor", "NSUnderline", "NSFont", "NSDictationHiliteMarkedText"]
2023-07-09 13:39:34.622 Db SokIM[87110:9e5070] SokIM/AppDelegate.swift: handle(_:client:) 중간 event context: EventContext(sender: Optional(<IPMDServerClientWrapper: 0x6000035740a0>), bundleIdentifier: "com.googlecode.iterm2", pointerValue: -1190402579102397652, selectedRange: {0, 0}, markedRange: {NSNotFound, 9223372036854775807}, strategy: SokIM.MarkedStrategy)
2023-07-09 13:39:34.622 Db SokIM[87110:9e5070] SokIM/MarkedStrategy.swift: equal(left:right:)
2023-07-09 13:39:34.622 Db SokIM[87110:9e5070] SokIM/State.swift: next(_:) Input ignored: (InputContext(bundleIdentifier: "com.googlecode.iterm2", rolePath: ":AXTextArea:AXScrollArea:AXSplitGroup:AXGroup:AXWindow:AXApplication:"), 16244307668420, keyDown, 0x28) 16ms
2023-07-09 13:39:34.622 Db SokIM[87110:9e5070] SokIM/MarkedStrategy.swift: flush(from:to:) QwertyEngine '' [] [:]
2023-07-09 13:39:34.622 Db SokIM[87110:9e5070] SokIM/State.swift: clear(composed:composing:) composed: true, composing: true
2023-07-09 13:39:34.622 Db SokIM[87110:9e5070] SokIM/EventContext.swift: init(_:)
2023-07-09 13:39:34.624 Db SokIM[87110:9e5070] SokIM/EventContext.swift: init(_:) validAttributesForMarkedText: ["NSColor", "NSBackgroundColor", "NSUnderline", "NSFont", "NSDictationHiliteMarkedText"]
2023-07-09 13:39:34.624 Db SokIM[87110:9e5070] SokIM/AppDelegate.swift: handle(_:client:) 이후 event context: EventContext(sender: Optional(<IPMDServerClientWrapper: 0x6000035740a0>), bundleIdentifier: "com.googlecode.iterm2", pointerValue: -1190402579102397652, selectedRange: {0, 0}, markedRange: {NSNotFound, 9223372036854775807}, strategy: SokIM.MarkedStrategy)
2023-07-09 13:39:34.624 Db SokIM[87110:9e5070] SokIM/AppDelegate.swift: handle(_:client:) 이후 state: QwertyEngine '' [] [:]
@kiding kiding added the 버그 뭔가가 제대로 작동하지 않습니다. label Aug 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
버그 뭔가가 제대로 작동하지 않습니다.
Projects
None yet
Development

No branches or pull requests

2 participants