Skip to content

Search bar does not always start with selected contents #402

@attah

Description

@attah
 * Xed version (xed --version) 2.6.2
 * Distribution - Mint 20

Issue
Search bar is unnecessarily stateful, and confusing.
Press ctrl-F at almost any time, and you have the contents of the search bar (if any) selected and ready to be pasted over.
This is the same behaviour as most applications, nice and consistent.

However, if you have some text selected in the editor, it automatically gets copied to the search bar, but it is not selected when the search bar is focused.
Select the same text again, or press ctrl-F again in genereal, and it does get selected. Very confusing if you are not paying super close attention.

Steps to reproduce
Select some text in the editor, press ctrl-F.

Expected behaviour
Search bar opens and its contents is selected.
(i have no preference in whether the contents is my selected text or not)

Other information
This appeared with the update to Mint 20, but has been the sorry state of Gedit since long ago (but not always).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions