maestro icon indicating copy to clipboard operation
maestro copied to clipboard

[1.36][studio] Copy button not considering special space character `NBSP`

Open mugbug opened this issue 3 months ago • 0 comments

Describe the bug

I'm having an issue with maestro studio's copy command feature.

We use some language currency formatters to format a double value, for instance, into a currency string like R$ 10.000,00. The thing with those formatters is that they don't use a normal space character between the R$ and the 10.000,00. They use this following character:   which is usually rendered as a space, but when maestro compares it with a normal space it doesn't match the string.

In my IDE this characters renders as follows:

image

Also, if I just tap the image icon and CMD+A and CMD+C, I can copy the NBSP character as expected, so it's probably a parsing issue or something on the "copy to clipboard" feature image.

Environment information (please complete the following information):

  • Maestro version [1.36]
  • Platform: [Both]
  • Framework: [Flutter]
  • Device model and OS version: [iPhone 14 Pro - iOS 17.2]
  • Simulator
  • Host [Mac M1]

mugbug avatar May 08 '24 19:05 mugbug