QComboBox selection makes computer crash
- 
Just as update: I have compiled my Qt app in a Windows10 VM and I cannot reproduce the problem and it's working fine. So maybe it is related to Ubuntu. Furthermore, exploring /var/log/syslog I found this line when crashing the app: Feb 9 21:17:27 igorrecio-XXX gnome-shell[53810]: GNOME Shell crashed with signal 11 Feb 9 21:17:27 igorrecio-XXX gnome-shell[53810]: == Stack trace for context 0x56459ff96490 ==Searching on the internet, seems to be something related to GNOME, specifically in Ubuntu 22.04... @IgorRecioH 
 Since there was nothing in your code changing combobox behaviour it does sound right that any combobox will do it and it is some issue on your platform. But I (and others) use Ubuntu 22.04 with GNOME and have no trouble, though I am Qt5. It would be very serious if what you report happens to everyone, you are saying 22.04/GNOME/Qt6 cannot work with a combobox, I would have expected to hear about this! Maybe try a Qt other than 6.4.2?
- 
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. 
 
