leaningtech / cheerpj-meta

Run Java 8 applications, libraries, applets, Java Web Start, and Oracle Forms on the web without legacy plugins.
https://labs.leaningtech.com/cheerpj
434 stars 21 forks source link

back/forwards mouse buttons cause applet to crash #190

Closed robert245 closed 4 months ago

robert245 commented 4 months ago

Description I have a Logitech G502 mouse, which has side buttons usually mapped to go back/ go forwards). There have been times I've accidentally clicked these buttons while interacting with a cheerpj applet, and it causes an unchecked exception to kill the current thread.

This can be reproduced in the official cheerpj demos, which I'll describe below

Steps to reproduce (assuming you have a mouse with forwards/back buttons)

  1. Go to applet (e.g https://labs.leaningtech.com/cheerpj3/tutorials/applet#the-result) and wait for applet to load
  2. Use mouse-back button

Expectation

Actual:

alexp-sssup commented 4 months ago

Thanks for the reporting this, the problem should be fixed with the following build: https://cjrtnc.leaningtech.com/3_20240228_437/cj3loader.js