-
Bug
-
Resolution: Fixed
-
P4
-
jfx11, jfx15
-
x86_64
-
windows_10
-
Not verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8262858 | jfx11.0.11 | Jose Pereda | P4 | Closed | Fixed |
ADDITIONAL SYSTEM INFORMATION :
This happens in JavaFX 11, 12, 13, 14, and 15-ea
A DESCRIPTION OF THE PROBLEM :
This exception can be thrown from Scene.java with Windows Ink enabled
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
I can reproduce this with a Wacom Intuos PT S pen tablet with Windows Ink enabled in the Wacom settings. I would imagine that other Wacom tablets can reproduce it, and given that it required Windows Ink I wouldn't be surprised if other input methods that use it would trigger this as well.
1. Run the attached example program
2. Rapidly interact with the menu with both clicks and drags
3. The exception will be thrown, I normally get it to happen within 20 seconds
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
No thrown exception
ACTUAL -
It throws a runtime exception: "Too many touch points reported"
---------- BEGIN SOURCE ----------
import javafx.application.Application;
import javafx.scene.Scene;
import javafx.scene.control.Menu;
import javafx.scene.control.MenuBar;
import javafx.scene.control.MenuItem;
import javafx.scene.layout.VBox;
import javafx.stage.Stage;
public class Test
{
public static void main(String[] args)
{
Application.launch(MainWindow.class);
}
public static class MainWindow extends Application
{
public void start(final Stage stage)
{
final var fileMenu = new Menu("File");
fileMenu.getItems().addAll(
new MenuItem("Open"),
new MenuItem("Save"));
final var editMenu = new Menu("Edit");
editMenu.getItems().addAll(
new MenuItem("Cut"),
new MenuItem("Copy"),
new MenuItem("Paste"));
final var menuBar = new MenuBar(fileMenu, editMenu);
final var root = new VBox(menuBar);
final var scene = new Scene(root, 600, 400);
stage.setScene(scene);
stage.show();
}
}
}
---------- END SOURCE ----------
FREQUENCY : always
This happens in JavaFX 11, 12, 13, 14, and 15-ea
A DESCRIPTION OF THE PROBLEM :
This exception can be thrown from Scene.java with Windows Ink enabled
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
I can reproduce this with a Wacom Intuos PT S pen tablet with Windows Ink enabled in the Wacom settings. I would imagine that other Wacom tablets can reproduce it, and given that it required Windows Ink I wouldn't be surprised if other input methods that use it would trigger this as well.
1. Run the attached example program
2. Rapidly interact with the menu with both clicks and drags
3. The exception will be thrown, I normally get it to happen within 20 seconds
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
No thrown exception
ACTUAL -
It throws a runtime exception: "Too many touch points reported"
---------- BEGIN SOURCE ----------
import javafx.application.Application;
import javafx.scene.Scene;
import javafx.scene.control.Menu;
import javafx.scene.control.MenuBar;
import javafx.scene.control.MenuItem;
import javafx.scene.layout.VBox;
import javafx.stage.Stage;
public class Test
{
public static void main(String[] args)
{
Application.launch(MainWindow.class);
}
public static class MainWindow extends Application
{
public void start(final Stage stage)
{
final var fileMenu = new Menu("File");
fileMenu.getItems().addAll(
new MenuItem("Open"),
new MenuItem("Save"));
final var editMenu = new Menu("Edit");
editMenu.getItems().addAll(
new MenuItem("Cut"),
new MenuItem("Copy"),
new MenuItem("Paste"));
final var menuBar = new MenuBar(fileMenu, editMenu);
final var root = new VBox(menuBar);
final var scene = new Scene(root, 600, 400);
stage.setScene(scene);
stage.show();
}
}
}
---------- END SOURCE ----------
FREQUENCY : always
- backported by
-
JDK-8262858 java.lang.RuntimeException: Too many touch points reported
-
- Closed
-
- duplicates
-
JDK-8250820 No Combobox selection by using a Windows stylus pen in JavaFX
-
- Open
-
- relates to
-
JDK-8335582 [REDO] java.lang.RuntimeException: Too many touch points reported
-
- Open
-