[1.1.4] Settings.setShowActions(True) doesn't work

Bug #1816298 reported by RaiMan on 2019-02-17
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Sikuli
Medium
RaiMan

Bug Description

Script:
=====
import os, sys, time
sys.path.append(os.path.dirname(os.path.realpath(__file__)) + '/sikulixapi.jar')

from org.sikuli.script import App
from org.sikuli.script import Screen
from org.sikuli.script import Pattern
from org.sikuli.script import Finder
from org.sikuli.basics import Settings
from org.sikuli.basics import Debug

class Sikuli:

    def start_app(self, path, app):
        try:
            app = App(os.path.join(path, app))
        except:
            pass
        finally:
            app = App(os.path.join(path, app))
        app.open()

    def click_image(self, image, timeout=5):
        screen = Screen()
        Settings.MinSimilarity = 0.95 << This Line works
        Settings.setShowActions(True) << This doesn't show any Effect
        screen.wait(image, timeout)
        screen.click(image)

Versions:
=======
Jython 2.7.0
SikuliXApi.jar 1.1.4
Windows 10

RaiMan (raimund-hocke) on 2019-02-17
Changed in sikuli:
status: New → In Progress
importance: Undecided → Medium
assignee: nobody → RaiMan (raimund-hocke)
milestone: none → 1.1.4
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers