← Back to team overview

sikuli-driver team mailing list archive

[Bug 1239738] Re: Pattern Windows "X" button does not work

 

This by intent:
because of the current weird shape of this dialog I want to people to use the buttons in any case.

A renewed dialog will of couse bahave normally.

** Changed in: sikuli
       Status: New => Won't Fix

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

Title:
  Pattern Windows "X" button does not work

Status in Sikuli:
  Won't Fix

Bug description:
  Hello RaiMan,

  The dialog Pattern Settings doesn't do anything with the "X" button. I
  hoped that it would simply close the window the same way as the cancel
  button.

  Solution:

  org.sikuli.ide.PatternWindow.init(EditorPatternButton imgBtn, boolean
  exact, float similarity, int numMatches) add the following code:

  addWindowListener(new java.awt.event.WindowAdapter() {
  		    public void windowClosing(WindowEvent winEvt) {
  		        close(); 
  		    }
  		});

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1239738/+subscriptions


References