TextInputControl handles common editing actions such as copy, paste, select all...
You can use either shorcuts or contextual menus.
If the TextInputControl is not editable, its contextual menu shows "paste" and "select all" enabled.
And when you select one of the 2 actions above, nothing happens.
This is not correct.
A non editable TextInputControl should allows RO actions and the "paste" action should be disabled.
And when you click on "select all" item, the whole text should be selected.
Now, if you select a work within the TextInputControl, you will get cut, copy, paste, delete and select all.
Here again, only RO actions should be enabled : cut, paste and delete should be disabled.
And here, only the copy command seems to work.
Attached test case to reproduce.
You can use either shorcuts or contextual menus.
If the TextInputControl is not editable, its contextual menu shows "paste" and "select all" enabled.
And when you select one of the 2 actions above, nothing happens.
This is not correct.
A non editable TextInputControl should allows RO actions and the "paste" action should be disabled.
And when you click on "select all" item, the whole text should be selected.
Now, if you select a work within the TextInputControl, you will get cut, copy, paste, delete and select all.
Here again, only RO actions should be enabled : cut, paste and delete should be disabled.
And here, only the copy command seems to work.
Attached test case to reproduce.
- blocks
-
JDK-8122290 Strange context menu in the About window.
- Closed
- duplicates
-
JDK-8126180 TextArea context menu needs to disable 'edit-like' options when 'editable' is false
- Closed