Skip to content

After a single click in an editable field, start by selecting the entire value  #1506

@neilweinstock

Description

@neilweinstock

Right now if I click my mouse in an editable field, the first action is for the cursor to appear in front of the existing value:
image

This is the wrong behavior most of the time.

Instead, the most useful action upon first click into the field is to select the entire field.
image

That way, if the user's desire is just replace the old value with a new one, then can just start typing, without having to execute extra clicks to select the whole value.

If their desire is to edit at one point in the field, then they can just use the arrow keys to locate the correct spot. They would have had to do that anyway in the existing behavior.

An alternative (inferior, in my opinion, but still better than what's there today) would be to put the cursor in the location where the user clicks, rather than always going to the beginning of the field, which is often the least useful thing to do.

Some of this behavior might be constrained by the Swing, I don't know. But it sure is annoying the way it is now.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions