** Description changed:

+ [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.

** Summary changed:

- Searches fail across changes in case or in middle of word
+ Searches fail across changes in case

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1056743

Title:
  Searches fail across changes in case

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to