You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
These logs come from this update I made locally in the source code:
func computeOpenWindows(){
openWindows.removeAll()
// we rely on the fact that CG and AX APIs arrays follow the same order to match objects from both APIs
varpidAndCurrentIndex:[pid_t:Int]=[:]forcgWindowincgWindows(){letcgId=cgWindow[kCGWindowNumber]as!CGWindowIDletcgTitle=String(cgWindow[kCGWindowName]as!NSString)letcgOwnerPid=cgWindow[kCGWindowOwnerPID]as!pid_tleti= pidAndCurrentIndex.index(forKey: cgOwnerPid)pidAndCurrentIndex[cgOwnerPid]=(i ==nil?0:pidAndCurrentIndex[i!].value +1)letaxWindow=axWindows(cgOwnerPid)if axWindow.count >pidAndCurrentIndex[cgOwnerPid]! {
openWindows.append(OpenWindow(target:axWindow[pidAndCurrentIndex[cgOwnerPid]!], ownerPid: cgOwnerPid, cgId: cgId, cgTitle: cgTitle))}else{debugPrint("unexpected 1", pidAndCurrentIndex)debugPrint("unexpected 2", axWindow)}}}
Note that the app isn't crashed. It is ignoring global shortcuts and stdout isn't producing new values
The text was updated successfully, but these errors were encountered:
"event" 10
"event is in somehow"
"event" 11
"event is in somehow"
"event" 12
"event is in somehow"
"event" 12
"event is in somehow"
"event" 4294967294
This is the logging code:
func keyboardHandler(_ cgEvent:CGEvent, _ delegate:Application)->Unmanaged<CGEvent>?{debugPrint("event", cgEvent.type.rawValue)
if cgEvent.type ==.keyDown || cgEvent.type ==.keyUp || cgEvent.type ==.flagsChanged {debugPrint("event is in somehow")
if let event =NSEvent.init(cgEvent: cgEvent){
During normal usage, sometimes the app will stop responding to global shortcuts.
I recorded an instance of this where I saw these logs:
These logs come from this update I made locally in the source code:
Note that the app isn't crashed. It is ignoring global shortcuts and stdout isn't producing new values
The text was updated successfully, but these errors were encountered: