[Sikuli-driver] [Bug 1817556] Re: [1.1.4] IDE: Toolbar buttons: crash if capture selection is drawn to another screen --- fixed 2019-02-26 build# 211

2019-11-18 Thread RaiMan
** Changed in: sikuli
   Status: Fix Committed => Fix Released

** Changed in: sikuli
Milestone: 1.1.4 => 2.0.0

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

Title:
  [1.1.4] IDE: Toolbar buttons: crash if capture selection is drawn to
  another screen --- fixed 2019-02-26 build# 211

Status in Sikuli:
  Fix Released

Bug description:
  observed on Windows 10 with the Offset button:

  Exception in thread "AWT-EventQueue-0" java.awt.image.RasterFormatException: 
(x + width) is outside raster
  at sun.awt.image.IntegerInterleavedRaster.createWritableChild(Unknown Source)
  at java.awt.image.BufferedImage.getSubimage(Unknown Source)
  at 
org.sikuli.util.OverlayCapturePrompt.drawSelection(OverlayCapturePrompt.java:334)
  at org.sikuli.util.OverlayCapturePrompt.paint(OverlayCapturePrompt.java:384)
  at javax.swing.RepaintManager$4.run(Unknown Source)
  … more
  [error] OverlayCapturePrompt: cropSelection: RasterFormatException

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Bug 1817556] Re: [1.1.4] IDE: Toolbar buttons: crash if capture selection is drawn to another screen --- fixed 2019-02-26 build# 211

2019-02-27 Thread Mike
I'm only too pleased to be able to help. The impression I get is you
maintain Sikulix almost single-handed and that must involve a lot of
work. It would be better if the workload could be spread a bit more.

I am currently just a Sikulix beginner but will try and make more
contributions as my knowledge progresses.

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

Title:
  [1.1.4] IDE: Toolbar buttons: crash if capture selection is drawn to
  another screen --- fixed 2019-02-26 build# 211

Status in Sikuli:
  Fix Committed

Bug description:
  observed on Windows 10 with the Offset button:

  Exception in thread "AWT-EventQueue-0" java.awt.image.RasterFormatException: 
(x + width) is outside raster
  at sun.awt.image.IntegerInterleavedRaster.createWritableChild(Unknown Source)
  at java.awt.image.BufferedImage.getSubimage(Unknown Source)
  at 
org.sikuli.util.OverlayCapturePrompt.drawSelection(OverlayCapturePrompt.java:334)
  at org.sikuli.util.OverlayCapturePrompt.paint(OverlayCapturePrompt.java:384)
  at javax.swing.RepaintManager$4.run(Unknown Source)
  … more
  [error] OverlayCapturePrompt: cropSelection: RasterFormatException

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Bug 1817556] Re: [1.1.4] IDE: Toolbar buttons: crash if capture selection is drawn to another screen --- fixed 2019-02-26 build# 211

2019-02-27 Thread RaiMan
great thanks for the systematic work and docs.

I have to admit, that I wrote down the workflow from memory (due to lack
of multi-monitor).

I leave this on my list to be revised again, when I can test it.

** Changed in: sikuli
   Status: In Progress => Fix Committed

** Changed in: sikuli
   Importance: Medium => Critical

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

Title:
  [1.1.4] IDE: Toolbar buttons: crash if capture selection is drawn to
  another screen --- fixed 2019-02-26 build# 211

Status in Sikuli:
  Fix Committed

Bug description:
  observed on Windows 10 with the Offset button:

  Exception in thread "AWT-EventQueue-0" java.awt.image.RasterFormatException: 
(x + width) is outside raster
  at sun.awt.image.IntegerInterleavedRaster.createWritableChild(Unknown Source)
  at java.awt.image.BufferedImage.getSubimage(Unknown Source)
  at 
org.sikuli.util.OverlayCapturePrompt.drawSelection(OverlayCapturePrompt.java:334)
  at org.sikuli.util.OverlayCapturePrompt.paint(OverlayCapturePrompt.java:384)
  at javax.swing.RepaintManager$4.run(Unknown Source)
  … more
  [error] OverlayCapturePrompt: cropSelection: RasterFormatException

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Bug 1817556] Re: [1.1.4] IDE: Toolbar buttons: crash if capture selection is drawn to another screen --- fixed 2019-02-26 build# 211

2019-02-26 Thread Mike
Testing for Take Screenshot:

- press a toolbar button with a capture/selection feature
- all monitors should show a read frame and the capture/selection text
>>> Passed
- pressing the mouse on one of the monitors will
  - will still show frame and text on this monitor
>>> Failed: As soon as you move the cursor, the message disappears on that 
>>> screen. The message stays unchanged on the other screen. If you move the 
>>> cursor from the first screen (ie where the cursor was when Sikulix started 
>>> executing) to the second screen, then the message on the second screen also 
>>> disappears. It doesn’t matter which screen you start from or which screen 
>>> the IDE was on. In both cases the actual capture looks OK. I don’t think 
>>> this is a problem.
>>>Passed
- since mouse dragging cannot be restricted to the selected monitor
  - the red frame stays visible (as a reminder)
>>> Passed (actually highlighted region remains highlighted up to edge of start 
>>> monitor (ie no red frame))
  - the selection is restricted to this monitor (though the mouse may be 
outside)

I repeated similar tests for Region, Location and Offset. They all look to 
behave similarly.
I did not check the actual pixel values thoroughly but they looked right.

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

Title:
  [1.1.4] IDE: Toolbar buttons: crash if capture selection is drawn to
  another screen --- fixed 2019-02-26 build# 211

Status in Sikuli:
  In Progress

Bug description:
  observed on Windows 10 with the Offset button:

  Exception in thread "AWT-EventQueue-0" java.awt.image.RasterFormatException: 
(x + width) is outside raster
  at sun.awt.image.IntegerInterleavedRaster.createWritableChild(Unknown Source)
  at java.awt.image.BufferedImage.getSubimage(Unknown Source)
  at 
org.sikuli.util.OverlayCapturePrompt.drawSelection(OverlayCapturePrompt.java:334)
  at org.sikuli.util.OverlayCapturePrompt.paint(OverlayCapturePrompt.java:384)
  at javax.swing.RepaintManager$4.run(Unknown Source)
  … more
  [error] OverlayCapturePrompt: cropSelection: RasterFormatException

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Bug 1817556] Re: [1.1.4] IDE: Toolbar buttons: crash if capture selection is drawn to another screen --- fixed 2019-02-26 build# 211

2019-02-26 Thread RaiMan
The implemented workflow on multi monitor:
- press a toolbar button with a capture/selection feature
- all monitors should show a read frame and the capture/selection text
- pressing the mouse on one of the monitors will
  - will still show frame and text on this monitor
  - will no longer show anything on the other monitors
- since mouse dragging cannot be restricted to the selected monitor
  - the red frame stays visible (as a reminder)
  - the selection is restricted to this monitor (though the mouse may be 
outside)

the last point is what should be fixed now.

Testing appreciated.

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

Title:
  [1.1.4] IDE: Toolbar buttons: crash if capture selection is drawn to
  another screen --- fixed 2019-02-26 build# 211

Status in Sikuli:
  In Progress

Bug description:
  observed on Windows 10 with the Offset button:

  Exception in thread "AWT-EventQueue-0" java.awt.image.RasterFormatException: 
(x + width) is outside raster
  at sun.awt.image.IntegerInterleavedRaster.createWritableChild(Unknown Source)
  at java.awt.image.BufferedImage.getSubimage(Unknown Source)
  at 
org.sikuli.util.OverlayCapturePrompt.drawSelection(OverlayCapturePrompt.java:334)
  at org.sikuli.util.OverlayCapturePrompt.paint(OverlayCapturePrompt.java:384)
  at javax.swing.RepaintManager$4.run(Unknown Source)
  … more
  [error] OverlayCapturePrompt: cropSelection: RasterFormatException

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Bug 1817556] Re: [1.1.4] IDE: Toolbar buttons: crash if capture selection is drawn to another screen --- fixed 2019-02-26 build# 211

2019-02-26 Thread RaiMan
** Summary changed:

- [1.1.4] IDE: Toolbar buttons: crash if capture selection is drawn to another 
screen
+ [1.1.4] IDE: Toolbar buttons: crash if capture selection is drawn to another 
screen --- fixed 2019-02-26 build# 211

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

Title:
  [1.1.4] IDE: Toolbar buttons: crash if capture selection is drawn to
  another screen --- fixed 2019-02-26 build# 211

Status in Sikuli:
  In Progress

Bug description:
  observed on Windows 10 with the Offset button:

  Exception in thread "AWT-EventQueue-0" java.awt.image.RasterFormatException: 
(x + width) is outside raster
  at sun.awt.image.IntegerInterleavedRaster.createWritableChild(Unknown Source)
  at java.awt.image.BufferedImage.getSubimage(Unknown Source)
  at 
org.sikuli.util.OverlayCapturePrompt.drawSelection(OverlayCapturePrompt.java:334)
  at org.sikuli.util.OverlayCapturePrompt.paint(OverlayCapturePrompt.java:384)
  at javax.swing.RepaintManager$4.run(Unknown Source)
  … more
  [error] OverlayCapturePrompt: cropSelection: RasterFormatException

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Bug 1817556] Re: [1.1.4] IDE: Toolbar buttons: crash if capture selection is drawn to another screen

2019-02-26 Thread RaiMan
** Summary changed:

- [1.1.4] IDE: Toolbar buttons: crash if selection is drawn to another screen
+ [1.1.4] IDE: Toolbar buttons: crash if capture selection is drawn to another 
screen

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

Title:
  [1.1.4] IDE: Toolbar buttons: crash if capture selection is drawn to
  another screen

Status in Sikuli:
  In Progress

Bug description:
  observed on Windows 10 with the Offset button:

  Exception in thread "AWT-EventQueue-0" java.awt.image.RasterFormatException: 
(x + width) is outside raster
  at sun.awt.image.IntegerInterleavedRaster.createWritableChild(Unknown Source)
  at java.awt.image.BufferedImage.getSubimage(Unknown Source)
  at 
org.sikuli.util.OverlayCapturePrompt.drawSelection(OverlayCapturePrompt.java:334)
  at org.sikuli.util.OverlayCapturePrompt.paint(OverlayCapturePrompt.java:384)
  at javax.swing.RepaintManager$4.run(Unknown Source)
  … more
  [error] OverlayCapturePrompt: cropSelection: RasterFormatException

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp