Uploaded image for project: 'Qt Design Studio'
  1. Qt Design Studio
  2. QDS-13513

Property View: Toggling translation can erase user string

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • QDS 4.7.1
    • QDS 4.5.1, QDS 4.6.0
    • Property View
    • None
    • b0af280b3 (qds/dev), b9349b9c2 (qds/4.7)
    • QDS Berlin - 2025 Week 7/8, QDS Berlin - 2025 Week 9/10, QDS Berlin - 2025 Week 11/12

    Description

      Code

      Text {
          id: txt
          text: "Built-in"
          property string customText: "Custom"
      }
      

       

      Steps to reproduce

      1. Put the code above into a *.ui.qml file
      2. In the Property Editor, click the "tr" button for txt.text
      3. In the Property Editor, click the "tr" button for txt.customText
      4. In the Property Editor, click the "tr" button for txt.text again
      5. In the Property Editor, click the "tr" button for txt.customText again

       

      Outcomes

      Step Property code Property editor string
      1 text: "Built-in" "Built-in"
      1 customText: "Custom" "Custom"
      2 text: qsTr("Built-in") "Built-in"
      3 customText: qsTr("Custom") "0"
      4 text: "Built-in" "Built-in"
      5 customText: "0" "0"

       

      Furthermore,

      • Step #2: The "tr" button for txt.text becomes highlighted (Expected)
      • Step #3: The Binding button txt.customText becomes highlighted (Not Expected)

      Attachments

        Issue Links

          For Gerrit Dashboard: QDS-13513
          # Subject Branch Project Status CR V

          Activity

            People

              rafals Rafał Stawarski
              skoh-qt Sze Howe Koh
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are 2 open Gerrit changes