-
Notifications
You must be signed in to change notification settings - Fork 89
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
[Theming] Vertical scrollbars disappear when scrolled down #405
Comments
I'm not seeing this in the main radiance demo. Do you have a small reproducer for this? |
Sorry, I do not have a small reproducer for this problem. BTW, this problem is also observed on RedHat Linux 9. |
Not much I can do without being able to look at a reproducer, unfortunately. The relevant code that applies a rotation affine transform to draw a vertical scrollbar thumb is here. There might be something that is applying another affine transform somewhere else, either in Radiance or in your app, but I can't really say without being able to debug that part. |
Do you have, perhaps, a custom skin or custom Radiance painters in your app? |
I do not have a custom skin or custom Radiance painters in my app. Since this problem was not seen using the radiance theming of the version Jan-2022, I wonder what causes this problem when using a different version. |
There's been a lot of changes in version 6.0 for direct rendering of all components without using intermediate off-screen images. |
This is not something that I can fix in the dark without being able to reproduce it locally, either in the (modified) Radiance test app, or a standalone test. |
This issue can be reproduced with Tested with |
Not seeing this on a macOS with Java 9 or Java 17. Is this issue only happening for you on Windows 10? |
Looks like this is a non-hi dpi display. Maybe there's a different code path in there somewhere that depends on the scale factor. |
Display is a Asus PG258Q. |
works fine with 6.5-SNAPSHOT |
Version of Radiance (latest development is 6.0-SNAPSHOT)
6.0-SNAPSHOT
Sub-project (Common, Animation, Theming, Component, ...)
Theming
Version of Java (current minimum is 9)
Java 17
Version of OS
Windows 10
The issue you're experiencing (expected vs actual, screenshot, stack trace etc)
The vertical scrollbars, either for a JTable or for a JTextPane, disappear when they are scrolled down. Horizontal scroll bars are of no problem. It seems that the vertical scrollbars move horizontally if scrolled down.
The text was updated successfully, but these errors were encountered: