https://bugs.kde.org/show_bug.cgi?id=412184
--- Comment #8 from David Redondo <k...@david-redondo.de> --- After debugging I am quite sure that the problem is not QDialogButtonBox but the fact that KSMainWindow is a QDialog. Which sets the default property of all pushbuttons with autoDefault==true to true in setVisible. https://code.qt.io/cgit/qt/qtbase.git/tree/src/widgets/dialogs/qdialog.cpp?h=dev#n818 Because the button was also a pushbutton and had focus this worked before. So we either set autoDefault to false for the three pushbuttons or change KSMainWindow's base to something else. I don't know if it currently uses some QDialog specific feature or if something else would do. -- You are receiving this mail because: You are watching all bug changes.