Is this helpful? (Found here:  Bug #769254)

=== modified file 'panel/applets/appname/appnameapplet.cpp'
2       --- panel/applets/appname/appnameapplet.cpp 2012-03-19 19:36:04 +0000
3       +++ panel/applets/appname/appnameapplet.cpp 2012-04-05 09:49:19 +0000
4       @@ -324,13 +324,13 @@
5       || KeyboardModifiersMonitor::instance()->keyboardModifiers() == 
Qt::AltModifier
6       || d->m_menuBarWidget->isOpened()
7       );
8       - bool showMenu = isOpened && !d->m_menuBarWidget->isEmpty() && 
isUserVisibleApp;
9       + bool showDesktopLabel = !app;
10      + bool showMenu = isOpened && !d->m_menuBarWidget->isEmpty() && 
(isUserVisibleApp || showDesktopLabel);
11      bool dashCanResize = !DashClient::instance()->alwaysFullScreen();
12      bool dashIsVisible = 
DashClient::instance()->activeInScreen(panel()->screen());
13      bool hudIsVisible = 
HUDClient::instance()->activeInScreen(panel()->screen());
14      bool showWindowButtons = (isOpened && isMaximized) || dashIsVisible || 
hudIsVisible;
15      bool showAppLabel = !(isMaximized && showMenu) && isUserVisibleApp && 
isOnSameScreen;
16      - bool showDesktopLabel = !app;
17      
18      d->m_windowButtonWidget->setVisible(showWindowButtons);
19      d->m_maximizeButton->setIsDashButton(dashIsVisible);
20      
21      === modified file 'tests/manual-tests/panel.txt'
22      --- tests/manual-tests/panel.txt 2012-04-04 10:13:58 +0000
23      +++ tests/manual-tests/panel.txt 2012-04-05 09:49:19 +0000
24      @@ -20,7 +20,18 @@
25      * While the indicators menu is open, move the mouse to the left over 
the menu area of the rightmost monitor
26      
27      --> Verify menu appears
28      +
29      ----
30      * Launch a program that creates problems to unity-2d-panel (in my case 
tdriver_visualizer)
31      -
32      --> Verify the panel is not empty (should say TDriver Visualizer bla 
bla)
33      +
34      +----
35      + * Have no application windows open
36      + * Verify 'Ubuntu Desktop' caption is displayed on the panel
37      + * Move mouse over over it.
38      + * Verify desktop menu is displayed, containing subset of Nautilus 
menu items + special items (e.g. Edit > Change Desktop Background).
39      + * Open an application
40      + * Verify that application menu replaces desktop menu when application 
has focus.
41      + * Click on the desktop.
42      + * Verify that desktop menu is available again when mouse is over it.
43      +----

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to nautilus in Ubuntu.
https://bugs.launchpad.net/bugs/1321823

Title:
  deault unity menu does not show with desktop

Status in “nautilus” package in Ubuntu:
  Triaged

Bug description:
  Description: The default menu panel for unity doesn not show when no
  other program is highlighted. It should display something similar to
  the Nautilus Menu. Problem did - if I remember right - also occur with
  my Precise Pangolin.

  Reproduce: Minimize or close all active windows or hit "show desktop"
  button. Move mouse to the very top to show standard menu.

  Additional information:
  -  using standard global menu
  -  only an optical (not an essential) issue
  -  using Trusty right now

  Just thought I might report this since it affected me for a longer
  time now.....As for me I consider it only a cosmetic issue.

  UPDATE (16 Jun 2014): Related to Bug #769254 - Since this one refers
  to Ubuntu 11.04 and Unity2D I don't know if this is helpful (Unity2d
  is canceled in favor of 3D with 13.04). Yet one can find a bit of code
  in the bug description which might be helpful.

  Also I am not sure if the bug is assigned to the right package. The
  bug might be a Compiz problem.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/1321823/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to