Selenium-H / Animation-Tweaks

A GNOME Shell Extension to Tweak animations and customize them
GNU General Public License v3.0
66 stars 9 forks source link

Default minimizing and unminimizing position #3

Open Amathadius opened 5 years ago

Amathadius commented 5 years ago

You can't change anything of minimizing and unminimizing animation without initial position (or final) changes and it is weird with the actual icon's position in dash to dock (or dash to panel).

The possibility to keep the default initial (or final) position may fix it.

Selenium-H commented 5 years ago

Hi @Amathadius. Sorry for the late update. In version 7 of this extension, the initial and final position of animations can be customized now.

Image_04

To keep the default final position for minimize (initial position for unminimize) animation change the default value for X and Y coordinate as MX and mY if dock is either on top or bottom. mX and MY if dock is either on left or right.

Amathadius commented 4 years ago

The initial position being the position of the icon on the dock and not that of the dock itself.

I managed to make the minimize animation be linked to the icon position, but I can't do the same for the unminimize animation.

There's a bit of documentation missing about the MX, MY, MH, MW, DY, IX... used by other effects of the extension.

I just want to add a little fade in/out to the basic effect to hide the lack of fps in gnome animations.

Selenium-H commented 4 years ago

You can set initial position for unminimize animation as MX,MY... to be linked with the icon's position on dock and final position as IX,IY. Also can you confirm if issue #14 is what's happening incase of unminimizing animation or you are using version 9.3 ?

Amathadius commented 4 years ago

I confirm that there is a problem with the positioning of the uniminize animation.

Selenium-H commented 4 years ago

I just want to add a little fade in/out to the basic effect to hide the lack of fps in gnome animations.

minimize_9_1

If this is the effect you're looking for, please try setting the parameters as below for Version 9.1 of the extension.

For minimize set Scale Down animation and change its parameters as

Minimize_9 1

For Unminimize set Scale Up animation and change its parameters as

Unminimize_9 1

If you are using GNOME Shell 3.34 or newer and the above settings don't work properly for Version 9.1, You may try Version 9.4 from experimental branch and set Scale Auto In and Scale Auto Out as minimize and unminimze animations respectively.