Open msdemlei opened 3 years ago
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.
On Fri, Mar 26, 2021 at 10:47:40AM -0700, Alessandro Pignotti wrote:
Thanks for your report. Would you mind attaching the minimal example here for our future record?
I'd do that, except I wasn't aware you could attach files to github issues, and I've not found something that would let me do that in the interface.
I'm experimentally attaching the dist.tar.gz file to this mail.
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.
Let me know if there's anything I can do to help - is the part of the code that's at fault public? If not, I'd not mind an NDA or something like that in this particular case.
You should be able to attach files by drag-and-drop in the text field
Ok... let's see:
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.
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.