gpick icon indicating copy to clipboard operation
gpick copied to clipboard

View Menu not available in Ubuntu Unity

Open thezbyg opened this issue 9 years ago • 1 comments

Original issue 88 created by thezbyg on 2012-07-30T12:24:45.000Z:

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.

thezbyg avatar Mar 21 '15 13:03 thezbyg

Comment #1 originally posted by thezbyg on 2012-07-31T16:49:32.000Z:

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.

thezbyg avatar Mar 21 '15 13:03 thezbyg