I’ve been working on an accessibility module for JUCE as I mentioned I would a few days ago. It’s going great, and I’m just about done with a macOS backend (to a shared frontend interface, of course). However, I’ve hit a roadblock.
The lowest common denominator implementation across the platforms I’m supporting (macOS, iOS, Windows) is that accessibility regions are defined in screen space rather than app space. This currently doesn’t work for me because there’s no way of being informed when a ComponentPeer
's state changes - i.e. when it is moved, resized, etc. It’s not enough to listen to the represented Component
either, since it technically isn’t moving around in its parent space and therefore doesn’t produce any ComponentListener
notifications.
Can we get a ComponentPeer::Listener
that can be informed of window events i.e. minimization, movement around the desktop, resizing, etc? I feel like this has a massive number of useful applications outside my needs for this accessibility module.