Skip to content

gdesktopappinfo: Use strstr instead of g_str_has_prefix for search

Alynx Zhou requested to merge AlynxZhou/glib:search-app-strstr into main

Currently we use word prefix match for searching apps, however, most people consider search like substring match, and substring match can works better, for example search FontForge by typing Forge, or languages that do not split words via spaces explicitly.

Fixes: #1152 (closed)

Edited by Philip Withnall

Merge request reports