-
Bug
-
Resolution: Unresolved
-
P5
-
8, 9, 10
-
Ubuntu16.04-x64-jdk9b128-64bit
-
x86_64
-
linux_ubuntu
1Testsuite name: FXCompatibilityManual
Test name(s): graphics/api/control/ListViewTest5Test.java
Product(s) tested: JDK9b128 (64bit)
OS/architecture: Ubuntu16.04-x64
Reproducible: Always
Reproducible on machine: Evergreen-machine
[If Sometimes] Also reproducible on machine:
Is it a Regression:No
(Test on ubuntu16.04-x64 with jdk8u171b09-64bit,the results:failed as the same issue)
(Test on ubuntu16.04-x64 with jdk9b178-64bit,the results:failed as the same issue)
(Test on ubuntu16.04-x64 with jdk9.0.4b07-64bit,the results:failed as the same issue)
(Test on ubuntu16.04-x64 with jdk10.0.1b07-64bit,the results:failed as the same issue)
[If Regression] Regression introduced in release/build:
Test result on the last GAed release for this train: Failed(test with jdk9b181-64bit on Ubuntu16.04-x64)
[if Fail] Test result on FCS:
Is it a platform specific issue:NO
(Test on Mac10.11-x64 with jdk9b181-64bit,the results:failed as the same issue)
(Test on win10-x64 with jdk9b181-64bit,the results:failed as the same issue)
[If platform specific issue] Is it a new (previously unsupported) OS/browser/mode testing:
[If new configuration testing] Issue specific to execution mode or OS/browser version:
Steps to reproduce:
1. Install Test build JDK9b128 (64bit) and set JAVA_HOME env
2. use test bundle:java-client-9-manual-new.tar.gz and extract to a folder of java-client-9-manual <WS>
3. Install ANT (version:1.9.7) and set ANT_HOME env
4. Change javafx.home path in build.properties file(under the folder <WS>)
5 Enter the testsuite "JavaFXCompatibility" directory(under the folder<WS>) and run command: ant run-manual
6. Run the case: graphics/api/control/ListViewTest5Test.java in the harness.
Instructions:
1.Ensure ListView has focus and Press the following keys. Each key stroke performs the respective action.
- Key 1: selectFirstRow()
- Key 2: selectNextRow()
- Key 3: selectPreviousRow()
- Key 4: selectLastRow()
- Key 5: select(0)
- Key 6: clearSelection()
- Key 0: select(1200) (non-existent index)
- Key ENTER: Change Data
2.Select the last item using mouse and press Key 1.
3.Select the first item using mouse and press Key 4.
4.Select last item using mouse and press Key 2.
5.Select first item using mouse and press Key 3.
Expected Result
1.-Key 1: Selects the first item in the list view.
-Key 2: Selects the next item in the list view. If no item is currently selected, selects the first item in the list view.
-Key 3: Selects the previous item in the list view. If no item is currently selected, selects the last item in the list view.
-Key 4: Selects the last item in the list view.
-Key 5: Selects the item having index-0. (select(0))
-Key 6: Selection must be cleared and index must be set to -1.
-Key 0: Selection must retained.
2.ListView should scroll to make first item visible
3.ListView should scroll to make last item visible.
4.No action should be taken and item should remain selected
5.No action should be taken and item should remain selected
Actual result:
At step 4/5,after selecting last/first item by mouse and pressing Key 2/3, the item is changed to unselected state.Please refer to ListViewTest5Test-first.png and ListViewTest5Test-last.png.
Test name(s): graphics/api/control/ListViewTest5Test.java
Product(s) tested: JDK9b128 (64bit)
OS/architecture: Ubuntu16.04-x64
Reproducible: Always
Reproducible on machine: Evergreen-machine
[If Sometimes] Also reproducible on machine:
Is it a Regression:No
(Test on ubuntu16.04-x64 with jdk8u171b09-64bit,the results:failed as the same issue)
(Test on ubuntu16.04-x64 with jdk9b178-64bit,the results:failed as the same issue)
(Test on ubuntu16.04-x64 with jdk9.0.4b07-64bit,the results:failed as the same issue)
(Test on ubuntu16.04-x64 with jdk10.0.1b07-64bit,the results:failed as the same issue)
[If Regression] Regression introduced in release/build:
Test result on the last GAed release for this train: Failed(test with jdk9b181-64bit on Ubuntu16.04-x64)
[if Fail] Test result on FCS:
Is it a platform specific issue:NO
(Test on Mac10.11-x64 with jdk9b181-64bit,the results:failed as the same issue)
(Test on win10-x64 with jdk9b181-64bit,the results:failed as the same issue)
[If platform specific issue] Is it a new (previously unsupported) OS/browser/mode testing:
[If new configuration testing] Issue specific to execution mode or OS/browser version:
Steps to reproduce:
1. Install Test build JDK9b128 (64bit) and set JAVA_HOME env
2. use test bundle:java-client-9-manual-new.tar.gz and extract to a folder of java-client-9-manual <WS>
3. Install ANT (version:1.9.7) and set ANT_HOME env
4. Change javafx.home path in build.properties file(under the folder <WS>)
5 Enter the testsuite "JavaFXCompatibility" directory(under the folder<WS>) and run command: ant run-manual
6. Run the case: graphics/api/control/ListViewTest5Test.java in the harness.
Instructions:
1.Ensure ListView has focus and Press the following keys. Each key stroke performs the respective action.
- Key 1: selectFirstRow()
- Key 2: selectNextRow()
- Key 3: selectPreviousRow()
- Key 4: selectLastRow()
- Key 5: select(0)
- Key 6: clearSelection()
- Key 0: select(1200) (non-existent index)
- Key ENTER: Change Data
2.Select the last item using mouse and press Key 1.
3.Select the first item using mouse and press Key 4.
4.Select last item using mouse and press Key 2.
5.Select first item using mouse and press Key 3.
Expected Result
1.-Key 1: Selects the first item in the list view.
-Key 2: Selects the next item in the list view. If no item is currently selected, selects the first item in the list view.
-Key 3: Selects the previous item in the list view. If no item is currently selected, selects the last item in the list view.
-Key 4: Selects the last item in the list view.
-Key 5: Selects the item having index-0. (select(0))
-Key 6: Selection must be cleared and index must be set to -1.
-Key 0: Selection must retained.
2.ListView should scroll to make first item visible
3.ListView should scroll to make last item visible.
4.No action should be taken and item should remain selected
5.No action should be taken and item should remain selected
Actual result:
At step 4/5,after selecting last/first item by mouse and pressing Key 2/3, the item is changed to unselected state.Please refer to ListViewTest5Test-first.png and ListViewTest5Test-last.png.