<p>This is the normal way a GTK UI operates.  Only one "current" field can be modified at a time but every field can have a selection.</p>
<p>You will notice that the filename entry is current when you first enter the dialog (how that is indicated varies with theme, on mine it has a bright outline) and typing replaces the selected (highlighted) text "untitled" as you would expect.</p>
<p>But when you go to the directory/file chooser field the filename field is no longer current and whatever indication your theme uses for current field is removed.  But the selection highlight remains.  Any text you type is always used by the current field, the directory/file chooser in this case, and the usual behaviour of choosers is to use characters typed to assist selection, the "search mode" I presume you mean.</p>
<p>Then as you observed you have to click on the filename field to re-enter it.  Of course that cancels the selected text in the field as it moves the cursor to the location you clicked.  But if you tab to the filename field the selection isn't changed and typing replaces the still highlighted text.</p>
<p>So when you change current fields the former selection in non-current fields remains, notice that if you select a line in the directory/file chooser and return to the filename field the line in the chooser remains highlighted.</p>
<p>The only thing that might be clearer is to indicate that the chooser is the current field instead of just removing the current field indication on the filename field (at least on my theme this doesn't happen).</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/geany/geany/issues/2267?email_source=notifications&email_token=AAIOWJ4FBMS7S2LOJZBNVGTQFWXZRA5CNFSM4ION6HX2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD43GBOQ#issuecomment-523657402">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJ2SY5FTBV7Q2X4LGXTQFWXZRANCNFSM4ION6HXQ">mute the thread</a>.<img src="https://github.com/notifications/beacon/AAIOWJ3ZUXQAO7DIUEHKXVTQFWXZRA5CNFSM4ION6HX2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD43GBOQ.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany/issues/2267?email_source=notifications\u0026email_token=AAIOWJ4FBMS7S2LOJZBNVGTQFWXZRA5CNFSM4ION6HX2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD43GBOQ#issuecomment-523657402",
"url": "https://github.com/geany/geany/issues/2267?email_source=notifications\u0026email_token=AAIOWJ4FBMS7S2LOJZBNVGTQFWXZRA5CNFSM4ION6HX2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD43GBOQ#issuecomment-523657402",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>