"Location" auto-complete menu often offers duplicate suggestions
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Indicator Date and Time |
Fix Released
|
Undecided
|
Unassigned | ||
Ubuntu Geonames |
Confirmed
|
Undecided
|
Unassigned | ||
indicator-datetime (Ubuntu) |
Fix Released
|
Undecided
|
Michael Terry |
Bug Description
Binary package hint: indicator-datetime
indicator-datetime 0.1.98-0ubuntu1, Ubuntu Natty
1. From the clock menu, choose "Time & Date Settings..."
2. Click "Unlock to change these settings".
3. In the "Location" field, enter "kuala lumpur", or "wellington", or "rio de janeiro " (with a trailing space).
What happens:
* "kuala lumpur" returns two suggestions with the exact text "Kuala Lumpur (Kuala Lumpur, Malaysia)".
* "wellington" returns two suggestions with the exact text "Wellington (Wellington, New Zealand)".
* "rio de janeiro " returns three suggestions with the exact text "Rio de Janeiro (State of Rio de Janeiro, Brazil)".
What should happen: No two suggestions should ever have exactly the same text, because you have no way of telling what the difference is.
Related branches
- Indicator Applet Developers: Pending requested
-
Diff: 62 lines (+28/-10)1 file modifiedsrc/timezone-completion.c (+28/-10)
- Ken VanDine: Pending requested
-
Diff: 301 lines (+59/-27) (has conflicts)8 files modifiedChangeLog (+32/-0)
configure (+10/-19)
configure.ac (+1/-2)
data/datetime-dialog.ui (+0/-1)
debian/changelog (+14/-0)
debian/control (+0/-2)
src/datetime-prefs.c (+0/-1)
src/datetime-service.c (+2/-2)
- Evan (community): Approve
-
Diff: 166 lines (+37/-33)4 files modifiedREADME (+7/-7)
geoname-modpython.py (+15/-8)
import-geonames.sh (+14/-17)
sphinx.conf (+1/-1)
tags: | added: sniffles |
Changed in indicator-datetime (Ubuntu): | |
assignee: | nobody → Michael Terry (mterry) |
Changed in indicator-datetime: | |
status: | New → Fix Committed |
Changed in indicator-datetime: | |
milestone: | none → 0.2.0 |
Changed in indicator-datetime: | |
status: | Fix Committed → Fix Released |
This also effects ubiquity, since this is coming from the server. Seems clients should filter for such duplicates. And they are duplicates. In Rio's case, the three locations have exact information, except longitude and latitude.