Skip to content

fix: Allow Shift+Home, Delete text selection/deletion in Launcher search box#2364

Open
madprogrammer wants to merge 2 commits intonoctalia-dev:mainfrom
madprogrammer:fix/launcher-search-home-end
Open

fix: Allow Shift+Home, Delete text selection/deletion in Launcher search box#2364
madprogrammer wants to merge 2 commits intonoctalia-dev:mainfrom
madprogrammer:fix/launcher-search-home-end

Conversation

@madprogrammer
Copy link
Copy Markdown

Pull Request

If this PR is not ready for review yet, please mark it as Draft until it's good to be reviewed.

Motivation

Small UX change to pass Shift+Home key combination to search input (Home without Shift is handled as usual), to allow selecting entered text. Delete key is passed to search input if search input contains any selected text. This allows to delete previously typed text without the need to hold Backspace. This change makes the text box behaviour more canonical. No other changes, previous key binds work as usual.

Type of Change

Mark the relevant option with an "x".

  • Bug fix
  • New feature
  • Breaking change
  • Refactoring

Related Issue

  • Closes #(issue number) (if any)

Testing

Describe how you tested your changes and mark the relevant items.

  • Tested on niri
  • Tested on Hyprland
  • Tested on sway
  • Tested with different bar positions and density settings
  • Tested at different interface scaling values
  • Tested with multiple monitors (if applicable)

Screenshots / Videos

If applicable, include screenshots or videos to help illustrate your changes.

Checklist

  • Code follows project style guidelines
  • Self-reviewed my code
  • No new warnings or errors
  • Documentation or comments updated (if relevant)

Additional Notes

Add any additional context or follow-up notes for reviewers.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant