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

Qt Bridge for Figma removes Japanese characters from State names

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • QDS 4.3.2
    • Qt Bridge Importer
    • None
    • Windows

    Description

      Reproducer attached.
       
       - The Variants' property name/value, defined in Figma, is not correctly imported to Qt Design Studio when Japanese characters are used there.
        For example:
           (Figma) Variants property name = state, value = on    --> (Qt Desgin Studio) State_on
           (Figma) Variants property name = state, value = off   --> (Qt Desgin Studio) State_off
           (Figma) Variants property name = state, value = オン  --> (Qt Desgin Studio) State_
           (Figma) Variants property name = state, value = オフ  --> (Qt Desgin Studio) State_
       
       - In the import log, the Japanese characters are displayed correctly, as follows:
       

      Reading metadata archive
      C:/Users/hiito/Downloads/test.qtbridge
      Parsing Component state=オン
      Parsing Component state=オフ
      Processing component Component_1.ui.qml
      Writing component Component_1.ui.qml
      1 QML files generated
      Import done.

       
       - However, the state name on Qt Design Studio is not reflecting the Variants .
        (see test_on_QDS.png)

      Attachments

        1. test_on_QDS.png
          test_on_QDS.png
          55 kB
        2. test.fig
          28 kB
        3. test.qtbridge
          5 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            vikas Vikas Pachdha
            hitoshiito Hitoshi Ito
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes