bisq2 icon indicating copy to clipboard operation
bisq2 copied to clipboard

Disabling `Use animations` setting needs to ensure no animations/transitions are used

Open devinbileck opened this issue 4 months ago • 0 comments

Summary

As discovered in #1857, if hardware acceleration is not enabled then the UI may suffer from poor performance.

If not automatically detected, hardware acceleration can be force enabled with -Dprism.forceGPU=true. However, this will not be a viable workaround for systems that do not have hardware acceleration such as virtual machines.

As I discovered while investigating #1857, commenting out various animations such as timeline.play() improved the performance.

Currently disabling Use animations under Settings > Display settings does not help. Disabling this needs to ensure no animations/transitions are used at all. Optionally, the app could detect whether hardware acceleration is in use and disable the Use animations setting automatically.

Acceptance Criteria

  • All animations/transitions used throughout the UI are inactive when the Use animations setting is disabled.

devinbileck avatar Mar 20 '24 18:03 devinbileck