Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8126030

TextInputControl default editing actions badly handled when TextInputControl is not editable

XMLWordPrintable

      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.

            leifs Leif Samuelsson (Inactive)
            slions Sandra Lions-piron
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: