Uploaded image for project: 'Qt for Python'
  1. Qt for Python
  2. PYSIDE-1541

PySide6 Slow UTF-8 Display

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Cannot Reproduce
    • Affects Version/s: 6.0.3
    • Fix Version/s: None
    • Component/s: PySide
    • Labels:
      None
    • Environment:
      Windows 10
    • Platform/s:
      Windows

      Description

      I have QTableWidget 
      When I set some text into it (about 10 rows only) .. the GUI gets frozen for 1-2 second

      But  in PySide2  V: 5.15.2

      It works perfect with no delay 
      The problem appear only when try to display UTF-8 text

      I also tried it in ubuntu v 20.04 in same version  PySide6 V 6.0.3

      Also works perfect

      So the problem only appear in Windows 10 v1909 and PySide 6.0.3

      Any way to solve it ?
      This problem appears (at least for me) on QTableWidget And QLineEdit And QPushButton
      ( I believe the problem with how PySide6 deal with UTF-8 text)

      And it just happen on the first time 
      So if I need later to display another UTF-8 text (in the same process) it display fast 
      -There is a test file in the attachment

        Attachments

        1. pyside1541.py
          1 kB
        2. test_utf_qt.py
          0.4 kB
        3. UTF_Test.py
          0.6 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            qt.team.quick.subscriptions Qt Quick and Widgets Team
            Reporter:
            yaser01 yasser milato
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes