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

Some applications using custom window layout can't be moved. #7

Open
soshimee opened this issue Dec 8, 2020 · 8 comments
Open

Some applications using custom window layout can't be moved. #7

soshimee opened this issue Dec 8, 2020 · 8 comments

Comments

@soshimee
Copy link

soshimee commented Dec 8, 2020

Title.

@iamDecode
Copy link
Owner

iamDecode commented Dec 8, 2020

In order to determine whether a window moves we use a listener for NSWindowWillMoveNotification. If an application does not move, it either means that the application uses a completely custom way of moving the window (which will be challenging if not impossible to support), or Jello does detect the movement, but somehow crashes the physics simulations and locks the window with an incorrect call to CGSSetWindowWarp. I guess the latter is more likely, though I dont know why this would be different between applications.

@soshimee
Copy link
Author

soshimee commented Dec 9, 2020

the window moves a bit, but it keeps snapping back to its original position.

@iamDecode
Copy link
Owner

Then its definitely the second. Could you can provide an example of an application (or multiple) that exhibit this problem?

@soshimee
Copy link
Author

Visual Studio Code.

@soshimee
Copy link
Author

Huh, I don't see any new stuff here.

@iamDecode
Copy link
Owner

I appreciate your enthusiasm, but this project was only meant as a proof of concept. I never intended to release updates or quickly respond to bugs or anything. Perhaps I will revisit the project and tackle some of these issues, but I cannot guarantee I will manage to anytime soon. That’s why it is open source. Please feel free to contribute to this project yourself!

@soshimee
Copy link
Author

I think disabling it for certain applications will be a temporary solution, but is there a way to do it though?

@iamDecode
Copy link
Owner

Oh sure, in MacForge under "System" from the side menu, there is an application blacklist. You can add Visual Studio Code there and Jello will not apply to it. You may have to restart Visual Studio Code for this to start working.

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