Skip to content

[FEATURE] Auto focus search textfield on window popup #250

@goffincedric

Description

@goffincedric

🚀 Feature Description

When the window pops up, the text field could be auto-focused. This behavior could be changed using a toggle in the settings. Optionally, auto focus the text field when the user starts enters text. Arrow keys, tab, etc can still be used to change between the possible tabs.

💡 Motivation

Currently, when you use the hotkey to activate the clipboard popup window, you still have to manually tab to the search field. When using super + period, in windows 11, it also auto focuses on the text field. So this could be a parity change.

📝 Proposed Solution

A toggle could be added switching this behavior on or off. When toggled on, the search field is auto focused (except on clipboard history, which doesn´t have one).

🔄 Alternatives Considered

Manually tabbing, but that seems quite cumbersome.

Optionally, only focusing the search fields when the user starts typing text, but that could be less intuitive without clear visual hints/indicators/placeholder text.

📸 Mockups / Examples

Current auto focus in windows 11:

Image

📋 Additional Context

Default behavior could be toggle turned off for existing installations, to not break user's habits, perhaps. New installations could have it enabled by default. This gives existing users the option to turn the setting on themselves, but give new users a more consistent experience with the original windows 11 clipboard history popup.

✅ Checklist

  • I have searched existing issues to make sure this isn't a duplicate
  • I have considered if this aligns with the project's goals (Windows 11-style clipboard manager)
  • I am willing to help implement this feature (optional) (I have web development experience, only basic experience with react, none with tauri, more familiar with backend stuff)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions