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 602052 - Text search options need small revisions for usability
Text search options need small revisions for usability
Status: RESOLVED FIXED
Product: GnuCash
Classification: Other
Component: User Interface General
2.2.9
Other All
: Normal minor
: ---
Assigned To: David Hampton
Chris Shoemaker
Depends on:
Blocks:
 
 
Reported: 2009-11-16 05:10 UTC by bcr
Modified: 2018-06-29 22:30 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
changes the search "Case Insensitve?" button to a checkbox. (1.02 KB, patch)
2011-04-01 05:38 UTC, Leigh Honeywell
needs-work Details | Review
revised patch to change the search case insensitive to a checkbox (1.45 KB, patch)
2011-05-15 10:47 UTC, Leigh Honeywell
committed Details | Review

Description bcr 2009-11-16 05:10:45 UTC
When searching for transactions with text field criteria, the user has the following choices:

'contains'
'matches regex'
'does not match regex'

Joe Public does not know what a 'regex' is, this term is developer-centric. I would suggest adding another option to ensure he can exclude specific text content:

'contains'
'does not contain'
'matches regex'
'does not match regex'

Those who know what a regex is can still do as they please but we need to accommodate the average user.

 - - -

Also, I'm not sure why a regular button was used for the 'Case Insensitive?' option, it isn't always obvious that the button is depressed. Never include a question mark in a label, pressing it makes it seem as if the user is asking a question. This should be a checkbox instead shown as:

[x] 'Case sensitive'
Comment 1 bcr 2009-11-16 05:14:57 UTC
Also, for boolean fields such as 'Balanced' the user is provided with two widgets, a dropdown with 'is, is not' choices and a 'set true' button.

You only really need one dropdown with 'is true, is false' choices.
Comment 2 Leigh Honeywell 2011-04-01 05:38:57 UTC
Created attachment 184851 [details] [review]
changes the search "Case Insensitve?" button to a checkbox.

I agree with bcr@wt.net that "Case Insensitive?" should be a checkbox. I've attached a patch that changes that (it's pretty trivial).
Comment 3 bcr 2011-04-01 17:54:08 UTC
Thanks for changing it to a checkbox but did you change the label as well?  It should read as 'Case sensitive' and be unchecked by default. Question marks have no place in labels.
Comment 4 Leigh Honeywell 2011-04-01 18:28:42 UTC
@bcr@wt.net you're totally correct, it should be "Case Sensitive" and be unchecked by default.  I'm a complete GTK noob so it'll take me a bit more time to figure out how to do that, but I'll submit a new patch when I do.
Comment 5 Christian Stimming 2011-04-19 12:15:15 UTC
Comment on attachment 184851 [details] [review]
changes the search "Case Insensitve?" button to a checkbox.

According to the discussion above, it should change its default and be slightly reworded.
Comment 6 Leigh Honeywell 2011-05-15 10:47:48 UTC
Created attachment 187842 [details] [review]
revised patch to change the search case insensitive to a checkbox

This should work better - it now defaults to off, and is captioned "Match case" instead of "Case Insensitive?" which I think is clearer.
Comment 7 Christian Stimming 2011-05-15 19:30:01 UTC
Comment on attachment 187842 [details] [review]
revised patch to change the search case insensitive to a checkbox

r20649, thanks a lot!
Comment 8 Christian Stimming 2011-05-15 19:36:02 UTC
(not back-ported to 2.4 because it introduces the new string, but it will be in 2.5.0)
Comment 9 John Ralls 2018-06-29 22:30:43 UTC
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=602052. Please update any external references or bookmarks.