menus switch to window title when window is unmaximized

Bug #1283156 reported by Marc Deslauriers
48
This bug affects 9 people
Affects Status Importance Assigned to Milestone
Unity
Fix Released
High
Marco Trevisan (Treviño)
unity (Ubuntu)
Fix Released
High
Marco Trevisan (Treviño)

Bug Description

When running with Application Menu set to "In top bar", applications menus switch to the window title bar when a window is unmaximized, until a different window gets focus.

Steps to reproduce:

1- Launch gnome-terminal
2- hover mouse on window title bar to make sure there is no menu
3- maximize gnome-terminal
4- unmaximize gnome-terminal
5- hover mouse on window title...notice that the application menus appear in window title bar
6- Click on another window to take focus away from gnome-terminal
7-Click on gnome-terminal again
8- Hover mouse on window title, menu is now gone

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: unity 7.1.2+14.04.20140220-0ubuntu1
ProcVersionSignature: Ubuntu 3.13.0-11.31-generic 3.13.3
Uname: Linux 3.13.0-11-generic x86_64
ApportVersion: 2.13.2-0ubuntu5
Architecture: amd64
CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins'
CurrentDesktop: Unity
Date: Fri Feb 21 12:38:20 2014
InstallationDate: Installed on 2013-11-26 (86 days ago)
InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Release amd64 (20131016.1)
SourcePackage: unity
UpgradeStatus: Upgraded to trusty on 2014-01-17 (34 days ago)

Related branches

Revision history for this message
Marc Deslauriers (mdeslaur) wrote :
tags: added: lim
Revision history for this message
Marc Deslauriers (mdeslaur) wrote :

When the problems occurs:

$ gdbus call -e -d com.canonical.Unity -o /com/canonical/Unity/Debug --method com.canonical.Autopilot.Introspection.GetState "/Unity/PanelController/UnityPanel/MenuView/"
([('/Unity/PanelController/UnityPanel/MenuView', <{'id': <[<uint32 0>, <24>]>, 'globalRect': <[<uint32 1>, <0>, <0>, <1570>, <24>]>, 'x': <[<uint32 0>, <0>]>, 'y': <[<uint32 0>, <0>]>, 'width': <[<uint32 0>, <1570>]>, 'height': <[<uint32 0>, <24>]>, 'entries': <[<uint32 0>, <uint64 7>]>, 'opacity': <[<uint32 0>, <0.0>]>, 'mouse_inside': <[<uint32 0>, <false>]>, 'grabbed': <[<uint32 0>, <false>]>, 'active_win_maximized': <[<uint32 0>, <false>]>, 'active_win_is_desktop': <[<uint32 0>, <false>]>, 'panel_title': <[<uint32 0>, <'Terminal'>]>, 'desktop_active': <[<uint32 0>, <false>]>, 'monitor': <[<uint32 0>, <0>]>, 'active_window': <[<uint32 0>, <uint64 67109000>]>, 'draw_menus': <[<uint32 0>, <false>]>, 'draw_window_buttons': <[<uint32 0>, <false>]>, 'controls_active_window': <[<uint32 0>, <true>]>, 'fadein_duration': <[<uint32 0>, <uint32 100>]>, 'fadeout_duration': <[<uint32 0>, <uint32 120>]>, 'discovery_duration': <[<uint32 0>, <uint32 2>]>, 'discovery_fadein_duration': <[<uint32 0>, <uint32 200>]>, 'discovery_fadeout_duration': <[<uint32 0>, <uint32 300>]>, 'has_menus': <[<uint32 0>, <true>]>, 'title_geo': <[<uint32 1>, <6>, <3>, <62>, <17>]>, 'Children': <[<uint32 0>, <['WindowButtons', 'GrabArea', 'IndicatorEntryDropdownView', 'IndicatorEntry', 'IndicatorEntry', 'IndicatorEntry', 'IndicatorEntry', 'IndicatorEntry', 'IndicatorEntry']>]>}>)],)

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in unity (Ubuntu):
status: New → Confirmed
Changed in unity (Ubuntu):
assignee: nobody → Marco Trevisan (Treviño) (3v1n0)
Revision history for this message
Nguyễn Văn Ánh (anhsk-ohbo) wrote :

Same error

Changed in unity:
assignee: nobody → Marco Trevisan (Treviño) (3v1n0)
milestone: none → 7.2.0
Revision history for this message
Jesus (jes0411) wrote :

I have same bug too.

Changed in unity:
importance: Undecided → High
Changed in unity (Ubuntu):
importance: Undecided → High
Changed in unity:
status: New → Triaged
Changed in unity:
status: Triaged → In Progress
Changed in unity (Ubuntu):
status: Confirmed → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package unity - 7.1.2+14.04.20140312-0ubuntu1

---------------
unity (7.1.2+14.04.20140312-0ubuntu1) trusty; urgency=low

  [ Brandon Schaefer ]
  * When the monitors change, go through and update all the launcher
    widths for all launchers. (LP: #1291034)

  [ Marco Trevisan (Treviño) ]
  * UnityScreen: show the shortcut hint on first run (LP: #1283619)
  * UnityScreen: use switcher's LayoutSystem to compute the scaled
    windows geometries Thanks to this, both the Alt+Tab and Spread will
    use the same codepath to define the positioning of the scaled
    windows. (LP: #925454)
  * Decorations and Menus: a bunch of various fixes... (LP: #1283156)

  [ CI bot ]
  * fixes the segfault occuring when the scale factor is < 1.0 (LP:
    #1288166)

  [ William Hua ]
  * Unity shell plugin conflicts with gnomecompat. (LP: #1284532)

  [ Chris Townsend ]
  * Remove the test_icon_shows_on_quick_application_reopen Autopilot
    test and make it into a unit test since Autopilot has difficult time
    dealing with this test as the test fails occasionally. (LP:
    #1073990)
  * Add option to allow users to restore the scroll-over-inactive-
    Launcher-icon-to-focus-window behavior. (LP: #1288957)
  * Fix the inconsistent z ordering of windows when using the mouse to
    scroll the Launcher icon of the active application. (LP: #1286784)

  [ Luke Yelavich ]
  * Present a textual description of the state of applications to screen
    reader users when navigating the launcher. (LP: #1266298)
 -- Ubuntu daily release <email address hidden> Wed, 12 Mar 2014 23:46:36 +0000

Changed in unity (Ubuntu):
status: In Progress → Fix Released
Changed in unity:
status: In Progress → Fix Committed
Revision history for this message
Stephen M. Webb (bregma) wrote :

Fix Released in Unity Unity 7.2.0.

Changed in unity:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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