feedback-assistant / reports

Open collection of Apple Feedback Assistant reports
230 stars 2 forks source link

FB7526274: Unexpected "AXMoved" callback sent on fullscreen windows #75

Open chrenn opened 4 years ago

chrenn commented 4 years ago

Description

After observing "AXWindow" UIElements with "AXObserverCreateWithInfoCallback" and "AXObserverAddNotification", an "AXMoved" notification callback gets sent after making the window fullscreen and subsequently each time focus changes on that fullscreen space. Additionally, this happens in Safari when entering fullscreen mode on videos.

These windows obviously do not get moved, so the callback leads to unexpected behavior.

This regression is new to Catalina. Also, Feedback Reporter sections are not localized correctly in German (or "ApplicationServices" is missing), so this report is filed under "AppKit".

chrenn commented 4 years ago

Comment added by me on 2020-01-11:

On further investigation, this is not a Safari specific problem.

All observing windows of an application receive a separate "AXMoved" notification if one of them is in a fullscreen space and that space changes focus. This happens both when an "AXApplication" or single "AXWindow"s get passed to "AXObserverAddNotification".