I’ve just discussed this with Paty and we agreed on the following. Search should work the same way in the first-run setup as it does in System Settings.
If those two search the same way, then comparing “the string and [any] portions of the string” would regress bug 1454186. Fortunately, the actual bug can be fixed without doing that (making this bug report, incidentally, one more example of how “should” in a bug summary is presumptive.) In the spec for Time & Date settings I wrote: “As with any other search field, any word you enter that is followed by a space or punctuation should be treated as a complete word, while any word that is not should be treated as if it might be either a complete word or the beginning of a word.” That wasn’t as precise as it needed to be. But I would have expected searching “Hospitalet” to return “L'Hospitalet de Llobregat” without doing full substring matching, because in the result it is preceded by an apostrophe and so counts as the start of a separate “word”. Spec updated. <https://wiki.ubuntu.com/TimeAndDate?action=diff&rev2=112&rev1=111> ** Summary changed: - Wizard city search should do searches in the middle of names + City search “Hospitalet” doesn’t find L'Hospitalet de Llobregat ** Description changed: The official name of my city is L'Hospitalet de Llobregat but it is often usually written as Hospitalet de Llobregat On the wizard city/timezone selection window we only search from the beginning of the string so I could not find my city until i realized i may have to type the L' at the beginning. + + <https://wiki.ubuntu.com/TimeAndDate#search>: “As with any search field, + any series of letters immediately followed by a space or punctuation + character should match only complete words, while any series of letters + at the end of the string should match both complete words and the + beginnings of words. (In the terms being searched, a “word” is a series + of letters that is immediately preceded by the start of the string or + any non-letter character, and immediately followed by the end of the + string or any non-letter character.)” -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to geonames in Ubuntu. https://bugs.launchpad.net/bugs/1590462 Title: City search “Hospitalet” doesn’t find L'Hospitalet de Llobregat Status in Ubuntu UX: Fix Released Status in geonames package in Ubuntu: In Progress Status in unity8 package in Ubuntu: Triaged Bug description: The official name of my city is L'Hospitalet de Llobregat but it is often usually written as Hospitalet de Llobregat On the wizard city/timezone selection window we only search from the beginning of the string so I could not find my city until i realized i may have to type the L' at the beginning. <https://wiki.ubuntu.com/TimeAndDate#search>: “As with any search field, any series of letters immediately followed by a space or punctuation character should match only complete words, while any series of letters at the end of the string should match both complete words and the beginnings of words. (In the terms being searched, a “word” is a series of letters that is immediately preceded by the start of the string or any non-letter character, and immediately followed by the end of the string or any non-letter character.)” To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-ux/+bug/1590462/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp