Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-15998

Input fields should warn about illegal input

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Done
    • Not Evaluated
    • Qt Creator 4.0.0-rc1
    • Qt Creator 3.6.0, Qt Creator 4.0.0-beta1
    • All Other Issues
    • None
    • Windows, Linux

    Description

      Some input fields allow to input characters which are invalid.

      Examples:

      • The Git remotes -> Add... dialog allows to paste input from the clipboard with trailing whitespace (in my case, it was a carriage return) which is rejected after pressing Ok (no remote was added). The same may apply for the remotes name.
      • The Projects -> Build & Run -> Run -> Add Custom Executeable input field also allows trailing whitespaces without complaint. On trying to run this executeable, you just get "No exceutable specified".
      • There may be more fields of this kind, but these two hit me the last two days.

      It takes some time to realize what's going on as the feedback (something doesn't work) is far away from the input dialog.

      Input fields taking paths or URLs should at least warn about illegal characters.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            con Eike Ziller
            aha_1980 André Hartmann
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes