← Back to team overview

sikuli-driver team mailing list archive

[Bug 701005] [NEW] X 1.0rc1: text() always returns text with trailing x'0A20'

 

Public bug reported:

text() always returns text with trailing x'0A20' (linefeed blank) even
if text only contains one line (e.g. button text)

Since you do not expect this for text, that should be only some words,
the trailing x'0A20' should be omitted.

Temp. solution:
use Region.text().strip()

** Affects: sikuli
     Importance: Undecided
         Status: New

** Description changed:

  text() always returns text with trailing x'0A20' (linefeed blank) even
  if text only contains one line (e.g. button text)
  
  Since you do not expect this for text, that should be only some words,
- the trailing should be omitted.
+ the trailing x'0A20' should be omitted.
  
  Temp. solution:
  use Region.text().strip()

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

Title:
  X 1.0rc1: text() always returns text with trailing x'0A20'

Status in Sikuli:
  New

Bug description:
  text() always returns text with trailing x'0A20' (linefeed blank) even if text only contains one line (e.g. button text)

Since you do not expect this for text, that should be only some words, the trailing x'0A20' should be omitted.

Temp. solution:
use Region.text().strip()







Follow ups

References