Jello icon indicating copy to clipboard operation
Jello copied to clipboard

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

Open soshimee opened this issue 4 years ago • 8 comments

Title.

soshimee avatar Dec 08 '20 13:12 soshimee

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.

iamDecode avatar Dec 08 '20 15:12 iamDecode

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

soshimee avatar Dec 09 '20 08:12 soshimee

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

iamDecode avatar Dec 09 '20 08:12 iamDecode

Visual Studio Code.

soshimee avatar Dec 14 '20 13:12 soshimee

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

soshimee avatar Jan 15 '21 14:01 soshimee

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!

iamDecode avatar Jan 15 '21 14:01 iamDecode

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

soshimee avatar Jan 16 '21 08:01 soshimee

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.

iamDecode avatar Jan 16 '21 14:01 iamDecode