wayfire icon indicating copy to clipboard operation
wayfire copied to clipboard

grid: suboptimal animation for maximization

Open lilydjwg opened this issue 3 years ago • 3 comments

Describe the bug

The animation for maximization is not as smooth as it could be.

To Reproduce Steps to reproduce the behavior:

  1. Enable plugin grid
  2. Find a (small) window and maximize it
  3. 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

lilydjwg avatar Nov 30 '21 05:11 lilydjwg

do you have the wobbly windows plugin enabled? if yes of course it will move to the center and wobble fullscreen

CrezyDud avatar Nov 30 '21 07:11 CrezyDud

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.

lilydjwg avatar Nov 30 '21 07:11 lilydjwg

This is a known bug, a fix will come sometime in the future #995

ammen99 avatar Nov 30 '21 07:11 ammen99