wayfire
wayfire copied to clipboard
grid: suboptimal animation for maximization
Describe the bug
The animation for maximization is not as smooth as it could be.
To Reproduce Steps to reproduce the behavior:
- Enable plugin grid
- Find a (small) window and maximize it
- The window first moves towards top left and then becomes large
Expected behavior The window shouldn't move. It becomes larger and larger every frame from where it was.
Screenshots or stacktrace A video showing the issue, 30x slower:
https://user-images.githubusercontent.com/440661/143993607-927455ba-fd4f-465b-a32f-049f7ff89d66.mp4
Wayfire version git
do you have the wobbly windows plugin enabled? if yes of course it will move to the center and wobble fullscreen
The default effect is crossfade
, which doesn't call wobbly. I thought it might be wobbly but no. It didn't change after I disabled wobbly.
It doesn't move to the center. It moves to left top. I observe the glitch when I maximize a newly-created, centered window. In the recorder I moved the window for something, maybe to uncover a underlying window, or maybe to make the issue more visible. (I tried a lot of times, and I tried obs-studio which didn't catch the issue.)
Actually setting grid.type = wobbly
is much smoother, but I don't want wobble so much.
This is a known bug, a fix will come sometime in the future #995