ADDITIONAL SYSTEM INFORMATION :
Windows 10, using a default javaFX application built using intelliJ
A DESCRIPTION OF THE PROBLEM :
When Draging the selectionHandle2 in a textField or textArea, the selectionHandle1 jumps between the first and second index.
this only occurs when selectionhandle1 is at the left most position.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Using the source application provided, run and show the stage with touch enabled (I did it by adding this to my build.gradle:
tasks.withType(JavaExec) {
doFirst {
jvmArgs("-Dcom.sun.javafx.touch=true")
}
}
When the stage is visible, double click the text fields contents to select it and show the selection handles
Ensure the left most selection handle is as close to the left as it can be.
Drag the right most selection handle.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
The left most selection handle should not move
ACTUAL -
The left most selection handle jumps one or two spaces when the right most selection handle is dragged
---------- BEGIN SOURCE ----------
package com.example.demo;
import javafx.application.Application;
import javafx.scene.Scene;
import javafx.scene.control.TextField;
import javafx.scene.layout.HBox;
import javafx.stage.Stage;
import java.io.IOException;
public class HelloApplication extends Application {
@Override
public void start(Stage stage) throws IOException {
TextField textView = new TextField("Testing");
HBox hbox = new HBox(textView);
Scene scene = new Scene(hbox, 320, 240);
stage.setTitle("Test");
stage.setScene(scene);
stage.show();
}
public static void main(String[] args) {
launch();
}
}
---------- END SOURCE ----------
CUSTOMER SUBMITTED WORKAROUND :
I have not found a workaround as of yet
FREQUENCY : always
Windows 10, using a default javaFX application built using intelliJ
A DESCRIPTION OF THE PROBLEM :
When Draging the selectionHandle2 in a textField or textArea, the selectionHandle1 jumps between the first and second index.
this only occurs when selectionhandle1 is at the left most position.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Using the source application provided, run and show the stage with touch enabled (I did it by adding this to my build.gradle:
tasks.withType(JavaExec) {
doFirst {
jvmArgs("-Dcom.sun.javafx.touch=true")
}
}
When the stage is visible, double click the text fields contents to select it and show the selection handles
Ensure the left most selection handle is as close to the left as it can be.
Drag the right most selection handle.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
The left most selection handle should not move
ACTUAL -
The left most selection handle jumps one or two spaces when the right most selection handle is dragged
---------- BEGIN SOURCE ----------
package com.example.demo;
import javafx.application.Application;
import javafx.scene.Scene;
import javafx.scene.control.TextField;
import javafx.scene.layout.HBox;
import javafx.stage.Stage;
import java.io.IOException;
public class HelloApplication extends Application {
@Override
public void start(Stage stage) throws IOException {
TextField textView = new TextField("Testing");
HBox hbox = new HBox(textView);
Scene scene = new Scene(hbox, 320, 240);
stage.setTitle("Test");
stage.setScene(scene);
stage.show();
}
public static void main(String[] args) {
launch();
}
}
---------- END SOURCE ----------
CUSTOMER SUBMITTED WORKAROUND :
I have not found a workaround as of yet
FREQUENCY : always