-
Notifications
You must be signed in to change notification settings - Fork 88
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
[Snap to layout] - Ugly screen tearing #218
Comments
I'm using 1000 Hz gaming mouse. default.-.with.screen.tearing.mp4 |
Try setting |
I confirm this idea. You are seeing flicker because when you point your mouse between two zones, the window will be resized to cover both. If you set InterZone to zero, then the behaviour will be disabled and the only way to extend a window to several zones will be using Ctrl key. |
However in general I would recommend setting RezTimer=1 if you use a 60Hz monitor. |
I applied InterZone=0, I can't tell the difference. webpage.tearing.mp4I really like the Microsoft FancyZones's implementation, fancyzone.dragging.mp4The window is NOT resized at all until it's dropped to the other zone. We can achieve something similar simply by enabling FullWin=0 now. But this setting will also affect normal dragging, without "snap to layout". |
Could you share your AltSnap.ini? |
I agree Fancy zones method is quite good. In general I plan to implement a snapping preview in the future for all kind of snapping see Issue #106 for more. However the latest test build should fix a part of the problem, because when you start moving a Snapped window it will no longer restore it if you are in Zone-snapping mode. This would cause a visible flicker that could be quite long for windows that are slow drawers. I would like to see your .ini file, because I do not see how the RezTimer should affect Zone snapping. |
The tearing issue is a lot less, it's barely noticeable but it's there. Video recording makes it worse, so it's difficult to show exactly. with.and.without.Fullwin.mp4Notice in the video, the monitor is split into 3. Dragging one window from the left all the way to right, is not a very nice visual experience. It snaps to each layout position en-route to it's final destination. I've tried to play with this setting, but didn't notice any difference.
|
@onguarde |
i tried but I can't tell any difference. Mine is on disabled. Probably need to agree on a standard test window, to make comparisons easier. |
From your videos, which would be more useful with a higher frame rate, it looks like your PC struggles with resizing the window fast enough to be unnoticeable. You could experiment with different |
AutoSnap setting will not change anything, I agree with Ichisich, your problem is just a slow desktop, there is no much I can do outside of FullWin=0. |
A thing that might help is the Max Aero Speed; |
Here we go: I suggest you start with a Max Snapping Speed of 64pixels/64ms, then try increasing or decreasing depending on your taste. If the cursor goes faster than the max snapping speed, then the windows will not be moved until the cursor slows down. like this you can move quickly your cursor over a zone without having the window snap to it. |
Note that the above test build also contains the transparent rectangle option available via the |
awesome, this works perfectly too, i put my value as 16. However, I ended up preferring the new FullWin=0, "transparent rectangle" option. This one is perfectly usable really, just a matter of preference. Because this relies on the speed of the cursor, it's a teeny bit harder to control. However, the advantage is you can quickly try multiple snap layouts, without releasing your left mouse drag. Below are my full settings for reference,
|
In the advanced settings option, i don't get what is the number 32 in the second box. I can't edit this from GUI. Looking at the Altsnap.ini, it seems to be linked to AeroSpeedTau=32. What does that do?
I presume it corresponds to the second value in your quote above? So in my case,
max speed =16pixels/32ms. Anyway, i believe we don't need to edit that for this to work. Perhaps we can add the units (pixels) and (ms) inside the GUI, to make things clearer. |
When "Snap to Layout with Shift" option is enabled, moving windows with alt+shift+drag results in a lot of tearing. The window size keeps changing frantically as you move the mouse.
I experimented with the Performance parameters in AltSnap.ini file. When RezTimer is set to 0, it gives the best visual experience. When the window size is totally fixed while moving, and eventually it gets resized only once, when you reach a snap layout position.
I believe this should be the default and documented somewhere in the wiki.
The text was updated successfully, but these errors were encountered: