Sikuli 2.0 highlight() show black rectangle on Lubuntu 18 - accepted bug

Asked by TestMechanic

I noticed that in the old versions highlight rectangle was 100% transparent, but now on Windows 10 and Ubuntu 18 rectangle has red-ish filling. I believe this is the reason on Lubuntu18 highlight is showing as a black rectangle.

I know that this is not a critical problem and I can use Ubuntu, but reason for me to use Lubuntu is that it is very light on system resources in comparison with Ubuntu.

So is there a way to configure Sikuli 2.0 to use the old way of highlighting?

Question information

Language:
English Edit question
Status:
Solved
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Solved by:
TestMechanic
Solved:
Last query:
Last reply:
Revision history for this message
RaiMan (raimund-hocke) said :
#1

bug tracking on Github:
https://github.com/RaiMan/SikuliX1/issues/218

Currently no solution/workaround.

Revision history for this message
TestMechanic (ndinev) said :
#2

Thanks RaiMan :-)

Revision history for this message
RaiMan (raimund-hocke) said :
#3

In the 2.1.0 nightly now is a feature added: (will be in 2.0.2 also)

Settings.HighlightTransparent (boolean)

... is false in the standard

... if set to true, the reddish fill-in is skipped and only the red frame is shown (which should be transparent).

A test would be appreciated.

Revision history for this message
TestMechanic (ndinev) said :
#4

I done the test on build 466 from 5 Dec 2019

Settings.HighlightTransparent=True
find(someimage.jpg).highlight(2)

On Windows10: PASS - highlight box is 100% transparent
On Lubuntu18: FAIL - highlight box is still black

Note: I noticed that default value of Settings.HighlightTransparen is False for Windows and True for Lubuntu