Description of problem: Firefox XWayland, clicking on Lastpass icon displays on only a single display (correct behavior). Firefox Wayland, clicking on Lastpass icon causes the Lastpass "box" to partially display on both displays. Version-Release number of selected component (if applicable): firefox-66.0.1-1.fc30.x86_64 How reproducible: Always Steps to Reproduce: 1. Launch Firefox Wayland 2. double click top bar to make it full screen 3. click on Lastpass icon Actual results: the lastpass box content is split across two displays Expected results: the lastpass box should be on a single display, the display that has firefox on it Additional info: If I skip step 2 and just resize so I can see lastpass icon without going full screen, problem still happens. It's somehow just rendering wrong, i.e. the floating box is rendered to the right of Firefox rather than being bounded by Firefox's right hand edge.
Created attachment 1549166 [details] screenshot 1, Xwayland This works as expected.
Created attachment 1549167 [details] screenshot 2, Wayland This does not work as expected. Lastpass is split between the two monitors, of course the screenshot pretends the two displays are perfectly aligned which they aren't in reality. So the UX here is far worse than the screenshot suggests.
In the wayland case, clicking anywhere in the lastpass box is a no op. I can type a password but clicking on anything in the box (the login button or any of the checkboxes or to any field) does nothing but deselect. So if the password box is selected and I click anywhere in the lastpass box, the password box is deselected and can't be selected again except by keyboard (tab).
Created attachment 1549242 [details] single display screenshot The problem affects single display use case as well; the addon's box is mostly rendered outside of the display.
Yes, I can see that.
I think this is a dup of 1693437. I use layout.css.devPixelsPerPx 1.3 and if I reset it the problem usually doesn't happen. It does happen maybe 1 in 12 attempts.
I can reproduce it even without partial scale.
Hm, this looks like a mutter bug. The window is positioned by Firefox twice but the second gdk_window_move_to_rect() request is ignored. Simple replace gdk_window_move_to_rect() > gtk_window_move() fixes that. Moving to mutter.
Let's wait to mutter-3.32.1 - it should have fixes for gdk_window_move_to_rect().
Can you please retest on latest Fedora 30 with mutter-3.32.1? Thanks.
I'm on mutter-3.32.1-1.fc30.x86_64 and the problem still happens.
Should be fixed in Firefox 69 - https://bugzilla.mozilla.org/show_bug.cgi?id=1562141