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

[CRASH|REBOOT|Ubuntu22.04] Unselect a combobox by clicking elsewhere on the GUI makes Ubuntu crash and reboot

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P1: Critical
    • None
    • 6.4.2
    • PySide
    • None
    • Ubuntu 22.04LTS, Python 3.10.6
    • Linux/Wayland

    Description

      With a minimal GUI (see code snippet attached) with only a QComboBox and a QLabel, selecting the QComboBox , and not selecting any item by clicking out on the label makes Ubuntu (22.04LTS) crash and reboot systematically.

       

      // code placeholder
      
      import sys
      from PySide6.QtWidgets import (
          QApplication, QComboBox, QLabel, QMainWindow, QVBoxLayout, QWidget)
      
      class MainWindow(QMainWindow):
          def __init__(self) -> None:
              super().__init__()
              layout = QVBoxLayout()
              widget = QWidget(layout=layout)
              label = QLabel("Dummy Label")
              combobox = QComboBox()
              combobox.addItems(['1', '2'])
              layout.addWidget(label)
              layout.addWidget(combobox)
              self.setCentralWidget(widget)
      
      
      app = QApplication([])
      session = MainWindow()
      session.show()
      sys.exit(app.exec()) 

      Attachments

        Issue Links

          Activity

            People

              crmaurei Cristian Maureira-Fredes
              rgiorno Rémi GIORNO
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: