disabling animations
See original GitHub issueVersion of Radiance (current development is 4.0-SNAPSHOT)
3.5.1
Sub-project (Neon, Trident, Substance, Flamingo, …)
Substance?
Version of Java (current minimum is 9)
13
Version of OS
Ubuntu 16
The issue you’re experiencing (expected vs actual, screenshot, stack trace etc)
Thanks, this is a fantastic project. I’m attempting to disable the animations on the Substance Graphite look and feel - in particular the fade-to-white on hover-over a JButton and Menu Item. My first attempt at this is below…but no luck. Any ideas?
for ( SubstanceSlices.AnimationFacet sf : new SubstanceSlices.AnimationFacet[]{
SubstanceSlices.AnimationFacet.ROLLOVER,
SubstanceSlices.AnimationFacet.GHOSTING_BUTTON_PRESS,
SubstanceSlices.AnimationFacet.GHOSTING_ICON_ROLLOVER,
SubstanceSlices.AnimationFacet.ICON_GLOW,
SubstanceSlices.AnimationFacet.SELECTION,
SubstanceSlices.AnimationFacet.GHOSTING_BUTTON_PRESS,
SubstanceSlices.AnimationFacet.FOCUS,
SubstanceSlices.AnimationFacet.FOCUS_LOOP_ANIMATION,
SubstanceSlices.AnimationFacet.PRESS,
SubstanceSlices.AnimationFacet.ARM,
} ) {
AnimationConfigurationManager.getInstance().disallowAnimations( sf, JTabbedPane.class );
AnimationConfigurationManager.getInstance().disallowAnimations( sf, JButton.class );
AnimationConfigurationManager.getInstance().disallowAnimations( sf, JMenuItem.class );
AnimationConfigurationManager.getInstance().disallowAnimations( sf, JMenu.class );
}
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
How to make Windows 10 feel faster by disabling animations
Disable Windows 10 animations · Open the Windows Control Panel (from Start, type "control," and choose Control Panel · Navigate to System & ......
Read more >How to Turn Off Animations and Make Windows 10 Seem Faster
If you'd like to disable some animations and leave others enabled, visit the classic Performance Options settings. There, you can disable the ...
Read more >How to disable Windows 10's window animations to speed up ...
Right-click the Start menu and select System from the context menu. This will take you to Control Panel > System and Security >...
Read more >Turn off Office animations - Microsoft Support
To turn off Microsoft 365 animations in Windows 7 or 8 · Open the Ease of Access Center by pressing the Windows logo...
Read more >How to Disable Animations in Windows 10 - wikiHow
1. Open the Settings app. Press the Start button in the lower-left corner of your screen and select the settings gear.
You can also...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
See https://github.com/kirill-grouchnikov/substance/issues/28
I thought I added a bit more comments around the scope of what
disallowAnimations
does, but I didn’t. I’ll add it to the relevantSubstanceCortex
APIs (note that you shouldn’t be usingAnimationConfigurationManager
directly, as that is in an internal package).The short answer is that you can’t selectively disable animations on components beyond a few specific cases like cell renderers and custom icon glows. And there are no plans to extend that functionality to control the other animations.
I ended up using:
as suggested in the linked post - this increases the responsiveness on a slow system for me. Thanks again!