Bug 1771841
| Summary: | High CPU usage and text cursor flickering when password field is focused in firefox 68 | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Yuki Okada <yuokada> | ||||
| Component: | gnome-shell | Assignee: | Florian Müllner <fmuellner> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Desktop QE <desktop-qa-list> | ||||
| Severity: | high | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 7.7 | CC: | akapse, ayadav, batupx, bpfoster, bwaldo, fmuellner, glenn.t.mays, jadahl, jwright, mboisver, mcatanza, rick, samantha.pitcher, stransky, tpelka, yuping.zuo+k4lb4l | ||||
| Target Milestone: | rc | ||||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | gnome-shell-3.28.3-26.el7 | Doc Type: | If docs needed, set a value | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2020-09-29 20:21:50 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: | |||||||
| Attachments: |
|
||||||
|
Description
Yuki Okada
2019-11-13 06:34:29 UTC
Similar issues are reported as follows. 1567425 - Focused password field has high CPU usage and delayed input on Ubuntu 18.04.1 LTS https://bugzilla.mozilla.org/show_bug.cgi?id=1567425 Ubuntu 18.04's ibus package breaks password fields in Firefox (by lowering & raising window whenever they're focused) · Issue #2002 · ibus/ibus https://github.com/ibus/ibus/issues/2002 According to the above reports, the fix is already included in gnome-shell. keyboard: Do not call KeyboardManager.holdKeyboard() with set-content-type (!140) · Merge Requests · GNOME / gnome-shell · GitLab https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/140 Backporting the fix to RHEL7 might solve this issue. This was easily replicated on a fresh install of RHEL7.7 and had nothing to do with any of the language settings. Full issue documented in CASE 02538274. Applying the gnome-shell patch that is listed helped on some cases but did not resolve it 100%. Removing ibus application or setting the GTK_IM_MODULE variable to 'gtk-im-context-simple' resolved the issue more completely. But for some, the loss of ibus could be a deal breaker. Also, downgrading firefox to firefox-60.8.0-1.el7_6.x86_64.rpm will also fix the issue. Is this issue still reproducible with 68 firerox. (In reply to Tomas Pelka from comment #4) > Is this issue still reproducible with 68 firerox. I meant recent firefox. @tomas, I believe we tested with a newer version at one point, maybe v70, but I don't see the details in the case note so not 100% sure. v68 is the latest available with RHEL7 however. The case above pretty much tracks the exact problem down to ibus and the upstream ubuntu patch that fixes this problem. RHEL accepted that patch in RHEL8 so this is only a bug in RHEL7. I'm not really sure why downgrading firefox fixes it, some sort of communication change between ibus, gnome, and firefox. I see thanks Brett. Martin do you know of patches that Brett mentioned? If this works in RHEL8 we have the last chance to push this to RHEL7. It looks like Ubuntu patched gnome-shell 3.28.3 to fix this issue. I'll admit this was a while ago and can't remember exactly where I found all the code,but you have much better knowledge and access than I. I think I applied this patch to get it to work. http://launchpadlibrarian.net/400320088/gnome-shell_3.28.3-0ubuntu0.18.04.3_3.28.3-0ubuntu0.18.04.4.diff.gz also, you can't compile gnome-shell in RHEL7 easily which is documented in other bugs but caused me much grief. Presumably you have an environment that can do it. Tomas, I don't know and I'm not gnome-shell maintainer, moving back to default one. As for Firefox we ship identical packages on all RHEL and we update Firefox every 4 weeks so we're not restricted any release dates. The patch from http://launchpadlibrarian.net/400320088/gnome-shell_3.28.3-0ubuntu0.18.04.3_3.28.3-0ubuntu0.18.04.4.diff.gz worked to resolve this same problem for me. I'll attach the actual gnome-shell patch from inside the debian patch to this bug report. Created attachment 1689095 [details]
ibus patch from Ubuntu link
I can confirm that the attached patch (which is for gnome-shell, not ibus), resolves this issue for me as well on CentOS 7.8. (In reply to Ben Foster from comment #15) > I can confirm that the attached patch (which is for gnome-shell, not ibus), > resolves this issue for me as well on CentOS 7.8. I also tested the fix on my own and found the updated gnome-shell-3.28.3-27.el7 fixed the flicker and hang issue, using the reproducer in the description. Is gnome-shell-3.28.3-27.el7 RPM available from RH or CentOS repos? I looked for the gnome-shell-3.28.3-27.el7 RPM on both RH and CentOS repos and was not able to find it. I still have the flicker with following installed: ibus-1.5.17-5.el7.x86_64 firefox-68.10.0-1.el7_8.x86_64 gnome-shell-3.28.3-24.el7.x86_64 (In reply to glenn.t.mays from comment #18) > I looked for the gnome-shell-3.28.3-27.el7 RPM on both RH and CentOS repos > and was not able to find it. I still have the flicker with following > installed: > > ibus-1.5.17-5.el7.x86_64 > firefox-68.10.0-1.el7_8.x86_64 > gnome-shell-3.28.3-24.el7.x86_64 The bug was fixed in a newer version of gnome shell than what you have installed: gnome-shell-3.28.3-26.el7. Thanks for the repy. I spent the past few hours searching through the RHEL repository for gnome-shell-3.28.3-26.el7 and gnome-shell-3.28.3-27.el7 with no luck. Could be I am not looking in the repository. Can you tell me which on has that patch? (In reply to glenn.t.mays from comment #20) > Thanks for the repy. > > I spent the past few hours searching through the RHEL repository for > gnome-shell-3.28.3-26.el7 and gnome-shell-3.28.3-27.el7 with no luck. Could > be I am not looking in the repository. Can you tell me which on has that > patch? It will be officially available on August 11th, when RHEL 7.9 is GA. The schedule has been pushed back a couple weeks. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (GNOME bug fix and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2020:3987 *** Bug 1806628 has been marked as a duplicate of this bug. *** |