Vanadium icon indicating copy to clipboard operation
Vanadium copied to clipboard

Do not use hardwired Google search for conversions

Open flawedworld opened this issue 2 years ago • 2 comments

Can test by highlighting a measurement, such as 100cm or 25mg

flawedworld avatar Mar 29 '22 14:03 flawedworld

This stuff is handled by Android's TextClassifier APIs and this behaviour is not specific to Vanadium or Chrome. Try opening any app in which you can select measurements like "100cm", same thing happens when you click "Convert", unless the selection popup menu is modified by the app. I suggest patching this in the OS not browser for consistent behaviour.

octocorvus avatar Jul 06 '22 16:07 octocorvus

For more clarification this is what happenes:

  1. User selects some text.
  2. Vanadium asks the OS to classify the selection and suggest an action based on the classification.
  3. User click on button like '"Convert" and Vanadium executes the suggested action(s).

octocorvus avatar Jul 06 '22 16:07 octocorvus