Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Window content doesn't refresh if windows are resized via the Accessibility API #5577

Closed
rg-manytricks opened this issue Aug 19, 2023 · 1 comment
Milestone

Comments

@rg-manytricks
Copy link

Describe the issue
When using our app Moom to resize UTM windows, window content does not automatically resize to fit. (This will also be true of other apps that resize windows using the Accessibility API.)

It appears to us that your code that does automatic resizing on window size change doesn't run if the window is resized via the Accessibility API, but does run on manual resizing. A customer recorded this video that demonstrates the issue: After resizing with Moom, the content doesn't adapt to the new window size. But as soon as the user manually adjusts the window size after using Moom, the content adapts to the new size.

If UTM implemented windowDidResize in the window's delegate or observed the didResize notification for that window, and then applied the same logic it applies when manually resizing, then the content would automatically scale when Moom (or any other app that resizes via the Accessibility API) is used to resize UTM's windows.

Configuration

  • UTM 4.3.5 (87)
  • macOS 13.5.1
  • Apple M1 Pro CPU

Crash log
N/A

Debug log
N/A

Upload VM
N/A

@osy osy added this to the v4.4 milestone Aug 19, 2023
@osy osy closed this as completed in 78bc852 Aug 21, 2023
@rg-manytricks
Copy link
Author

Thank you for addressing this so quickly; we (and other Accessibility API apps) and your users appreciate the support!

-rob.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants