sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #00238
[Bug 701012] [NEW] X 1.0rc1: text() does not return all intervening blanks, add's others
Public bug reported:
Using:
print selectRegion().text().strip()
and selecting some words side by side with intervening blanks (e.g.
button texts), you will find, that in many cases not all blanks are
returned (seems to be the first one !?).
There are other cases, where blanks are inserted, that are not there.
e.g. this is returned for the above sentence:
Thereare other c ases. where blanks are inserted. that are not there
If the space between words is larger, there might be additional
linefeeds:
e.g. part of the top menu returns:
Blueprlnts
TransIal*l0ns
Answers
this corresponds to the bug 701005 trailing x'0A20'
** Affects: sikuli
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/701012
Title:
X 1.0rc1: text() does not return all intervening blanks, add's others
Status in Sikuli:
New
Bug description:
Using:
print selectRegion().text().strip()
and selecting some words side by side with intervening blanks (e.g. button texts), you will find, that in many cases not all blanks are returned (seems to be the first one !?).
There are other cases, where blanks are inserted, that are not there.
e.g. this is returned for the above sentence:
Thereare other c ases. where blanks are inserted. that are not there
If the space between words is larger, there might be additional linefeeds:
e.g. part of the top menu returns:
Blueprlnts
TransIal*l0ns
Answers
this corresponds to the bug 701005 trailing x'0A20'
Follow ups
-
[Bug 701012] Re: X 1.0rc1: text() does not return all intervening blanks, add's others
From: RaiMan, 2015-07-07
-
[Bug 701012] Re: X 1.0rc1: text() does not return all intervening blanks, add's others
From: Dr. Xenofon Nastos, 2015-07-07
-
[Bug 701012] Re: X 1.0rc1: text() does not return all intervening blanks, add's others
From: Eugene S, 2015-07-03
-
[Bug 701012] Re: X 1.0rc1: text() does not return all intervening blanks, add's others
From: Dr. Xenofon Nastos, 2015-07-03
-
[Bug 701012] Re: X 1.0rc1: text() does not return all intervening blanks, add's others
From: RaiMan, 2013-02-22
-
[Bug 701012] Re: X 1.0rc1: text() does not return all intervening blanks, add's others
From: sledge, 2012-06-20
-
[Bug 701012] [NEW] X 1.0rc1: text() does not return all intervening blanks, add's others
From: RaiMan, 2011-01-10
References