-
-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Horrible lag when text boxes are in view on a webpage, only with QtWebEngine backend. #7210
Comments
Can you try with another browser using Qt 5 and QtWebEngine, such as KDE Falkon? |
I went to https://qutebrowser.org/FAQ.html with Falkon and didn't get any abnormal lag. I noticed though that very large amounts of text in text boxes does lag the browser, such as some pages on stackoverflow. So the issues exists on Falkon, but not as badly. Falkon version 22.04.1 |
Which process is it that pegs the CPU - the main qutebrowser process ( I'm confused - you talk about text boxes, but then use the FAQ page to demonstrate? I'm guessing the issue happens on both then? What does |
In htop, "/usr/bin/python3 /usr/bin/qutebrowser" is what's pinning the CPU.
Yea, I don't know what to call them. It happens to both text input boxes (like replying on github) and text displaying boxes (like on the FAQ page).
Graphics Feature Status
Driver Bug Workarounds
Problems Detected
Version Information
The text display boxes on the FAQ page and text input boxes on github no longer lag qutebrowser with qt6-v2 being used. But now the github homepage runs at seconds per frame(basically unusable). I have a bit of explaining to do Linustechtips.com freezes for ~3 seconds after loading a page, then returns to normal. Text input boxes don't lag there. "comment extention" windows in the Status Updates section lag the browser to be unusable. On normal reddit.com, some pages lag the browser really bad. My workaround is to use old.reddit.com. Some HTML5 videos lag the browser, as well as some imbedded content like reddit and twitter imbeds. I've not discovered what qualities of a video make the browser lag. Videos don't play when using qt6-v2. It is worth trying to fix (probably codecs) to test if it causes lag or not? |
I've made a discovery of a workaround. Setting The only pain point where the browser hits seconds per frame is on reddit when you click on a post and don't have it set to open in a new tab. That's not a big deal because you can just open the post in a new tab or use old.reddit.com. I will comment on this issue if I find anymore websites that make the browser unusabley laggy.
|
This helped me quite a lot too. |
Version info:
qutebrowser v2.5.1
Git commit:
Backend: QtWebEngine 5.15.2, based on Chromium 87.0.4280.144
Qt: 5.15.2
Does the bug happen if you start with
--temp-basedir
?:Yes. No change in behavior.
Description
Text boxes in any HTML webpage cause massive lag and one CPU core pegged when using the QtWebEngine backend. That includes this text box on github which makes writing this kinda painful.
How to reproduce
Go to any website with a text box, either displaying text or allowing input of text, and do any action like scrolling or inputting text. The browser will lag badly.
System Info(from Neofetch)
OS: Void Linux x86_64
Host: Latitude D620
Kernel: 5.15.41_1
Uptime: 1 hour, 12 mins
Packages: 868 (xbps-query)
Shell: bash 5.1.16
Resolution: 1440x900
WM: i3
Theme: Breeze [GTK2/3]
Icons: oxygen [GTK2/3]
Terminal: xterm
CPU: Intel Core 2 T7200 (2) @ 2.000GHz
GPU: Intel Mobile 945GM/GMS, 943/940GML Express
Memory: 604MiB / 3231MiB
Other info
This lag with text boxes did not happen on the old installation of Debian 11 on this same hardware. That was using whatever Qutebrowser version comes from the Debian 11 repos.
Please let me know what other details I need to share and I'll share them.
Video demonstration
http://lloydlynx.ddns.net/share/QtWebEngine.webm
http://lloydlynx.ddns.net/share/QtWebKit.webm
Page used: https://qutebrowser.org/FAQ.html
The text was updated successfully, but these errors were encountered: