Searching does not use normalized unicode for matching

Bug #1378490 reported by Alejandro J. Cura
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Canonical System Image
Fix Released
High
Alejandro J. Cura
unity-scope-click (Ubuntu)
Fix Released
High
Unassigned
unity-scope-click (Ubuntu RTM)
Fix Released
High
Unassigned

Bug Description

How to reproduce:
 * set the system language to spanish
 * go to the installed apps scope
 * search for "cam"

what happens?
 * no results are shown

what was expected?
 * the results include the "Cámara" app

Tags: rtm14

Related branches

dobey (dobey)
tags: added: touch-2014-10-30
removed: touch-2014-10-16
tags: removed: touch-2014-10-30
dobey (dobey)
Changed in unity-scope-click (Ubuntu RTM):
status: New → Triaged
importance: Undecided → High
dobey (dobey)
summary: - Searches: "Cam" does not match "Cámara"
+ Searching does not use normalized unicode for matching
Revision history for this message
Pat McGowan (pat-mcgowan) wrote :

is this still valid?

Changed in canonical-devices-system-image:
assignee: nobody → Alejandro J. Cura (alecu)
status: New → Incomplete
Revision history for this message
Víctor R. Ruiz (vrruiz) wrote :

Yes, this is still valid. In spanish, searching «Cam» doesn't show «Cámara» app.

Changed in canonical-devices-system-image:
status: Incomplete → Triaged
importance: Undecided → High
Revision history for this message
Alejandro J. Cura (alecu) wrote :

This not only needs normalized unicode, but also needs the removal of composing characters, like explained here: http://fabzter.com/blog/remove-nonspacing-characters-text-python

dobey (dobey)
Changed in unity-scope-click (Ubuntu):
assignee: nobody → Rodney Dawes (dobey)
status: Triaged → In Progress
dobey (dobey)
Changed in unity-scope-click (Ubuntu):
status: In Progress → Confirmed
assignee: Rodney Dawes (dobey) → nobody
Revision history for this message
Łukasz Zemczak (sil2100) wrote :
Download full text (7.2 KiB)

This bug was fixed in the package unity-scope-click 0.1.1+15.04.20160307-0ubuntu1 in https://launchpad.net/~ci-train-ppa-service/+archive/ubuntu/stable-phone-overlay

---------------

unity-scope-click (0.1.1+15.04.20160307-0ubuntu1) vivid; urgency=medium

  [ Antti Kaijanmäki ]
  * libclickscope/click/interface.cpp: remove accents and use
    QString::compare() to find matches (LP: #1546513, #1378490)

  [ CI Train Bot ]
  * Resync trunk.

  [ Rodney Dawes ]
  * Add an "ignored-apps" gsettings key for a list of apps to ignore in
    results. Generate a gsettings schema during build for the app scope
    tests. Use the temporary schema and memory backend for app scope
    tests. (LP: #1536665)
  * Refactor download manager class to use web::Client for network
    usage. Update all usage of click::DownloadManager for refactored
    API. Add a method to the web::Client to invalidate credentials.
    Remove integration-harness tests from coverage rule. (LP: #1432506,
    #1317292)
  * Use the online-accounts integration for payments button. Refresh the
    store results on purchase cancellation. (LP: #1513093)

unity-scope-click (0.1.1+16.04.20160210-0ubuntu1) xenial; urgency=medium

  * Always convert query to lowercase. Add operator override to read
    call params back out for testing. Refactor tests to be able to test
    that query is lowercase. (LP: #1420528)
  * Disable harness tests during build for now. (LP: #1532358)
  * Refactor showing review widget to only do work if app is installed.
    Add qualifier to only show review widget if app has download_url
    from store. Don't check review.rating again to see if review is
    being submitted or not. (LP: #1392307, #1421710)

unity-scope-click (0.1.1+16.04.20160128-0ubuntu1) xenial; urgency=medium

  [ Pawel Stolowski ]
  * Support two column layouts in the previews. (LP: #1536372)

  [ Rodney Dawes ]
  * Avoid a race and crash by unlinking the callback inside the
    callback. (LP: #1486287)
  * Only try to parse the JSON when we get a 200. (LP: #1531656)
  * Remove reference to click in translated strings. (LP: #1536252)

unity-scope-click (0.1.1+16.04.20160106-0ubuntu1) xenial; urgency=medium

  [ Rodney Dawes ]
  * Add the fallback attribute to the result components. (LP: #1520631)
  * Handle App-ID fields that aren't package_app_version as "unknown."
    (LP: #1530841)

unity-scope-click (0.1.1+16.04.20151216.1-0ubuntu1) xenial; urgency=medium

  [ Michael Sheldon ]
  * Update UDM test mocks to match new API

unity-scope-click (0.1.1+16.04.20151124-0ubuntu1) xenial; urgency=medium

  [ Brendan Donegan ]
  * Dash search button name changed from search_header_button to
    search_action_button (LP: #1514432)

  [ CI Train Bot ]
  * New rebuild forced.
  * Resync trunk.

  [ Rodney Dawes ]
  * Set the device header on all requests.

unity-scope-click (0.1.1+16.04.20151103-0ubuntu1) xenial; urgency=medium

  [ Albert Astals Cid ]
  * Set the overlay color to transparent (LP: #1512756)

unity-scope-click (0.1.1+15.10.20150825-0ubuntu1) wily; urgency=medium

  [ Rodney Dawes ]
  * Only show Cancel Purchase button from within store scope for now.
    (LP: #1486714)

unity-scope-click (0.1...

Read more...

Changed in unity-scope-click (Ubuntu RTM):
status: Triaged → Fix Released
Changed in canonical-devices-system-image:
status: Triaged → Fix Committed
Changed in canonical-devices-system-image:
milestone: none → ww08-2016
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package unity-scope-click - 0.1.1+16.04.20160307-0ubuntu1

---------------
unity-scope-click (0.1.1+16.04.20160307-0ubuntu1) xenial; urgency=medium

  [ Antti Kaijanmäki ]
  * libclickscope/click/interface.cpp: remove accents and use
    QString::compare() to find matches (LP: #1546513, #1378490)

  [ CI Train Bot ]
  * Resync trunk.

  [ Rodney Dawes ]
  * Add an "ignored-apps" gsettings key for a list of apps to ignore in
    results. Generate a gsettings schema during build for the app scope
    tests. Use the temporary schema and memory backend for app scope
    tests. (LP: #1536665)
  * Refactor download manager class to use web::Client for network
    usage. Update all usage of click::DownloadManager for refactored
    API. Add a method to the web::Client to invalidate credentials.
    Remove integration-harness tests from coverage rule. (LP: #1432506,
    #1317292)
  * Use the online-accounts integration for payments button. Refresh the
    store results on purchase cancellation. (LP: #1513093)

 -- Rodney Dawes <email address hidden> Mon, 07 Mar 2016 14:10:31 +0000

Changed in unity-scope-click (Ubuntu):
status: Confirmed → Fix Released
Changed in canonical-devices-system-image:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.