advice2020 created an issue (geany/geany#4565)

Linux / Debian 13
Geany 2.1

I noticed a couple of visual issues with the Search Bar field in the main 
toolbar.

`STEPS TO REPRODUCE`
-Assign a shortcut to `Switch To Search Bar` action, for this example I will 
just say `F8` key
-In a blank text file type `APPLE` in a few different lines

`ISSUE 1`
-Apply focus to toolbar search field by hitting F8
-In field do a search for `APPLE`
-You will notice that the first instance of `APPLE` gets highlighted/selected
-Now clear the field by deleting the keyword `APPLE`
-Look in the typing pane, you will notice that the word `APPLE` remains selected
-Would rather not see selection when field has been cleared.
Would probably just show caret at beginning or end of the keyword, which in 
this case is `APPLE`

`ISSUE 2`
-Apply focus to toolbar search field by hitting F8
-In field do a search for `APPLE`
-You will notice that the first instance of `APPLE` gets highlighted/selected
-Now hit BACKSPACE key 5 times to clear the field
-Look in typing pane, you will notice that the letter `A` of the keyword 
`A`PPLE remains selected, even though the field is clear.
-Would rather not see selection when field has been cleared.
Would probably just show caret at beginning or end of the keyword, which in 
this case is the `A` in APPLE.

If someone updates this, would have to decide where to place the caret, at the 
beginning of the keyword or the end.

Thank You

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/4565
You are receiving this because you are subscribed to this thread.

Message ID: <geany/geany/issues/[email protected]>

Reply via email to