Change panel-menu effects (make it look like current GNOME's)

Please post suggestions for improvement of Cinnamon here
https://github.com/linuxmint/Cinnamon
Post Reply
User avatar
noc
Level 1
Level 1
Posts: 15
Joined: Sat Jan 20, 2018 6:55 pm

Change panel-menu effects (make it look like current GNOME's)

Post by noc » Thu May 03, 2018 12:54 pm

Hello community!

The new effects on Cinnamon's panel menus - that look like KDE's (introduced in cinnamon 3.2 if I am right?) have always been choppy on my system, ruining part of an otherwise fluid experience with my desktop. I have been wondering if (and how) this could be changed in any config file, so I can revert the effects back to the original which worked like a charm (the same effect that GNOME uses for its panel menus too).

Any suggestion would be highly appreciated!
Desktop: Intel Core i3 2120 | Nvidia GeForce 750Ti | 8GB | 500GB HDD
Notebook: Intel Core i3 4005U | Intel HD 4400 / Nvidia GeForce 920M | 4GB | 256GB SSD + 500GB HDD

Cosmo.
Level 23
Level 23
Posts: 17830
Joined: Sat Dec 06, 2014 7:34 am

Re: Change panel-menu effects (make it look like current GNOME's)

Post by Cosmo. » Thu May 03, 2018 4:45 pm

Which effect to you exactly mean?

User avatar
noc
Level 1
Level 1
Posts: 15
Joined: Sat Jan 20, 2018 6:55 pm

Re: Change panel-menu effects (make it look like current GNOME's)

Post by noc » Thu May 03, 2018 6:43 pm

Thank you for your interest. Take a look at this video: https://www.linuxmint.com/pictures/scre ... _menus.mp4
I wonder if this effect can be reverted to the previous animation that Cinnamon used for its menus, as seen at 1:52 on this video: https://youtu.be/ToFhMxgoFFg?t=1m52s
Desktop: Intel Core i3 2120 | Nvidia GeForce 750Ti | 8GB | 500GB HDD
Notebook: Intel Core i3 4005U | Intel HD 4400 / Nvidia GeForce 920M | 4GB | 256GB SSD + 500GB HDD

JosephM
Level 6
Level 6
Posts: 1047
Joined: Sun May 26, 2013 6:25 pm

Re: Change panel-menu effects (make it look like current GNOME's)

Post by JosephM » Fri May 04, 2018 3:24 am

You can't. Not unless you want to rewrite the js code that handles the menu animations.
When I give opinions, they are my own. Not necessarily those of any other Linux Mint developer or the Linux Mint project as a whole.

User avatar
noc
Level 1
Level 1
Posts: 15
Joined: Sat Jan 20, 2018 6:55 pm

Re: Change panel-menu effects (make it look like current GNOME's)

Post by noc » Fri May 04, 2018 8:26 am

So, I need to change the code and recompile Cinnamon? Or is it a settings file that can be modified on the fly?
Desktop: Intel Core i3 2120 | Nvidia GeForce 750Ti | 8GB | 500GB HDD
Notebook: Intel Core i3 4005U | Intel HD 4400 / Nvidia GeForce 920M | 4GB | 256GB SSD + 500GB HDD

User avatar
noc
Level 1
Level 1
Posts: 15
Joined: Sat Jan 20, 2018 6:55 pm

Re: Change panel-menu effects (make it look like current GNOME's)

Post by noc » Sun May 06, 2018 3:04 pm

Which is the file that handles the menu effects? I will try to replace it with Cinnamon's 3.0 js file to see if I can revert back the smooth effects.
Desktop: Intel Core i3 2120 | Nvidia GeForce 750Ti | 8GB | 500GB HDD
Notebook: Intel Core i3 4005U | Intel HD 4400 / Nvidia GeForce 920M | 4GB | 256GB SSD + 500GB HDD

JosephM
Level 6
Level 6
Posts: 1047
Joined: Sun May 26, 2013 6:25 pm

Re: Change panel-menu effects (make it look like current GNOME's)

Post by JosephM » Mon May 07, 2018 1:33 am

noc wrote:
Sun May 06, 2018 3:04 pm
Which is the file that handles the menu effects? I will try to replace it with Cinnamon's 3.0 js file to see if I can revert back the smooth effects.
You can't do that. It is way more involved. Part of the reason it was changed was to remove a lot overly complex code for drawing and placing the pointer. It's across multiple files. Doing what you are talking about will just cause since to break horribly.
When I give opinions, they are my own. Not necessarily those of any other Linux Mint developer or the Linux Mint project as a whole.

User avatar
smurphos
Level 6
Level 6
Posts: 1166
Joined: Fri Sep 05, 2014 12:18 am
Location: Britisher...

Re: Change panel-menu effects (make it look like current GNOME's)

Post by smurphos » Mon May 07, 2018 3:13 am

noc wrote:
Fri May 04, 2018 8:26 am
So, I need to change the code and recompile Cinnamon? Or is it a settings file that can be modified on the fly?
Have you tried adjusting settings in the Cinnamon Effects settings module to see if you can get satisfactory experience? Specifically turning off 'Effects on menus'.

Image

cinnamon-settings effects to launch from the terminal or search Effects in the menu.

User avatar
noc
Level 1
Level 1
Posts: 15
Joined: Sat Jan 20, 2018 6:55 pm

Re: Change panel-menu effects (make it look like current GNOME's)

Post by noc » Mon May 07, 2018 6:42 am

JosephM wrote:
Mon May 07, 2018 1:33 am
noc wrote:
Sun May 06, 2018 3:04 pm
Which is the file that handles the menu effects? I will try to replace it with Cinnamon's 3.0 js file to see if I can revert back the smooth effects.
You can't do that. It is way more involved. Part of the reason it was changed was to remove a lot overly complex code for drawing and placing the pointer. It's across multiple files. Doing what you are talking about will just cause since to break horribly.
Ouch.. However, thanks again for your interest. As you explained, it's something that cannot be changed easily, probably not at all. Would it be viable to implement a set of menu effects too in the next version of Cinnamon (on Mint 19.1)? No need for the pointer part, just a smooth animation that would not feel laggy in an otherwise fluid and pleasantly smooth desktop experience.
Desktop: Intel Core i3 2120 | Nvidia GeForce 750Ti | 8GB | 500GB HDD
Notebook: Intel Core i3 4005U | Intel HD 4400 / Nvidia GeForce 920M | 4GB | 256GB SSD + 500GB HDD

User avatar
noc
Level 1
Level 1
Posts: 15
Joined: Sat Jan 20, 2018 6:55 pm

Re: Change panel-menu effects (make it look like current GNOME's)

Post by noc » Mon May 07, 2018 6:46 am

smurphos wrote:
Mon May 07, 2018 3:13 am
noc wrote:
Fri May 04, 2018 8:26 am
So, I need to change the code and recompile Cinnamon? Or is it a settings file that can be modified on the fly?
Have you tried adjusting settings in the Cinnamon Effects settings module to see if you can get satisfactory experience? Specifically turning off 'Effects on menus'.

Image

cinnamon-settings effects to launch from the terminal or search Effects in the menu.
I have tried to disable the menu effects too, which partially solves the problem. However, it also disables animations for right-click menus. Probably I'll turn it off and live with it :P
Desktop: Intel Core i3 2120 | Nvidia GeForce 750Ti | 8GB | 500GB HDD
Notebook: Intel Core i3 4005U | Intel HD 4400 / Nvidia GeForce 920M | 4GB | 256GB SSD + 500GB HDD

Post Reply

Return to “Cinnamon”