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

First character of mandatory LineEdit field with JSON wizard can't be deleted

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • P2: Important
    • Qt Creator 3.3.0
    • Qt Creator 3.3.0-rc1
    • Qt Creator 3.3.0 RC1
      Mac OS X Yosemite 10.10.2

    Description

      When adding a LineEdit field with mandatory flag set to "true" the very first entered character within the LineEdit can't be deleted.

      Steps to reproduce:

      1. Create a new JSON-based project wizard
      2. Add a new page with typeID "Fields" and add a field of the form:

      { "name": "DisplayName", "trDisplayName": "Display name:", "mandatory": true, "type": "LineEdit" }

      3. Run the new wizard, enter the page
      4. The field is empty, the "Continue" button is disabled
      5. Enter any character into the field (the "Continue" button is enabled)
      6. Try to delete the entered character with backspace

      Actual Result:

      The entered character is still within the line edit

      Expected Result:

      The line edit is empty and the "Continue" button is disabled again.

      (A sample wizard can be provided if needed)

      Attachments

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

        Activity

          People

            hunger Tobias Hunger
            alexleutgoeb Alex Leutgöb
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes