Skip to content

keystroke falls through to xochitl #41

Open

Description

@esclee

AppLoad ver: 0.4.1-r2 (vellum)
rMPP OS ver: 3.25.1.1
using TypeFolio

I am working on an appload app which among other things has a TextEdit component.
When I move the cursor past the end of the text in TextEdit (by repeatedly hitting right arrow), and then hit return, a document on xochitl opens, leading me to believe that xochitl is still getting the keystrokes. Is there some special handling I need to do here?

Activity

  1. esclee commented on Mar 10, 2026

    @esclee
    Author

    And when this happens, I have to tap on the app on screen to make the app read keystrokes again.

    Adding some detail: when the app doesn't naturally know what to do with a keypress (e.g., current focus is a textedit but pressing the right arrow will move the cursor beyond the end of the text) that's when it seems to fall. Explicitly accepting keypress events in those instances seems to prevent that.

  2. ingatellent commented on Sep 17, 2026

    @ingatellent
    Contributor

    I've thought a bit about this: I actually like this. This means that I can use global keyboard shortcuts in xochitl. And if an app supports keyboard input it should make sure to only make relevant shortcuts fall trough (so it should set event.accepted on all events it does not want to pass on).

    I do agree that the handling of keyboard focus could be much better (it's not always a tap works for restoring keyboard input for me.)

    E.g. I have a shortcut: Ctrl + S to turn on split screen. I like that this shortcut works even though I have an AppLoad app loaded.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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