FIND: When user clicks into search field, highlight the existing phrase

Open
#522 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
55/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
c
Domain
desktop

Research direction

Start by locating the Find bar's search-field focus handling. Done means clicking back into an open field highlights the existing search expression so typing immediately replaces it; verify the behavior manually in Xreader.

Written by the indexing model from the issue text.

Description

 * Xreader version 2.8.3.
 * Distribution - Mint 20.1

Issue

When the Find bar is already open, if the user clicks away from the field and then back again, any existing search expression in the field is left untouched. IME, this is probably not the most efficient behaviour, because the user has to reselect the existing search term in order to overwrite it with a new one.

Requested enhancement

Consider making the default "highlight existing text" instead. This would allow the user to immediately start overwriting the existing search term with a new phrase. (this is the default mode in LibreOffice, for example)

Dominant language
C
Stars
283
Forks
82
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from linuxmint/xreader

All issues in linuxmint/xreader

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.