google-code-export / gpick

Automatically exported from code.google.com/p/gpick
2 stars 0 forks source link

View Menu not available in Ubuntu Unity #88

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Installed gpick from Ubuntu Software Center, no problem
2.Start gpick. No way to get any View menu and its associated functions
3.Log out. Start Ubuntu under 'standard' Gnome manager, View menu is here, and 
everything can be accessed.
4.Log out. Re-log in under Unity, the last function accessed from the view menu 
under Gnome appears and is functioning, but still no view menu and no way to 
select any other function (Alt-V does not work either)

What is the expected output? What do you see instead?
I would like to see a 'View' menu somewhere.
But there's no View menu, and apparently no short-cut enabled to reach it.

What version of the product are you using? On what operating system?
gpick 0.2.4.1
Ubuntu 12.04 with Unity

Please provide any additional information below.
I'd guess this comes from Unity's way of managing the application menus. The 
menu are not on the application window itself, but on the top bar of the 
screen. So the View menu, which belongs to ??? has not bar to display it. I am 
using Blender as well under Unity, no problem at all with all the menus in 
Blender.

Original issue reported on code.google.com by jpboye...@googlemail.com on 30 Jul 2012 at 12:24

GoogleCodeExporter commented 9 years ago
Unfortunately Unity doesn't play nice with applications which have multiple 
menu bars. You can disable the usage of global menu by defining 
UBUNTU_MENUPROXY environment variable before launching Gpick, or use the 
APPMENU_DISPLAY_BOTH variable which displays both standard and global menus.

You could create a small wrapper script to define the needed environment 
variable before starting Gpick. Create an executable shell script named "gpick" 
in your /home/user/bin directory, and use the following code if you want to 
disable the global menu:

#!/bin/sh
export UBUNTU_MENUPROXY=0
exec /usr/bin/gpick

or use the following code if you want to have both menus available:

#!/bin/sh
export APPMENU_DISPLAY_BOTH=1
exec /usr/bin/gpick

The next version of Gpick will not have a secondary menu bar, so this will not 
be needed anymore.

Original comment by thezbyg on 31 Jul 2012 at 4:49