← Back to team overview

touch-packages team mailing list archive

[Bug 1213834] Re: Dash query "2+2" should yield "4" by default

 

Could be triggered by prefixing the search with "="

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to unity in Ubuntu.
https://bugs.launchpad.net/bugs/1213834

Title:
  Dash query "2+2" should yield "4" by default

Status in Unity:
  Opinion
Status in unity package in Ubuntu:
  Opinion

Bug description:
  On up-to-date saucy as of this writing:
  - Open the dash
  - Type "2+2"
  - Look at the search results

  Expected outcome:
  - The calculator scope should return 4, which should be te first result so that pressing enter copies the result onto the clipboard

  Actual outcome:
  - The calculator scope does not return anything, it is disabled in "Filter" by default

  More elaborate queries like sqrt(2) also return a bunch of results
  from all over the web but the calculator scope does not return
  anything unless it's explicitly activated in "Filter" -- which must be
  done for every query since the filter parameters get reset for each
  new search.

  In my opinion, if the calculator scope manages to produces a result
  from a query (i.e., it manages to make sense of the input as a
  mathematical expression), that should be the first result in the dash.
  This may be applicable to other (local) scopes if their ability to
  produce results is a strong indication that the input is intended for
  that scope.

  ProblemType: Bug
  DistroRelease: Ubuntu 13.10
  Package: unity 7.1.0+13.10.20130816.3-0ubuntu1
  ProcVersionSignature: Ubuntu 3.11.0-2.5-generic 3.11.0-rc5
  Uname: Linux 3.11.0-2-generic x86_64
  ApportVersion: 2.12-0ubuntu3
  Architecture: amd64
  CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins'
  Date: Mon Aug 19 09:13:19 2013
  InstallationDate: Installed on 2013-08-03 (16 days ago)
  InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Alpha amd64 (20130802)
  MarkForUpload: True
  ProcEnviron:
   LANGUAGE=en_GB:en
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=en_GB.UTF-8
   SHELL=/bin/bash
  SourcePackage: unity
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/unity/+bug/1213834/+subscriptions