After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 668052 - Implement case-insensitive instant search by process name
Implement case-insensitive instant search by process name
Status: RESOLVED FIXED
Product: system-monitor
Classification: Core
Component: process list
3.3.x
Other Linux
: Normal minor
: ---
Assigned To: System-monitor maintainers
Depends on:
Blocks:
 
 
Reported: 2012-01-16 20:20 UTC by Robert Roth
Modified: 2012-01-17 01:18 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Proposed patch (869 bytes, patch)
2012-01-17 00:39 UTC, Robert Roth
none Details | Review

Description Robert Roth 2012-01-16 20:20:16 UTC
Forwarded from https://bugs.launchpad.net/ubuntu/+source/gnome-system-monitor/+bug/915973

I would consider the issue as a "cosmetic bug".
Steps:
0. Run Tasque application
1. Open gnome-system-monitor
2. Switch to Processes tab
3. Do an instant search via typing letter keys: "tasq"...

What is expected:
It should be able to find Tasque as well as any other process with capital letter(s) in the name.

What is faced:
Cannot find the Tasque process as its name starts from the capital "T" and the search is case-sensitive.

The reason why it makes sense to fix:
The user does not have to know the proper case of process name.
On the other hand, the processes list sorting by name is case-insensitive - and it's well.

Thanks!
Comment 1 Robert Roth 2012-01-17 00:39:47 UTC
Created attachment 205422 [details] [review]
Proposed patch

The attached patch changes the instant search function of the process table by replacing the strstr function calls with strcasestr for case insensitive matching.
Comment 2 Chris Kühl 2012-01-17 01:18:10 UTC
Thanks. Committed to master.