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

qsTr function is not present by default when creating new state with Qt Quick Designer

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • Qt Creator 3.0.1
    • Qt Creator 2.7.1
    • Quick Designer
    • None
    • f08651024b3e0fc118f7007349555d928328ff14

    Description

      Steps to reproduce:

      1. Open the attached project.
      2. Open qsTrChangeIssue.qml
      3. Go to Design mode.
      4. Create new state in states preview tab.
      5. Select text component.
      6. See that qsTr icon is switched off (while the basic state has it on)
      7. Enter text in text property.
      6. See that text goes back to text from basic state.

      Two things that are worth to notice:
      1.When you go back to Edit mode and Redo changes, then you'll see that new text has been entered but automatically replaced with text from basic state.
      2. When you select icon of qsTr in Design mode then text doesn't go back to basic state's.

      In a larger context one experiences lack of default qsTr function in text property when creating a new state in Design mode.

      Also the state Text field doesn't seem to update correctly.

      Attachments

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

        Activity

          People

            thohartm Thomas Hartmann
            qtcomsupport Qt Support
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes