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

feature request: the ability to resize windows from VisionOS #3

Open
billyjacoby opened this issue Jan 31, 2024 · 4 comments
Open

feature request: the ability to resize windows from VisionOS #3

billyjacoby opened this issue Jan 31, 2024 · 4 comments
Milestone

Comments

@billyjacoby
Copy link

Totally understand how early along this project is, but the one glaring thing that seems to be missing for my potential use case is the ability to resize macOS windows from visionOS.

I've got a limited amount of Swift knowledge, but I'm happy to take a stab at getting this implemented. It just might take a bit of time for me to do so.

If anyone has recommendations for how to achieve this that would be welcome

@billyjacoby
Copy link
Author

Initially trying to work on this here: https://github.com/billyjacoby/Ensemble/tree/window-size

@saagarjha
Copy link
Owner

This is on the roadmap but as I have probably mentioned already there's a lot of stuff I need to work on first before I can focus on this. The API to do this is AXUIElementSetAttributeValue with the kAXPositionAttribute but there are a number of things that need to be solved beyond just resizing the window–for example, I need to think about how to distinguish this from scaling the window and how to communicate sizing and position constraints back to visionOS.

@billyjacoby
Copy link
Author

Hmm yeah the communicating the constraints definitely sounds to be the most tricky. I haven't yet tested if overlapping windows causes issues, but if not I could imagine that the only real constraint would be the display size.

Is there a roadmap doc or anything similar posted where I could maybe find some smaller things to work on in the mean time? I really love the idea behind this project and would love to contribute however possible

@saagarjha saagarjha moved this to Todo in Ensemble Feb 1, 2024
@saagarjha saagarjha added this to the Beta milestone Feb 1, 2024
@saagarjha
Copy link
Owner

I guess this project has been seeing a lot of attention recently so I might as well make a formal roadmap: https://github.com/users/saagarjha/projects/1. For now I will probably say "no" to any code contributions but feel free to use the issues to discuss or make your own if you see something that's not listed.

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

No branches or pull requests

2 participants