Robot.createScreenCapture() does not work with unity-2d
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenJDK |
New
|
Undecided
|
Unassigned | ||
openjdk-6 (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
openjdk-7 (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
The built in Java screen grabber (java.awt.
Simple test case:
import java.awt.*;
import java.awt.
import java.io.File;
import javax.imageio.
public class ScreenGrab {
public static void main(String[] args) {
try {
Rectangle grabRect = new Rectangle(
Robot robot = new Robot();
BufferedImage capture = robot.createScr
ImageIO.
} catch (Exception e) {
e.
}
}
}
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: openjdk-6-jre 6b24-1.
ProcVersionSign
Uname: Linux 3.2.0-24-generic i686
ApportVersion: 2.0.1-0ubuntu7
Architecture: i386
Date: Mon May 14 15:51:34 2012
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release i386 (20110427.1)
ProcEnviron:
LANGUAGE=en_GB:en
TERM=xterm
PATH=(custom, user)
LANG=en_GB.UTF-8
SHELL=/bin/bash
SourcePackage: openjdk-6
UpgradeStatus: Upgraded to precise on 2012-04-23 (20 days ago)
Changed in openjdk-7 (Ubuntu): | |
status: | New → Confirmed |
Status changed to 'Confirmed' because the bug affects multiple users.