GNOME Bugzilla – Bug 301690
Select pattern dialog should contain an explanation
Last modified: 2010-04-26 15:28:15 UTC
The Select Pattern in the Edit Menu, should have a tooltip so it makes the beginner more easy to work with it. Depending on the Bug # 301689 we can give a tooltip to the Select Pattern such as an example "Type full directory/filename or use extensions for eg. *.zip" . Then it makes easy to the user. Ea\lse a beginner will be really thinking whats wrong!! Any comments..? Other information:
I think adding an explanation to the dialog is a better idea (directly visible). Changing summary + confirming.
Anyone working on this BUG? Please add comments so that I can get a clear idea to try on fixing about the bug.
Pradeep MN: the Select Pattern dialog now has a help button which takes the user to a full explanation of how this feature works. Can this bug be closed, or do you think the dialog box also needs a short explanation?
Hi Joachim.. thanks for the update. I gues a short explanation will always be helpful. I will restrict few users to go to help rather they can go around directly.
Created attachment 68720 [details] Screenshot of pattern dialog with supplementary text I guess we'd normally do this with some supplementary "Example:" text below the text field... admittedly it doesn't tell you what the special characters do (which is what the Help is for), but it gives you an idea of the sort of input that's expected. I'm sure you could find better examples to show here, I'm not familiar enough with what nautilus allows.
Is there any patch for this or should I create one?
Created attachment 144843 [details] [review] Adds legend to "Select Items Matching" dialog
Created attachment 144844 [details] Screenshot of patched dialog Not sure about the text and the formatting. Comments?
+ gtk_label_set_markup (GTK_LABEL (example), _("<b>Examples: </b><i>*.png, file\?\?.txt, pict*.\?\?\?</i>")); The translators don't like strings with markup like this. Use two translations and then an untranlated <b>%s</b><i>%s</i> g_strdup_printf call.
Created attachment 145232 [details] [review] Adds legend to "Select Items Matching" dialog
Created attachment 145233 [details] [review] Make translators happy
Created attachment 145234 [details] [review] Adds legend to "Select Items Matching" dialog
Sorry about the spam, my git-bz skills aren't that good. Alex, last patch added is now changed according to your comment.
Comment on attachment 145234 [details] [review] Adds legend to "Select Items Matching" dialog Looks good.
This will have to wait after we branch.
Comment on attachment 145234 [details] [review] Adds legend to "Select Items Matching" dialog Pushed.
This is fixed in master now.