Bug 72547 - Context menu shows up underneath desktop-shell panel
Summary: Context menu shows up underneath desktop-shell panel
Status: VERIFIED FIXED
Alias: None
Product: Wayland
Classification: Unclassified
Component: weston (show other bugs)
Version: unspecified
Hardware: Other All
: medium minor
Assignee: Wayland bug list
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-09 22:20 UTC by U. Artie Eoff
Modified: 2014-02-11 09:18 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description U. Artie Eoff 2013-12-09 22:20:58 UTC
The desktop-shell panel's context-menu pops up underneath the panel.  Triggered by right-clicking on the desktop-shell panel.  Original sighting by krh... filing to ensure we don't forget to fix it.

wayland (master) heads/master-0-g1521c62
drm (master) libdrm-2.4.50-0-g4c5de72
mesa (master) heads/master-0-g0319ea9
libva (master) heads/master-0-g73a11b3
intel-driver (master) heads/master-0-g9d0bd94
weston (master) heads/master-0-g8d344a0
Comment 1 Kristian Høgsberg 2014-01-01 20:29:29 UTC
commit d55db69c949899eb2a878f970ae1e01bb2c832b8
Author: Kristian Høgsberg <krh@bitplanet.net>
Date:   Wed Jan 1 12:26:14 2014 -0800

    Revert "shell: Change stacking order calculation for popup surfaces"
    
    Popup windows are relative to a plain wl_surface, so that custom surfaces
    can have popups.  This used for the desktop-shell panel for example.  Also,
    popups should be immediately on top of their parent surface, as they
    typically represent an extension of an UI element in the parent surface
    such as a combo box or menu.
    
    This reverts commit da704d97faef87520c5b055e4b5c8d1f6c8fc1be.
    
    Conflicts:
        desktop-shell/shell.c
    
    https://bugs.freedesktop.org/show_bug.cgi?id=72547
Comment 2 Kristian Høgsberg 2014-01-01 20:32:53 UTC
Oops, this one:

commit 97900ac06d9cbc23f82620787800b6513434e337
Author: Kristian Høgsberg <krh@bitplanet.net>
Date:   Wed Jan 1 12:26:14 2014 -0800

    Revert "shell: Change stacking order calculation for popup surfaces"
    
    Popup windows are relative to a plain wl_surface, so that custom surfaces
    can have popups.  This used for the desktop-shell panel for example.  Also,
    popups should be immediately on top of their parent surface, as they
    typically represent an extension of an UI element in the parent surface
    such as a combo box or menu.
    
    This reverts commit da704d97faef87520c5b055e4b5c8d1f6c8fc1be.
    
    Conflicts:
        desktop-shell/shell.c
    
    https://bugs.freedesktop.org/show_bug.cgi?id=72547
Comment 3 Emilio Pozuelo Monfort 2014-02-11 09:18:16 UTC
I've opened bug #74831 for the bug that the reverted commit was trying to fix.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.