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

Error report for the first start of examples\widgets\mainwindows\application\application.py

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3: Somewhat important
    • Resolution: Done
    • Affects Version/s: 6.1.0
    • Fix Version/s: 5.15.4, 6.1
    • Component/s: Other
    • Labels:
      None
    • Environment:
      windows10 python3.8 PySide6
    • Platform/s:
      Windows
    • Commits:
      652b900df1676990b11fcfa379ef916091a79221 (pyside/tqtc-pyside-setup/dev) 3853915cbf8247f9e6e3211c41240ebb09cd1aa8 (pyside/pyside-setup/6.1) 90761561e875080fd04b16025213e5315dd0ee24 (pyside/tqtc-pyside-setup/5.15)

      Description

      Steps to reproduce:

      • Remove settings file of mdi/application example ( ~/.config/QtProject/Application Example.conf )
      • Launch example

      I didn't record the complete error information, because after comment error line (happened on line 206) was successfully run for the first time, it can't be repeated again.

      ```

      205    geometry = settings.value('geometry', QByteArray)
      206    if geometry.size():
      207        self.restoreGeometry(geometry)

      ```

      The simple error message is as follows:

      `descriptor 'size' of 'PySide6.QtCore.QByteArray' object needs an argument`

       

        Attachments

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

          Activity

            People

            Assignee:
            kleint Friedemann Kleint
            Reporter:
            chenzhong zhong chen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes