[Wayland] Permission popups can't be opened after while
Categories
(Core :: Widget: Gtk, defect, P2)
Tracking
()
People
(Reporter: stransky, Assigned: stransky)
References
(Blocks 1 open bug)
Details
Attachments
(2 files)
Go to https://mozilla.github.io/webrtc-landing/gum_test.html
Try to repeatedly open/close site permissions popups. After while popups can't be opened.
Assignee | ||
Comment 1•4 years ago
|
||
Also URL bar indicates that the popups are opened but they are not visible.
Comment 2•4 years ago
|
||
I also see this happens when:
- Get a permissions popup.
- Give focus to another application.
- The popup can no longer shows up.
Switching to another tab and back fixes it.
I think it's the same issue, right?
Assignee | ||
Comment 3•4 years ago
|
||
Yes, looks like a similar one.
For me this happens 100% after Firefox first propose to save some password. This is often a case with Zoom meetings: I enter password to access it, get save panel, get this bug when 'Join with computer audio' after.
Assignee | ||
Comment 5•4 years ago
|
||
Does it hell if you try latest nightly, go to about:config, add widget.use-move-to-rect bool key and set it to false and restart browser?
I tried your suggestion with latest nightly and sadly it didn't help here. I can confirm the description by ettavolt triggers it every time (save password prompt + permissions pop up = permissions pop up disappears). This is on sway version 1.6.1.
Assignee | ||
Comment 7•4 years ago
|
||
Which compositor do you use? I'm unable to reproduce with mutter-40.5 / Fedora 34.
Assignee | ||
Comment 9•4 years ago
|
||
I see. Can you please test with nested mutter?
https://fedoraproject.org/wiki/How_to_debug_Firefox_problems?rd=Bug_info_Firefox#Testing_different_Wayland_compositor
Thanks.
Comment 10•4 years ago
|
||
I've added simple form to trigger 'Remember password' popup. This is enough for 96.0a1 (2021-11-08) (64-bit)
to break when talking to mutter 40.5-1
irrespectively of widget.use-move-to-rect: false
added.
The process is as follows:
- Enter random chars into Username and Password fields
- Click Submit
- Save or Don't the password
- Click Screen Capture
Comment 11•4 years ago
|
||
One more note: I have mutter's scale-monitor-framebuffer and autoclose-xwayland experiments enabled, but ATM scaling is 100% and there are apps talking to XWayland.
Assignee | ||
Comment 12•4 years ago
|
||
Can reproduce, Thanks for the testcase.
Assignee | ||
Comment 13•4 years ago
|
||
Well, yes. We handle persistent popups differently and non-persistent on Wayland and it looks like gecko changes window type on fly which confuses our WPME (Wayland popup management engine :))
Assignee | ||
Comment 14•4 years ago
|
||
Hm, looks like we need to re-map the popup when popup type changes.
Assignee | ||
Comment 15•4 years ago
|
||
Popup permanent state can be changed during popup lifetime and we need to reconfigure it in such case.
Comment 16•4 years ago
|
||
Comment 17•4 years ago
|
||
bugherder |
Updated•4 years ago
|
Comment 18•4 years ago
|
||
I was able to reproduce the issue on Firefox 93.0a1 (2021-09-03) under Ubuntu 20.04 using the testcase provided in Comment 10.
The issue is fixed on Firefox 96.0b4 and Firefox 97.0a1 (2021-12-14) under the same system.
Description
•