Skip to content

BUG: Searching mail sends key events to the UI as you type #1463

@radu-corbu

Description

@radu-corbu

Describe the bug

Currently, if you type / in the inbox to search through mail, once you start typing characters, if those characters are Matcha keybindings, the character will be typed in the search box AND the event for that keybinding will fire.

To reproduce

  1. Go to Inbox
  2. Press /
  3. Start typing something with keybinding characters in it (e.g., type "u" which is the keybinding for marking an email as unread)
  4. Watch as the UI reacts to the key press even though it should only render the character in the search box

Expected behavior

When the searchbox is open, pressing different characters (e.g., letters, numbers, symbols) should NOT trigger UI events.

Screenshots

No response

Matcha version

0.41.1 (a7c5ba1)

Go version

No response

OS

Linux

OS version

No response

Architecture

amd64 (x86_64)

Terminal

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    arch/amd64amd64 / x86_64area/calendarCalendar integrationarea/fetcherIMAP fetch / IDLE / searcharea/tuiTerminal UI / view layerbugSomething isn't workingneeds-triageAwaiting maintainer reviewos/linuxLinux-specific

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status
    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions