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 1750533

Summary: firefox tab contents are updated with large delay after a tab switch
Product: [Fedora] Fedora Reporter: Zbigniew Jędrzejewski-Szmek <zbyszek>
Component: firefoxAssignee: Martin Stransky <stransky>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 31CC: 0xalen+redhat, anto.trande, dimitris, dueno, gecko-bugs-nobody, jhorak, john.j5live, kengert, lsatenstein, pjasicek, rhughes, rstrode, sandmann, stransky, tadej.j
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: 2019-09-19 12:34:03 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    

Description Zbigniew Jędrzejewski-Szmek 2019-09-09 20:06:10 UTC
Description of problem:
With new firefox (on wayland), after I switch a tab, the "tab bar" at the top indicates that a switched happened (the new tab is highlighted), but contents of switched-from tab are visible for some time. How long seems to depend on the contents. In some cases the whole contents are replaced, but I have seen cases where rectangles are replaced with the new content. After a few seconds only new contents are shown.

This is problematic, because (in the cases where no new content is shown, just the contents of the switched-from tab), it is very easy to be confused, and try to switch tabs further. The partial case, when new contents of the switched-from and swithed-to tabs are mixed, is paradoxically better — it is ugly, but not confusing.

Hardware and software: 
VGA compatible controller: Intel Corporation Skylake GT2 [HD Graphics 520] (rev 07)
firefox-69.0-2.fc31.x86_64
kernel-core-5.3.0-0.rc6.git0.1.fc31.x86_64

This certainly didn't happen with firefox-wayland-67, and the older kernel. Not sure who is the culprit.

Comment 1 Zbigniew Jędrzejewski-Szmek 2019-09-09 20:07:59 UTC
This also happens with kernel-core-5.2.9-200.fc30.x86_64, and didn't before. So the new firefox version seems relevant.
(I'm running on wayland and using firefox-wayland).

Comment 2 Martin Stransky 2019-09-10 09:00:50 UTC
I think it's https://bugzilla.mozilla.org/show_bug.cgi?id=1579794

Comment 3 Martin Stransky 2019-09-10 10:20:09 UTC
Let's backport that to FF69 at Fedora.

Comment 4 Zbigniew Jędrzejewski-Szmek 2019-09-11 11:27:58 UTC
>  https://bugzilla.mozilla.org/show_bug.cgi?id=1579794

Yeah, sounds reasonable. Having video in one of the tabs seems to make this much more likely.
(But it also happens with other tabs...).

Comment 5 Martin Stransky 2019-09-11 12:46:31 UTC
It's https://bugzilla.mozilla.org/show_bug.cgi?id=1580152 and it's actually a different bug. I'll backport it to 69.0-5.

Comment 6 Martin Stransky 2019-09-11 19:26:04 UTC
New builds are here - https://koji.fedoraproject.org/koji/taskinfo?taskID=37604373

Comment 7 Martin Stransky 2019-09-12 05:39:22 UTC
*** Bug 1751238 has been marked as a duplicate of this bug. ***

Comment 8 Martin Stransky 2019-09-12 05:43:11 UTC
*** Bug 1751372 has been marked as a duplicate of this bug. ***

Comment 9 Fedora Update System 2019-09-12 05:46:31 UTC
FEDORA-2019-7666428f3c has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-7666428f3c

Comment 10 Martin Stransky 2019-09-12 06:30:02 UTC
I revoked the update as the fix seems to be only partial.

Comment 11 Zbigniew Jędrzejewski-Szmek 2019-09-13 16:09:01 UTC
(In reply to Martin Stransky from comment #6)
> New builds are here -
> https://koji.fedoraproject.org/koji/taskinfo?taskID=37604373

Yeah, I can confirm that this fixes the issue, but only partially. It's clearly better though.

Comment 12 Martin Stransky 2019-09-16 08:09:43 UTC
The final fix is at https://bugzilla.mozilla.org/show_bug.cgi?id=1580152, I'll back port it to Fedora when it hits mozilla nightly.

Comment 13 Martin Stransky 2019-09-17 11:01:06 UTC
We also need to take https://bugzilla.mozilla.org/show_bug.cgi?id=1581748

Comment 14 Martin Stransky 2019-09-19 12:33:00 UTC
Should be fixed by firefox-69.0.1-1 and later.

Comment 15 Martin Stransky 2019-09-19 12:33:43 UTC
btw. the builds are there - https://koji.fedoraproject.org/koji/buildinfo?buildID=1379884

Comment 16 Martin Stransky 2019-09-19 12:35:28 UTC
I'll submit firefox-69.0.1-2 as an update when it finishes.