Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flickering on fast running tests both Windows&Oracle Look&Feel #74

Closed
jgebal opened this issue Jul 14, 2019 · 1 comment · Fixed by #75
Closed

Flickering on fast running tests both Windows&Oracle Look&Feel #74

jgebal opened this issue Jul 14, 2019 · 1 comment · Fixed by #75
Assignees
Milestone

Comments

@jgebal
Copy link
Member

jgebal commented Jul 14, 2019

When I run all utPLSQL tests (many of them are running really quickly) I often see that the UI is misbehaving.

  • the tests count is flickering
  • the progress bar is flickering
  • the disabled count sometimes changes into in-progress icon
  • the grid looks odd with title bar showing and hiding at the bottom of grid
  • the current test name shows in unexpected location (grri header)

I'm not sure if i's related to:

  • my graphics card (I'm on NVidia)
  • my OS (Win 10 pro x64)
  • my SQLDeveloper version (I'm on 18.2)
    image
  • the speed at which the tests are getting executed and the frame refresh rate in UI.

Maybe it would be possible to change the refresh rate to be say every 10-20ms to avoid excessive UI flickering while maintaining the "realtime" user-experience?

Attached gifs
showing some of the flickering I've encountered.
flickering-oracle1

flickering-windows1

@PhilippSalvisberg
Copy link
Member

Thanks @jgebal for reporting this. However, I experience flickering only in the table component. No issues with other components like progress bar or the counters. But I see that this happens for your GIFs while repainting the table component. Maybe this is related to your environment (OS, HW, JDK version, ...). I do not know.

Nonetheless, an update occurs on every realtime reporter event. It's not based on a timer. Flickering happens as soon as a scroll bar is required for the table component. You should never experience flickering when all tests are visible. On update the scrollRectToVisible method is called for the JTable component. This ensures that the currently executing test is visible. This call is causing the flickering. I have to find out how to avoid flickering while keeping the currently processed test visible.

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

Successfully merging a pull request may close this issue.

2 participants