Skip to content
This repository has been archived by the owner on Jul 10, 2018. It is now read-only.

The Linux sync thing #14

Closed
stefan-reich opened this issue Feb 24, 2017 · 2 comments
Closed

The Linux sync thing #14

stefan-reich opened this issue Feb 24, 2017 · 2 comments

Comments

@stefan-reich
Copy link

stefan-reich commented Feb 24, 2017

Hi Kirill :)

There is a known issue for Java on Linux, namely that its video buffers aren't always synced promptly (there is some delay <1 s).

This makes, for example, the smooth scroll bar animations appear choppy sometimes. [Example]

Moving the mouse in the window constantly seems to make the animations smooth again.

I have, at times, been calling Toolkit.getDefaultToolkit().sync() explicitly which causes the buffers to be drawn instantly. However, in the case of the scroll bar animation, I wouldn't know how to do that.

Any thoughts on this? It would be nice to see this fixed for sure.

@kirill-grouchnikov
Copy link
Owner

That example is not very useful as it's not a standalone Swing sample.

I'll need a bit more information, and ideally a full sample as well:

  • Version of Substance
  • Version of OS
  • Version of Java
  • Specific scenario where scroll bar animations are choppy

Note that scrollbar appearance has been changed quite significantly in the latest 7.0 release

@stefan-reich
Copy link
Author

Thanks Kirill, nevermind, it's not worth bothering at this point :-)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants