! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
only lowercase matches found
Status:
RESOLVED: FIXED
Product:
Xfce4-appfinder
Component:
General

Comments

Description Egmont Koblinger 2005-01-18 00:56:41 CET
Whatever I type to the search field, it seems its case does not matters,
it is converted to lowercase and then matched against the desktop files in
case sensitive mode. Hence it will never match an uppercase letter in the
desktop files.

For example, I have a quadra.desktop file containing Name=Quadra.
If I search for "quadra", "Quadra", "QuAdRa" etc., there's no match.
If I search for "uadra", "UaDrA" etc., it matches.

If I change the desktop file to contain Name=quadra, then all the searches
mentioned above match.
Comment 1 Craig Kelley 2005-01-27 16:53:34 CET
Created attachment 175 
search patch 1

Proposed patch to fix the problem (against xfce4-appfinder-4.2.0.tar.gz)
Comment 2 Craig Kelley 2005-01-27 17:04:15 CET
Created attachment 176 
search patch 2

This does NOT necessarily pertain to this bug, so I submit it separately.  The
problem is when the .desktop Name and Comment do not include the name of the
actual program.  For example, gaim is known as "IM" on Redhat systems, and has
a comment of "Multi-protocol Messaging Client"; so when you search for 'gaim',
you get no hits.  This patch will search the exec path as well; so that you can
find applications like this.  (this patch also includes the changes in comment
#2)
Comment 3 Eduard Roccatello editbugs 2005-03-09 22:23:54 CET
Patch applied, thank you!

Bug #710

Reported by:
Egmont Koblinger
Reported on: 2005-01-18
Last modified on: 2009-07-14

People

Assignee:
Jannis Pohlmann
CC List:
1 user

Version

Attachments

search patch 1 (1.60 KB, patch)
2005-01-27 16:53 CET , Craig Kelley
no flags
search patch 2 (1.86 KB, patch)
2005-01-27 17:04 CET , Craig Kelley
no flags

Additional information