← Back to team overview

sikuli-driver team mailing list archive

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

 

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


References