Re: Basic QPushButton keyboard shortcut test fails under KDE session

2016-05-12 Thread David Edmundson
As with most bugs it's two people doing something a slightly wrong that makes something actually wrong. The documentation explitcitly says: >shortcut : QKeySequence >This property holds the _*mnemonic*_ associated with the button. (emphasis mine) http://doc.qt.io/qt-5/qabstractbutton.html#short

Re: Basic QPushButton keyboard shortcut test fails under KDE session

2016-05-10 Thread Elvis Stansvik
Hi David, 2016-05-08 19:41 GMT+02:00 David Edmundson : > > > On Sun, May 8, 2016 at 3:10 PM, Bhushan Shah wrote: >> >> On Sunday, May 8, 2016 7:26:32 PM IST, Elvis Stansvik wrote: >>> >>> Hitting Ctrl+O would not print "clicked" as expected. >>> >>> >>> But then I tested logging out and into an O

Re: Basic QPushButton keyboard shortcut test fails under KDE session

2016-05-08 Thread David Edmundson
On Sun, May 8, 2016 at 3:10 PM, Bhushan Shah wrote: > On Sunday, May 8, 2016 7:26:32 PM IST, Elvis Stansvik wrote: > >> Hitting Ctrl+O would not print "clicked" as expected. >> >> >> But then I tested logging out and into an Openbox session, and it >> worked from there. The strange thing is that

Re: Basic QPushButton keyboard shortcut test fails under KDE session

2016-05-08 Thread Elvis Stansvik
2016-05-08 16:10 GMT+02:00 Bhushan Shah : > On Sunday, May 8, 2016 7:26:32 PM IST, Elvis Stansvik wrote: >> >> Hitting Ctrl+O would not print "clicked" as expected. >> >> >> But then I tested logging out and into an Openbox session, and it >> worked from there. The strange thing is that it works wi

Re: Basic QPushButton keyboard shortcut test fails under KDE session

2016-05-08 Thread Bhushan Shah
On Sunday, May 8, 2016 7:26:32 PM IST, Elvis Stansvik wrote: Hitting Ctrl+O would not print "clicked" as expected. But then I tested logging out and into an Openbox session, and it worked from there. The strange thing is that it works with Qt 4.8.7 under the very same KDE session where it fails

Re: Basic QPushButton keyboard shortcut test fails under KDE session

2016-05-08 Thread Elvis Stansvik
2016-05-08 15:56 GMT+02:00 Elvis Stansvik : > Hi all, > > Recently I reported to qt-interest that I was having problems with the > following small test case under Qt 5.6.0, because I thought it was a > Qt problem: Sorry, there should have been a [1] reference here.. > ... ..to match this link:

Basic QPushButton keyboard shortcut test fails under KDE session

2016-05-08 Thread Elvis Stansvik
Hi all, Recently I reported to qt-interest that I was having problems with the following small test case under Qt 5.6.0, because I thought it was a Qt problem: test.cpp: #include #include #include #include #include class MainWindow : public QMainWindow { Q_OBJECT public: MainWind