Details
-
Bug
-
Resolution: Invalid
-
P2: Important
-
None
-
5.15.2
-
Desktop
Description
If an application having WA_ShowWithoutActivating set is being forked/execed by another process, Another process goes behind and new GUI Appliaction windows comes in front and activated.
This can be reproduced If following small application is started by other process via fork or exec
int main(int argc, char *argv[]) { QApplication a(argc, argv); QWidget w; w.setAttribute(Qt::WA_ShowWithoutActivating, true); w.show(); for( int n=1; n<=10; n++ ) { printf("Countdown %d of 10\n",n); sleep(1); } return a.exec(); }