QComboBox selection makes computer crash
-
I am experiencing same problem now
-
I have also same problem using Qt6 6.4.2. I am waiting for a solution. I don't want to migrate Qt5 because of this problem.
-
I have also same problem using Qt6 6.4.2. I am waiting for a solution. I don't want to migrate Qt5 because of this problem.
-
@Dogukan-Arat I tested the /widgets/painting/basicdrawing example which has a few combo boxes and do not see any crash.
Qt 6.5.0 and LUbuntu 22.04 -
@JoeCFD
I seem to remember some recent post on something "similar" to this may have stated that Lubuntu worked but Ubuntu did not? -
I have same issue. When I clicked on combobox, I can see dropdown menu, and everything is fine so far. But when I click on any item in dropdown menu, there appears a crash and I find myself on log in page of ubuntu.
It's not the only bug I faced in ubuntu. There are many others too. Unfortunately, I didn't see any good release of Ubuntu except Ubuntu 14 and 18.
Goodbye Ubuntu, Welcome Debian !
-
I have same issue. When I clicked on combobox, I can see dropdown menu, and everything is fine so far. But when I click on any item in dropdown menu, there appears a crash and I find myself on log in page of ubuntu.
It's not the only bug I faced in ubuntu. There are many others too. Unfortunately, I didn't see any good release of Ubuntu except Ubuntu 14 and 18.
Goodbye Ubuntu, Welcome Debian !
@BosGemiler It could be a wayland related issue. Switch to Xorg and try it again.
On Login screen, there is a setting icon and click it to switch to Xorg. The default on Ubuntu now is Wayland. -
I faced the same issue while working with PyQt6 on Ubuntu 22.04
So I ran the following minimal example:-
from PyQt6.QtWidgets import ( QApplication, QWidget, QComboBox, ) import sys class Window(QWidget): def __init__(self): super().__init__() combobox = QComboBox(self) combobox.addItems(['option 1', 'option 2', 'option 3']) self.setGeometry(0,0,500,500) self.setWindowTitle('Combobox Bug') self.show() if __name__ == '__main__': app = QApplication([]) window = Window() sys.exit(app.exec())
Wayland : It crashes and I am sent to login screen where I have to login again.
Xorg: No crashSame thing happens on PySide6.
-
I faced the same issue while working with PyQt6 on Ubuntu 22.04
So I ran the following minimal example:-
from PyQt6.QtWidgets import ( QApplication, QWidget, QComboBox, ) import sys class Window(QWidget): def __init__(self): super().__init__() combobox = QComboBox(self) combobox.addItems(['option 1', 'option 2', 'option 3']) self.setGeometry(0,0,500,500) self.setWindowTitle('Combobox Bug') self.show() if __name__ == '__main__': app = QApplication([]) window = Window() sys.exit(app.exec())
Wayland : It crashes and I am sent to login screen where I have to login again.
Xorg: No crashSame thing happens on PySide6.
-
For a fix, see my comment: https://forum.qt.io/post/762082
The cause is a bug in mutter <= 42.5 under Wayland. Upgrade to proposed to get 42.9 which resolves the issue.