🐛 Loop doesn't work properly when 'Animate windows being resized' is enabled
Bug Description
I use 2 screens, an external screen and the MacBook Pro's built-in screen. When 'Animate windows being resized' is enabled, I can't Loop within the built-in screen. If I Loop, it puts the window in my external screen (set as main display), and not even in the correct position.
I'm attaching a screen recording of this issue shown in my built-in screen. The first part of the recording shows the issue, and the rest shows the expected behavior when the feature is disabled.
Steps To Reproduce
- Enable 'Animate windows being resized'
- Try Looping in one of the screens, I'm assuming it happens to the one that's not set as the main display
- Watch it being resized/positioned in the main display instead and not the screen you want
Expected Behavior
Normal resizing/positioning like when the feature is disabled.
Actual Behavior
It puts the window in the wrong screen.
Screenshots
https://github.com/MrKai77/Loop/assets/48293860/30f9cc1d-c5ee-457c-87c0-ae2f3c756f40
MacOS Version
Sonoma 14.5
Loop Version
1.0.0-beta.15
Additional Context
No response
Final Checks
- [X] My issue title is descriptive
- [X] This is a single bug (multiple bugs should be reported individually)
That's really weird.. and just to make sure, you can't reproduce this bug when the macbook's screen is set to the main display right?
Yes, that's correct. If the built-in display is the main display then everything works totally fine. The gif below shows my external display and where the window goes to when looping in the built-in display with the feature enabled.
Alright, that is a very weird bug. I will look into it!
Checking in to see if there's been any progress. :) And lmk if you need any testing I'm happy to help.
Yep, I've actually nearly done reworking window animations as a whole :D I have posted a build here: https://github.com/MrKai77/Loop/issues/298#issuecomment-2125925937 Maybe that will already fix this issue?
Just tested it and indeed it's fixed the issue of the window being moved to my external screen. However, the behavior isn't the same. Before when I selected a window in my external screen, and with my cursor in my MacBook screen, the window moved to my MacBook screen when I looped, now it only moves to the screen where it's at even when my cursor is on another screen. I think the previous behavior is more convenient in some circumstances.
Maybe let users decide which behavior they prefer using a setting?
Yes, that is currently being tracked on #251, where I am planning to make it configurable :)
Yes! Is there a development build that we can test? :)
Also, I'm super excited for the new UI update!
Not yet.. it's still missing a few things :) But you can follow its development on #361!
I'll also be closing this issue since it seems to have been fixed!