Bug 1796485

Summary: Context menus are invisible close to window border
Product: [Fedora] Fedora Reporter: Berend De Schouwer <berend.de.schouwer>
Component: firefoxAssignee: Gecko Maintainer <gecko-bugs-nobody>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: 31CC: 0xalen+redhat, alan.ernhart, anto.trande, elxreno, gecko-bugs-nobody, jericb, jhorak, john.j5live, kengert, ks1322, pjasicek, rhughes, rstrode, sandmann, stransky
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-02-07 07:30:18 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:

Description Berend De Schouwer 2020-01-30 14:46:19 UTC
Description of problem:

Context menus are sometimes invisible when they are started close to the bottom of the screen.  Sometimes the menus are visible, but the highlight is missing.


Version-Release number of selected component (if applicable):

72.0.2-1
This wasn't a problem in 72.0.1-1


How reproducible:

Sometimes.  One minute it works, the next it doesn't, without restarting the browser.


Steps to Reproduce:
1. Open a web page
2. Find a link close to the bottom of the screen
3. Right click

Actual results:

One of:
1. context menu invisible
2. context menu visible, choice/highlight invisible
3. context menu visible, choice visible

Note: it's invisible, but it reacts to mouse clicks


Expected results:

Context menu displays normally, all the time.


Workaround:

Scroll the web page, so there's enough space for the context menu to appear, and the menu will appear normally.


Additional info:

Running on Gnome/Wayland

Context menu is invisible, but it does work.  If you click on (nothing) you'll get the required action.

Invisible means no context menu, not even a white rectangle.

Sub-menus are visible if there's enough screen space to display them, even though the context menu is invisible.

Tried and replicated in Adwaita and other themes.

Comment 1 ks1322 2020-02-02 18:27:13 UTC
Almost always reproduces for me when left clicking a link somewhere at the bottom of the screen.
This behavior appeared in 72.0.1-2. In 72.0.1-1 there was no problem.

Comment 2 ks1322 2020-02-04 10:22:38 UTC
I think it is duplicate of Bug 1793854

Comment 3 Martin Stransky 2020-02-07 07:30:18 UTC

*** This bug has been marked as a duplicate of bug 1793854 ***