Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 1693437

Summary: [Scale 125%] Firefox Wayland is rendering windows at the wrong position
Product: [Fedora] Fedora Reporter: taaem
Component: firefoxAssignee: Martin Stransky <stransky>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 30CC: 0xalen+redhat, anto.trande, felix, gecko-bugs-nobody, jan.public, jhorak, john.j5live, kengert, pjasicek, rhughes, rstrode, sandmann, stransky
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-06-24 17:44:01 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: 1054334    
Attachments:
Description Flags
Menu displacement none

Description taaem 2019-03-27 20:10:27 UTC
Created attachment 1548701 [details]
Menu displacement

Description of problem:
Firefox on Wayland is rendering context/pop up menus at the wrong position if the scale is set to something different then 1x.

I think Firefox is not correctly getting its size and thinks its only 1/4 as big as it is, because as long as you open a context menu in the top left quadrant everything is normal, but if you're opening one outside of that bound the menu gets rendered in that top left quadrant and it behaves like the screen is only that size.


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

How reproducible:
Always

Steps to Reproduce:
1. Set scaling factor to something else then 1x
2. Open Firefox
3. Right click anywhere or open the menu

Actual results:
Menus are placed incorrectly and context menus are sometimes unclickable.

Expected results:
All menus should open at the correct position

Additional info:
I'm using a 125% scaling factor but it also happened when setting to 2x.

Comment 1 Martin Stransky 2019-04-01 07:40:01 UTC
Yes, I can see that.

Comment 2 taaem 2019-06-24 17:44:01 UTC
Fixed by the most recent Gtk update (3.24.9) in Fedora 30.