Post

Replies

Boosts

Views

Activity

AXEnhancedUserInterface breaks window managers like Magnet
From what I read [1], VoiceOver sets the AXEnhanceUserInterface attribute to true on the frontmost application to let them know there is a screen reader client I noticed that when I do set it to true, it breaks window positing with window managers like Magnet. Refer to the GIF where I am using CMD-OPTION-LEFT/RIGHT ARROW to snap left and right Finder but notice how weird it looks [2]. Electron gets around this by listening for another attribute instead (AXManualAccessibility) [3]. However, Chromium apps still use AXEnhancedUserInterface. [1] chromium.org/developers/design-documents/accessibility [2] imgur.com/a/WwHElBz [3] github.com/electron/electron/issues/7206
0
0
1k
Sep ’20
mach_msg_trap SIGILL crashes when using Accessibility API
I am working on an open source Mac app that depends on the Accessibility API. I've noticed occasional crashes when calling the AXUIElementCopyAttributeValue and AXUIElementCopyAttributeValues functions very similar crash logs: pastebin.com/QuF86Fp4 pastebin.com/QrxyVuRu pastebin.com/Nceyk6vZ pastebin.com/m7bLxqe1 pastebin.com/BNtjxd3N pastebin.com/RHYabPRL Here is my part of the source code (and the accessibility api wrapper library I am depending on). https://github.com/dexterleng/vimac/blob/master/ViMac-Swift/Services/QueryWindowService.swift https://github.com/tmandry/AXSwift/blob/master/Sources/UIElement.swift
4
0
1.2k
Sep ’20