Appmenu-qt crashes Enki when using not standard window layout

Bug #1036049 reported by Andrei Kopats
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
appmenu-qt
Incomplete
Undecided
Unassigned
appmenu-qt (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

Hi

I use not standard main window layout for my application:
QMainWindow has QToolBar, which is added to it with addToolBar()
QToolBar contains QMenuBar and other widgets.

http://enki-editor.org/screenshots/minimal.png

When I start this application on Ubuntu, appmenu-qt crashes the application with assert.
See https://github.com/hlamer/enki/issues/13

I've workarounded the bug in the current version, use https://github.com/hlamer/enki/tarball/v12.08.4 for tests.

Revision history for this message
Bilal Akhtar (bilalakhtar) wrote :

What is the menu widget you are using, then? You're using a plain QMenuBar?

Changed in appmenu-qt:
status: New → Incomplete
Revision history for this message
Andrei Kopats (hlamer) wrote :

I posted you a link to the code.

I embed QMenuBar to QToolBar, then add QToolBar to QMainWindow.

What is not clear?

Ted Gould (ted)
Changed in appmenu-qt (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for appmenu-qt (Ubuntu) because there has been no activity for 60 days.]

Changed in appmenu-qt (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.