GNU bug report logs - #31324
26.0.91; Wrong AXSubrole of childframe on macOS

Previous Next

Package: emacs;

Reported by: Fu Yuan <casouri <at> gmail.com>

Date: Mon, 30 Apr 2018 23:55:01 UTC

Severity: normal

Found in version 26.0.91

Done: Alan Third <alan <at> idiocy.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Alan Third <alan <at> idiocy.org>
To: Fu Yuan <casouri <at> gmail.com>
Cc: 31324 <at> debbugs.gnu.org
Subject: bug#31324: 26.0.91; Wrong AXSubrole of childframe on macOS
Date: Sun, 13 May 2018 11:14:02 +0100
[Message part 1 (text/plain, inline)]
Please keep the bug tracker Cc’d in.

On Fri, May 11, 2018 at 09:31:14PM +0800, Fu Yuan wrote:
> I first ran the lisp code and nothing changed. Then I patched source
> file and compiled, then ran the lisp code on the compiled emacs.
> Nothing different on that Emacs. The UIElementInspecter shows
> AXStandardWindow. Of course both time I used “emacs" command with
> “-Q" flag.
> 
> Is there anything else I can do?

OK, I looked into this a bit further and it seems this stuff is in the
accessibility API. I’ve attached a couple of patches, please apply
‘fix redefinition of child frames on NS’, then ‘Set accessibility
subroles for child frame’ and see if it does what you expect.

This will only work on macOS >= 10.10. I think there must be another
way of doing it on older versions but I haven’t found it yet. I’ll see
if this works before digging any more.
-- 
Alan Third
[0001-Fix-redefinition-of-child-frames-on-NS.patch (text/plain, attachment)]
[0001-Set-accessibility-subroles-for-child-frame-bug-31324.patch (text/plain, attachment)]

This bug report was last modified 6 years and 356 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.