-
Bug
-
Resolution: Cannot Reproduce
-
P1: Critical
-
4.6.0
-
None
-
None
Report is copied from from: http://discussion.forum.nokia.com/forum/showpost.php?p=661761&postcount=17
Problem is that when using virtual cursor in non-touchscreen phone the CBA is not drawn (even if menu is implemented) until screensaver is activated and dismissed. Application is started with showMaximized()
--snip--
I tried the demo and make my application work by adding only one syntax:
Code:
QApplication::setNavigationMode(Qt::NavigationModeCursorAuto)
The good news is that the cursor is activated and it works.
But it will make the option menu invisible. By removing that syntax, the option menu is back again.
Here is the code I create option menu for the QMainWindow project.
Code:
QList<QAction *> webActions;
menu_main = new QAction(tr("Main"), this);
menu_back = new QAction(tr("Back"), this);
//connect action to function
...
webActions.append(menu_main);
webActions.append(menu_back);
menuBar()->addAction(webActions);
menuBar()->setVisible(true);
I will get the option menu back when the device goes to sleep and activate again. Any idea of how to solve this problem??