Bug #79064 Enable the global application menu
Submitted: 2 Nov 2015 8:18 Modified: 3 Mar 2018 11:48
Reporter: Louis de Gaulle Email Updates:
Status: No Feedback Impact on me:
None 
Category:MySQL Workbench Severity:S4 (Feature request)
Version:6.* OS:Ubuntu (Unity desktop)
Assigned to: CPU Architecture:Any
Tags: ubuntu_menuproxy; Mac style single menu

[2 Nov 2015 8:18] Louis de Gaulle
Description:
When I run mysql-workbench with the mac style menu, menu are duplicated.

How to repeat:
*Start mysql-workbench :
$] export UBUNTU_MENUPROXY=1
$] mysql-workbench

A this point all is rigth

*Open a connection :

Now a new tab appear, and some menu are double

* Create or Open a Model :

A new tab appear, and some menu are threefold

* Create or Open a second Model :

A new tab appear, and some menu are fourfold

----

* Close a Model :

The tab disappear, and duplicate menu are deleted

* Close a Model :

The tab disappear, and duplicate menu are deleted

* Close the connexion :

The tab disappear, and duplicate menu are deleted

The menu returns to consistent behavior.

Suggested fix:
I think there is a bug in the update menu.
[2 Nov 2015 9:11] Louis de Gaulle
I have looked if the bug has already been reported...
And he was:
https://bugs.mysql.com/bug.php?id=75442
http://bugs.mysql.com/bug.php?id=75866
http://bugs.mysql.com/bug.php?id=75659
(This was on google than I finally found duplicates)
[2 Nov 2015 10:29] Louis de Gaulle
The patch which fixes the use of the global menu: UBUNTU_MENUPROXY

Attachment: menuproxy.patch (text/x-patch), 1.39 KiB.

[2 Nov 2015 10:29] Louis de Gaulle
Screenshot of the result

Attachment: screenshot-mysql_workbench-ubuntu_menuproxy.png (image/png, text), 101.61 KiB.

[2 Nov 2015 10:34] Louis de Gaulle
In reality, there are several menubar in the GUI. This is why the menus are duplicated.

To fix this bug on Ubuntu I hide the menubars that are not visible.

It would be preferable to retain UBUNTU_MENUPROXY to the user value
So remove "export UBUNTU_MENUPROXY=0" in frontend/linux/workbench/mysql-workbench.in
Or edit bin/mysql-workbench after the installation

NB: It may still remain bugs because I did not satisfy all dependencies at compilation.
It would be preferable to create a method like getMenubar() in each page of notebook.
[3 Feb 2018 11:48] MySQL Verification Team
Hello Louis de Gaulle,

Thank you for the report and feedback.
Since all the related bugs are fixed, hence wanted to confirm if you are still experiencing this issue with the latest WB build. Please let us know.

Thanks,
Umesh
[4 Mar 2018 1:00] Bugs System
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".