<p></p>
<p><b>@eht16</b> commented on this pull request.</p>

<hr>

<p>In <a href="https://github.com/geany/geany/pull/3055#discussion_r777229190">src/callbacks.c</a>:</p>
<pre style='color:#555'>>              sidebar_select_openfiles_item(doc);
                ui_save_buttons_toggle(doc->changed);
                ui_set_window_title(doc);
                ui_update_statusbar(doc, -1);
                ui_update_popup_reundo_items(doc);
                ui_document_show_hide(doc); /* update the document menu */
                build_menu_update(doc);
-               sidebar_update_tag_list(doc, FALSE);
+               if (g_strcmp0(entry_text, doc->priv->tag_filter) != 0)
+                       gtk_entry_set_text(filter_entry, doc->priv->tag_filter);
</pre>
<p dir="auto">Could the following maybe be enough:</p>
<div class="highlight highlight-source-c"><pre>           <span class="pl-k">if</span> (g_strcmp0(entry_text, doc->priv->tag_filter) != <span class="pl-c1">0</span>)
                {
                        <span class="pl-c1">gtk_entry_set_text</span>(filter_entry, doc-><span class="pl-smi">priv</span>-><span class="pl-smi">tag_filter</span>);
                }
                <span class="pl-k">else</span>
                {
                        <span class="pl-c1">sidebar_update_tag_list</span>(doc, <span class="pl-c1">TRUE</span>);
                }</pre></div>
<p dir="auto">?</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/geany/geany/pull/3055#discussion_r777229190">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJ2L5IL2DM2U3YHQNATUUB3G5ANCNFSM5J6JZAIQ">unsubscribe</a>.<br />Triage notifications on the go with GitHub Mobile for <a href="https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675">iOS</a> or <a href="https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub">Android</a>.
<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAIOWJ3HIJV5MSTVFRFNYFLUUB3G5A5CNFSM5J6JZAI2YY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOGI3G3EI.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><geany/geany/pull/3055/review/842427793</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany/pull/3055#discussion_r777229190",
"url": "https://github.com/geany/geany/pull/3055#discussion_r777229190",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>