#1059530 mate-desktop: Pyside6 combobox inside a groupbox doesn't render selected option but does whilst window is resizing

Package:
mate-desktop
Source:
mate-desktop
Description:
Library with common API for various MATE modules
Submitter:
Peter Thompson
Date:
2023-12-27 17:57:06 UTC
Severity:
normal
#1059530#5
Date:
2023-12-27 17:04:18 UTC
From:
To:
Dear Maintainer,

Creating Qt GUI in python for a project and discovered the problem.

Minimum python code below. I've tested in KDE and it works as expected.

Python 3.11

```
from PySide6.QtWidgets import QApplication, QFrame, QGroupBox, QComboBox, QWidget, QVBoxLayout
import sys

class MyWidget(QWidget):
    def __init__(self):
        super().__init__()

        groupbox = QGroupBox(self)
        groupbox_layout = QVBoxLayout(groupbox)

        combo = QComboBox(groupbox)
        combo.addItems(["Option 1", "Option 2", "Option 3"])
        groupbox_layout.addWidget(combo)

        layout = QVBoxLayout(self)
        layout.addWidget(groupbox)

app = QApplication(sys.argv)
window = MyWidget()
window.show()
sys.exit(app.exec())
```

#1059530#10
Date:
2023-12-27 17:54:28 UTC
From:
To: