Bug 1401274

Summary: [Wayland] Menus have no borders and shadows
Product: [Fedora] Fedora Reporter: Christian Stadelmann <fedora>
Component: qt5-qtbaseAssignee: Than Ngo <than>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 25CC: fedora, jgrulich, jreznik, rdieter, than
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-07-26 19:48:54 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1298494    

Description Christian Stadelmann 2016-12-04 09:04:34 UTC
Version-Release number of selected component (if applicable):
qt5-qtbase-5.7.0-3.fc25.x86_64
qgnomeplatform-0.2-10.20161024git.fc25.x86_64
gnome-shell-3.22.2-2.fc25.x86_64
mutter-3.22.2-1.fc25.x86_64

How reproducible:
always with the specified setup

Steps to Reproduce:
1. In GNOME wayland session or inside weston,
2. start any Qt5 application with `QT_QPA_PLATFORM=wayland-egl`
3. use the application, especially menus (from both menu bar and context menu)

Actual results:
Menus have no borders and shadows

Expected results:
Menus should have borders and shadows as they do when running under XWayland, i.e. without `QT_QPA_PLATFORM=wayland-egl`.

Additional info:
In both weston and gnome-shell I can see the same behavior so I guess this is a bug in Qt5, but I might be wrong on that.

Comment 1 Than Ngo 2017-07-26 08:42:37 UTC
can you reproduce this issue with the latest qt5-qtbase-5.7.1-19 ?

Comment 2 Christian Stadelmann 2017-07-26 19:48:54 UTC
(In reply to Ngo Than from comment #1)
> can you reproduce this issue with the latest qt5-qtbase-5.7.1-19 ?

With that release of Qt5, menus still have no shadows, but they have borders, which is enough to distinguish them from the background. This is fine for me.