Skip to content

Option key crashes ScrollableList #190

@PhilipSharman

Description

@PhilipSharman

Using MacOS v11.7.10, pressing the Option key crashes the Processing sketch if it uses ScrollableList.

This happens, for example, with
/Processing Sketches/libraries/controlP5/examples/controllers/ControlP5scrollableList

The error I get is this:
java.lang.ArrayIndexOutOfBoundsException: Index 65406 out of bounds for length 1024 at controlP5.ControlWindow.keyEvent(Unknown Source) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:568) at processing.core.PApplet$RegisteredMethods.handle(PApplet.java:1309) at processing.core.PApplet.handleMethods(PApplet.java:1456) at processing.core.PApplet.handleKeyEvent(PApplet.java:2655) at processing.core.PApplet.dequeueEvents(PApplet.java:2262) at processing.core.PApplet.handleDraw(PApplet.java:2104) at processing.awt.PSurfaceAWT$9.callDraw(PSurfaceAWT.java:1388) at processing.core.PSurfaceNone$AnimationThread.run(PSurfaceNone.java:356)

If it helps, I notice that 65406 is Processing's KeyCode for the Option key.

This is using v2.2.6 of the ControlP5 library.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions