maemo.org Bugzilla – Bug 8937
Only the last QMenu is shown as programs menu
Last modified: 2010-10-14 14:48:22 UTC
You need to log in before you can comment on or make changes to this bug.
SOFTWARE VERSION: Qt 4.5.3~git20090723 Firmware 2.2009.51-1 EXACT STEPS LEADING TO PROBLEM: 1. Create or install a program that has QMenuBar with several QMenu items containing QAction items 2. Start the program and open it's menu EXPECTED OUTCOME: You see all available actions from all QMenu's ACTUAL OUTCOME: You only see actions from the last QMenu in QMenuBar REPRODUCIBILITY: always EXTRA SOFTWARE INSTALLED: You can reproduce this bug with old version of QstarDict (0.13.2-2 or 0.13.2-1, in new version i moved all action to one QMenu as a temporary workaround to this bug). OTHER COMMENTS: User-Agent: Mozilla/5.0 (X11; U; Linux i686; ru; rv:1.9.1.6) Gecko/20100107 Fedora/3.5.6-1.fc12 Firefox/3.5.6
Maemo 5 doesn't support multilevel menus as it cannot be used with fingers conviniently. You have to redesign menu, while porting applications to Maemo. Thus, the behaviour is expected and the bug is invalid.
I've done some more research and it seems that Qt supports multiple QMenu's after all. Before the firmware update menu style was as on computer and there were actually multiple levels of menu. After the update in qt-maemo-example application for example there are multiple levels of menu (3 QMenu's) and they are shown as Help/About File/Save and so on. But the only difference between QstarDict and qt-maemo-example that I can see is that gui in QStarDict was created using Qt Creator and in qt-maemo-example it is part of the code. If I rebuild qt-maemo-example using Qt 4.6 without changing the program menu items are shown as About Save and so on (only the name of the actions without the names of QMenu's). I've tested QstarDict rebuilt using Qt 4.6 with multiple QMenu's and it worked. So this bug can be closed if there are no plans on fixing it in Qt 4.5 as everything works in Qt 4.6.
Qt bug reports are now handled and centralized at http://bugreports.qt.nokia.com/ Qt reports are not handled in bugs.maemo.org anymore. We kindly ask you to copy this report / file a new ticket in bugreports.qt.nokia.com if the problem described in this report is still valid in the latest version. Thanks!