compton icon indicating copy to clipboard operation
compton copied to clipboard

Scaling animation

Open BlackCapCoder opened this issue 7 years ago • 5 comments

Some programs does not handle the scaling animation nicely. if the program cannot render its new size fast enough, the unrendered area of the window might be rendered as black, or white, or not at all during animation.

When scaling down, one solution is to take an image of the program before the scaling takes place, and use that for the animation. This would cause compton to use significantly more memory, because I don't know if a program will change its size until it does, so I would have to store the last frame of all windows.

The best solution I can think of to the upscaling problem is to actually scale the last image I have of the window.

BlackCapCoder avatar Oct 09 '17 10:10 BlackCapCoder

I'm noticing the same thing (using xfwm4).

Is changing some parameters (like animation duration) a solution?

nkkollaw avatar Mar 15 '18 23:03 nkkollaw

Unfortunately not, currently the only solution is to disable size transitions entirely.

BlackCapCoder avatar Mar 16 '18 00:03 BlackCapCoder

Most of the times, it renders transparent pixels, here.

Any clue as to what might be the cause..?

nkkollaw avatar Mar 16 '18 19:03 nkkollaw

I've never seen transparent pixels before. Could you provide a screencast of the issue?

BlackCapCoder avatar Mar 18 '18 18:03 BlackCapCoder

Sorry, I cannot find some software that won't crash my laptop :-/

nkkollaw avatar Mar 24 '18 10:03 nkkollaw