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

调用QTableWidgetItem.setTextAlignment设置字体居中,导致内存泄漏

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Not Evaluated
    • None
    • 6.4.0
    • PySide
    • None
    • Python 3.10
      windows 11
    • Windows

    Description

      我在主界面循环中,调用QTableWidgetItem的setTextAlignment方法设置字体居中。发现程序运行内存不断增加,导致了明显的内存泄漏。

      注释掉setTextAlignment方法后,程序内存运行平稳正常。

       

      Attachments

        Issue Links

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

          Activity

            People

              crmaurei Cristian Maureira-Fredes
              wwei W WEI
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes