[panel] F10 menu initially shown about half screen down

Bug #853766 reported by Michał Sawicz on 2011-09-19
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
unity-2d
High
Łukasz Zemczak
unity-2d (Ubuntu)
Undecided
Unassigned

Bug Description

Steps to reproduce:
1. alt-tab to a Firefox window (only Firefox now due to bug #839628)
2. press F10

Expected result:
The menu is shown near the top panel.

Current result:
The menu is shown about half way down the screen.

Related branches

Michał Sawicz (saviq) wrote :

Subsequent F10 presses while staying in Firefox window or navigating through the menu don't show that behavior.

Changed in unity-2d:
status: New → Confirmed
importance: Undecided → Medium
importance: Medium → High
Changed in unity-2d:
assignee: nobody → Łukasz Zemczak (sil2100)
Łukasz Zemczak (sil2100) wrote :

It seems that it's only the case for Firefox and Thunderbird - but I have noticed a similar bug while working on bug https://bugs.launchpad.net/unity/+bug/839628 - the F10 menu open. The reason for this bug to appear was that the menu bar widget was not visible before the showMenu() call for the first menu entry. For the menu to appear correctly, the AppNameApplet needs to call the updateWidgets() function (with the isOpened parameter set) before showing the actual menu, otherwise it wrongly calculates the menu coordinates. In my F10 fix, I did it by issuing a new setOpened() call before showing the menu (not too pretty, but fast and works). Either the same thing needs to be done for the Firefox and Thunderbird menus, or I should find a better way of fixing it.

Łukasz Zemczak (sil2100) wrote :

Oh, and the menu position during this bug is the same as in this test case:

1. Go to an empty virtual desktop
2. Click on an indicator to pop up the menu
3. Take your mouse of the menu
4. Navigate out of the indicators through the menus using left and right arrows

The menu for applications appears at the same place then.

Michał Sawicz (saviq) on 2011-09-29
Changed in unity-2d:
status: Confirmed → In Progress
Michał Sawicz (saviq) on 2011-09-29
Changed in unity-2d:
milestone: none → 4.12
Changed in unity-2d:
status: In Progress → Fix Committed
Didier Roche (didrocks) on 2011-09-29
Changed in unity-2d:
status: Fix Committed → Fix Released
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package unity-2d - 4.12.0-0ubuntu1

---------------
unity-2d (4.12.0-0ubuntu1) oneiric; urgency=low

  * New upstream release
    - unity-2d-panel assert failure: *** glibc detected *** unity-2d-panel:
      malloc(): smallbin double linked list corrupted: 0x08313b28 ***
      (LP: #845979)
    - unity-2d-panel assert failure: *** glibc detected *** unity-2d-panel:
      corrupted double-linked list: 0x094bc9b0 *** (LP: #852012)
    - unity-2d-panel crashed with SIGSEGV (LP: #843432)
    - Dragging downwards from the menu bar or double clicking on the menu bar
      should un-maximise the window (LP: #661049)
    - [dash] Dash is shown when pressing and releasing quickly super+KEY
      (LP: #801073)
    - [dash] Do search, scroll down using mouse, then maximise window. Layout
      breaks (LP: #817421)
    - F10 doesn't start keyboard navigation to the panel (LP: #839628)
    - [dash] Gridview moves to top when you open or close the "Show X more.."
      dropdown or the Filter pane (LP: #850036)
    - Impossible to navigate between panel menus when the mouse cursor is over
      the panel (LP: #834065)
    - [panel] F10 menu initially shown about half screen down (LP: #853766)
    - [dash] Filter pane doesn't clear its background when switching lenses
      (LP: #858590)
    - [shortcuts] <Super><Shift># should launch a new instance of #
      application (LP: #768006)
    - unity-2d-spread missing background images when path includes Unicode
      (LP: #855508)
 -- Didier Roche <email address hidden> Thu, 29 Sep 2011 16:58:34 +0200

Changed in unity-2d (Ubuntu):
status: New → Fix Released
Changed in unity-2d:
status: Fix Released → Fix Committed
Gerry Boland (gerboland) on 2011-11-14
Changed in unity-2d:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers