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

awt ScrollPane: Scrollbars broken #121

Open
msdemlei opened this issue Mar 26, 2021 · 5 comments
Open

awt ScrollPane: Scrollbars broken #121

msdemlei opened this issue Mar 26, 2021 · 5 comments

Comments

@msdemlei
Copy link

In a CheerPJ-compiled application, awt.ScrollPane scrollbars are...
well, not properly displayed, at least on chromium and firefox as of
Debian buster. While they're properly configured (in terms of Minimum,
Maximium, and VisibleAmount) as far as I can see, they do not show the
visible area, and they cannot be used to scroll around.

I have built something like a minimum working example on
https://www.g-vo.org/cheerpj-debug. You will find a debug.html file
there that runs the applet, which shows a 1000x1000 pixel square in a
scrollable area, except that the scroll bars cannot be used to scroll
around.

There is a dist.tar.gz in there, too, which lets you run make debug;
this will build a local jar that shows what I'd expect to happen.

@alexp-sssup
Copy link
Member

Thanks for your report. Would you mind attaching the minimal example here for our future record?

Please understand that we won't be able to work on this in the short term, AWT components are very time consuming to implement and only rarely used.

@msdemlei
Copy link
Author

msdemlei commented Mar 29, 2021 via email

@alexp-sssup
Copy link
Member

You should be able to attach files by drag-and-drop in the text field

@msdemlei
Copy link
Author

Ok... let's see:

dist.tar.gz

@msdemlei
Copy link
Author

Update: I've ported the source to Swing, where everything is of course fine.

So, while I think in general it would be nice if this was fixed (the effort to port to Swing is non-negligible), I'm no longer waiting for anything here.

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

No branches or pull requests

2 participants