This bug was fixed in the package unity-lens-applications -
5.18.0-0ubuntu1

---------------
unity-lens-applications (5.18.0-0ubuntu1) precise-proposed; urgency=low

  * New upstream release.
    - Backport: Make sure searches for apps with CamelCase names work
      as expected. (LP: #1056743)
 -- Timo Jyrinki <[email protected]>   Tue, 13 Nov 2012 12:12:02 +0200

** Changed in: unity-lens-applications (Ubuntu Precise)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to unity-lens-applications in Ubuntu.
Matching subscriptions: dp-unity-lens-music
https://bugs.launchpad.net/bugs/1056743

Title:
  Searches fail across changes in case

Status in Unity Applications Lens:
  Fix Released
Status in unity-lens-applications 5.0 series:
  Fix Released
Status in “unity-lens-applications” package in Ubuntu:
  Fix Released
Status in “unity-lens-applications” source package in Precise:
  Fix Released

Bug description:
  [IMPACT]

   * Currently application lens tokenizes applications names on change
  in the case. This means an application named "AisleRiot" can be found
  by searching "aisle" or "riot" (or any of its prefixes), but not the
  full name "aisleriot". This may cause the users to not find an
  application.

   * Fix for this is already present in Quantal, and since searching for
  applications is one of primary uses of dash, it should be backported
  to Precise.

   * Despite what the original description says, full substring matching
  is not desired (ie "leriot" should NOT find "AisleRiot".

  [TESTCASE]

   * Before the fix - observe that searching for "aisle" finds
  "AisleRiot Solitaire" (it is installed by default), but searching for
  "aisleri" doesn't match any applications.

   * With fix - seaching for "aisleri" correctly finds AisleRiot.

   * Note that this may seemed to work properly in P for some CamelCase
  applications (like LibreOffice, but that's because "office" is present
  in the binary name)

  [Regression Potential]

  Possible regressions:
   * Searching for the individual tokens no longer works.

  =====================================
  Original description:

  Application Lens searches seem to be based on tokens of entire words,
  not substrings. They are delimited by whitespace or changes in
  capitalisation. If you attempt to search across changes in case, or in
  the middle of a word, the search fails.

  For example, I have Handbrake installed (http://handbrake.fr/ ). The
  desktop file gives a description of "HandBrake". The capital letter B
  is significant. The following Lens application searches find
  Handbrake:

  1. hand
  2. brake

  The following Lens searches DO NOT find Handbrake:

  1. Handbrake
  2. HandBrake
  3. Handb
  4. and
  5. rake

  I would expect any of these searches to produce it. Even disregarding
  the substring matches in cases 4 and 5, cases 1-3 should work.

To manage notifications about this bug go to:
https://bugs.launchpad.net/unity-lens-applications/+bug/1056743/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to