CodenameOne icon indicating copy to clipboard operation
CodenameOne copied to clipboard

Android Port Doesn't Handle Mouse Events Properly, Specifically Scroll Wheel

Open shai-almog opened this issue 3 years ago • 12 comments

Looking at the code we will probably need to add a listener to mouse events here and some handling similar to this.

Android docs have some discussion about the types of events available in newer versions of Android that should include those gestures here.

RFE based on this reddit thread.

shai-almog avatar Nov 06 '22 02:11 shai-almog

In the simulator, the scroll wheel generates a down/drag/up sequence which tricks things that thought they were implementing drag scrolling into working. In a fresh start this ought to be tossed. Given that android devices with keyboards and mice are not a common thing now, I would favor starting over with an api like the native java.

ddyer0 avatar Nov 06 '22 03:11 ddyer0

@shai-almog Hi, I am a first-time contributor. I would like to spend some time to look into this issue and crack it!

Tianfeng-Chen avatar Nov 15 '22 04:11 Tianfeng-Chen

codenameone isn't the most approachable crew for outside contributors. Generally the procedure is for you to do all the work on spec, and produce a pull request.

ddyer0 avatar Nov 15 '22 04:11 ddyer0

@Tianfeng-Chen good luck. We're here for you.

@ddyer0 get lost. Seriously. You literally asked for this feature and you're actively trying to discourage people who want to help. This has been your attitude in our community for a while now. Maybe that's why people don't want to help you.

shai-almog avatar Nov 15 '22 05:11 shai-almog

i wasn't trying to discourage him, I was pointing him in the direction to move.

ddyer0 avatar Nov 15 '22 06:11 ddyer0

Hey, is this issue still open? I am very new to open source and think I might be able to help with this issue

Kstrella avatar Sep 28 '23 22:09 Kstrella

I'm not sure. There's a PR that we somehow missed and didn't review. I just asked @shannah to review it again.

shai-almog avatar Sep 29 '23 02:09 shai-almog

hi, is the issue still open?

traitsisgiorgos avatar Mar 15 '24 19:03 traitsisgiorgos

It's still open. Steve reviewed the PR here: https://github.com/codenameone/CodenameOne/pull/3663 But no action was taken. If someone else wants to continue that's probably a good starting point.

shai-almog avatar Mar 16 '24 04:03 shai-almog