osxpeppermint / peppermint

The official bug/features tracker for Peppermint
8 stars 2 forks source link

Search behavior #99

Open TheLuggs opened 8 years ago

TheLuggs commented 8 years ago

Pressing ⌘-f does not always give the expected result. One would expect ⌘-f to open the searchbox and allow me to start entering a new query. Ideal would be to have the previous query as selected text so if you type the previous query would be overwritten.

Current behavior, ⌘-f, will open search box but not set the cursor (at least not consistent) to the search box, but sometimes leave it in the text. When repeating a search the found text would be selected thus making the user prone to unintentionally changing the text.

After a search and replace peppermint will look for the replacement instead of the search text if asked for the next occurrence.

Both behaviors appear to be bugs.

osxpeppermint commented 8 years ago

Hmm...

The truth is the Search and Replace functionality is one that I've been working on lately. So, chances are there could be a few bugs here and there.

Thanks a lot for letting me know - I'll look into it! :)

TheLuggs commented 8 years ago

Found another "odd" behavior, when typing in the searchbox you will jump to matching text, when you continue to type it wil jump to the next matching text even if the found text still matches.

dr-diem commented 8 years ago

Also if the search box is already open, ⌘-f will animate the search box but not place the insertion point in it. If you have only just opened a document, typing appears in the scripting pane; if you have deliberately clicked in the document window typing will appear there.