I am trying to publish my first application for N9 on Ovi Store but I have failed the QA:
SUMMARY: The application cannot back to front via clicking application icon after suspending the application in background. STEPS TO REPRODUCE: 1. Download and install the content. 2. Launch the application. 3. Suspend the application in background. 4. Click the application icon. ACTUAL RESULT: There is no response when clicking the application icon. EXPECTED RESULT: The application backs to front. Features and controls in the content file must function as specified.
My application is written in C++ with Qt, there is one QWidget. In the main function I am calling
Widget w;
w.showFullScreen();
I also override eventFilter
bool Widget::eventFilter(QObject *object, QEvent *event)
{
if (event->type() == QEvent::ActivationChange && m_created) {
if (isActiveWindow()) {
resume();
}
else {
pause();
}
}
return QWidget::eventFilter(object, event);
}
But when reproducing the bug, I do not get to eventFilter at all. What should I do to get back to my app, when I press the icon?