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

✨ Preview animation - simple slide #679

Open
4 tasks done
greg1075 opened this issue Jan 23, 2025 · 8 comments
Open
4 tasks done

✨ Preview animation - simple slide #679

greg1075 opened this issue Jan 23, 2025 · 8 comments
Labels

Comments

@greg1075
Copy link

Feature Request Description

Would it be possible to replace the ‘slide and zoom’ preview animation with just a slide, or offer that as an option? I think a simple slide looks much more natural, especially when snapping from one side of the screen to the other. Swish does this well, and it’s also how Apple did it in their feature.

Screenshots

No response

Additional Context

No response

Final Checks

  • My issue is written in English
  • My issue title is descriptive
  • This is a single feature request (multiple feature requests should be reported individually)
  • I can help with the improvement or development of this feature (tick if you can help)
@MrKai77
Copy link
Owner

MrKai77 commented Jan 23, 2025

I might be misunderstanding, as the preview animation appears to already be a slide on my end. The only time I notice any kind of “zoom” effect is when the preview appears/disappears. Could you provide more details about where you’re seeing this zoom effect, or perhaps share a screen recording?

@greg1075
Copy link
Author

greg1075 commented Jan 23, 2025

Here you go. The screen recording wouldn't upload and is probably too fast to show it clearly anyway, so here are 11 screenshots of the preview animation frame by frame.

Image Image Image Image Image Image Image Image Image Image Image

@MrKai77
Copy link
Owner

MrKai77 commented Jan 23, 2025

I see, so would it be accurate to say that you’d prefer it to fade and slide instead of zoom and slide?

@greg1075
Copy link
Author

I think a simple slide would be great good. Here are freeze frames of how Swish does it. Sorry to keep refering it, but always a good idea to look at what others do well. It's simple but very effective, I think.

Image Image Image Image Image Image

@MrKai77
Copy link
Owner

MrKai77 commented Jan 25, 2025

Sorry, I still don't think I fully understand 😓

I've attached a few recordings of how it looks on my screen:

Screen.Recording.2025-01-24.at.5.09.02.PM.mov
Screen.Recording.2025-01-24.at.5.11.44.PM.mov

It begins in the center with a size of zero, then scales into its target frame.
When switching sides, it slides from the starting frame to the final frame, which, as I understand it, is already quite similar to how Swish behaves. Are you requesting that instead of initially scaling from a size of zero, that it starts at the target size?

@greg1075
Copy link
Author

Sorry, I still don't think I fully understand 😓

I've attached a few recordings of how it looks on my screen:

Screen.Recording.2025-01-24.at.5.09.02.PM.mov

Screen.Recording.2025-01-24.at.5.11.44.PM.mov

It begins in the center with a size of zero, then scales into its target frame. When switching sides, it slides from the starting frame to the final frame, which, as I understand it, is already quite similar to how Swish behaves. Are you requesting that instead of initially scaling from a size of zero, that it starts at the target size?

Sorry if I'm being unclear. As you mentioned, in Loop the preview starts at the center, zooms in, and while zooming, shifts from the center to the target area (either the left or right half) as shown in the frames from my first reply above.

In Swish, the size of the preview remains constant (no zoom) and simply slides across the screen, either from left to right or right to left.

Starting the animation from the center of the screen doesn't make a whole lot of sense to me when the window's starting position is on the left or right half.

I hope that makes sense!

@MrKai77
Copy link
Owner

MrKai77 commented Jan 25, 2025

@greg1075 It finally clicked for me - I understand now! While this won’t be a top priority at the moment, we’ll definitely consider implementing it in the future!

@greg1075
Copy link
Author

@MrKai77 I think I just uncovered something: Loop uses the animation I’m describing (constant size during slide), but it seems to occur only when ‘chaining’ snapping gestures i.e. moving a window back and forth between the left and right halves without pausing. For this to happen, the mouse pointer also needs to stay roughly in the vertical middle of the screen, otherwise the animation either reverts to ‘zoom and slide,’ or the window snaps to a corner, depending on the pointer’s direction.

CleanShot.2025-01-26.at.09.26.39.mp4

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

No branches or pull requests

2 participants