Bug 8937 - Only the last QMenu is shown as programs menu
: Only the last QMenu is shown as programs menu
Status: RESOLVED INVALID
Product: Qt
Look & Feel
: 4.5-Fremantle
: All Maemo
: Unspecified normal with 1 vote (vote)
: ---
Assigned To: Antonio Aloisio
: general-bugs
:
:
:
:
  Show dependency tree
 
Reported: 2010-02-09 00:41 UTC by Alexander
Modified: 2010-10-14 14:48 UTC (History)
3 users (show)

See Also:


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description Alexander (reporter) 2010-02-09 00:41:49 UTC
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
Comment 1 Daniil Ivanov nokia 2010-03-02 10:59:06 UTC
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.
Comment 2 Alexander (reporter) 2010-03-05 19:18:31 UTC
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.
Comment 3 Andre Klapper maemo.org 2010-10-14 14:48:22 UTC
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!