Re: [qutebrowser] bug:youtube
Hey, (Note to people on the ML: The later mails I'm quoting were sent to me directly, not to the ML) On Wed, Apr 29, 2020 at 10:32:44AM +0700, Ahiung Lim wrote: > Backend: QtWebEngine (Chromium 56.0.2924.122) > Qt: 5.9.5 Qt 5.9 is quite old, and it looks like the underlying Chromium (from January 2017) is too old for YouTube to work correctly. There are various ways to get a newer Qt: - Use a virtualenv install with a Qt binary: https://github.com/qutebrowser/qutebrowser/blob/master/doc/install.asciidoc#tox Probably the easiest way if you don't care about proprietary video codecs. - Wait for the next Zorin OS release based on Ubuntu 20.04. I had a quick look at their blog: * Ubuntu 16.04 was released in April 2016 Zorin OS 12 based on it: September 2016 * Ubuntu 18.04 was released in April 2018 Zorin OS 15 based on it: June 2019 (!) So this probably will take some time... - Build Qt/QtWebEngine yourself. This is quite a pain and you're mostly on your own. FWIW I intend to drop support for Qt < 5.11 with qutebrowser v2.0.0: https://github.com/qutebrowser/qutebrowser/issues/3839 > and this is my configdiff looks like: > content.headers.user_agent = Linux x86_64 > [...] > > I suspect the useragent thing Yeah. That's not really a valid user agent string, and will probably break various websites. Don't do that :) On Wed, Apr 29, 2020 at 11:50:38AM +0700, Ahiung Lim wrote: > one more thing, I just tried to input the user agent to be exact as the > --temp-basedir one FWIW you can probably do :config-unset content.headers.user_agent > now the youtube can load comments, but the problem still persists with the > notification and profile, when clicked it just show rectangle with spinning > loading thing. same thing happened in temp-basedir also, which i didn't tried > before. That one is definitely caused by the old Qt, it works with Qt 5.12 but I can reproduce the issue with older Qt versions. On Wed, Apr 29, 2020 at 11:51:55AM +0700, Ahiung Lim wrote: > the user agent input is "Mozilla/5.0 ({os_info}) > AppleWebKit/{webkit_version} (KHTML, like Gecko) {qt_key}/{qt_version} > {upstream_browser_key}/{upstream_browser_version} Safari/{webkit_version}" > which is basedir default. normally it displayed blank. A blank user agent was the default before qutebrowser v1.9.0. There, the template string format was introduced instead. Florian -- m...@the-compiler.org (Mail/XMPP) | https://www.qutebrowser.org https://bruhin.software/ | https://github.com/sponsors/The-Compiler/ GPG: 916E B0C8 FD55 A072 | https://the-compiler.org/pubkey.asc I love long mails! | https://email.is-not-s.ms/ signature.asc Description: PGP signature
Re: [qutebrowser] bug:youtube
On 4/28/20, Florian Bruhin wrote: > Hey, > > On Tue, Apr 28, 2020 at 09:48:23AM +0700, Ahiung Lim wrote: >> qutebowser version, latest till this date [28/4/2020] >> youtube comment does not show up, loading forever. >> notification cannot be opened also. > > Works fine for me. > > - Does it work when you start qutebrowser with --temp-basedir? > - Can you show your :version info? > - If it works with --temp-basedir, can you show ":open qute://configdiff"? > > Florian > > -- > m...@the-compiler.org (Mail/XMPP) | https://www.qutebrowser.org >https://bruhin.software/ | https://github.com/sponsors/The-Compiler/ >GPG: 916E B0C8 FD55 A072 | https://the-compiler.org/pubkey.asc > I love long mails! | https://email.is-not-s.ms/ > the --temp-basedir did the job just fine. here is my :version qutebrowser v1.11.0 Backend: QtWebEngine (Chromium 56.0.2924.122) Qt: 5.9.5 CPython: 3.6.9 PyQt: 5.10.1 sip: 4.19.7 colorama: no pypeg2: 2.15 jinja2: 2.10 pygments: 2.2.0 yaml: 3.12 cssutils: no attr: 17.4.0 PyQt5.QtWebEngineWidgets: yes PyQt5.QtWebEngine: yes PyQt5.QtWebKitWidgets: no pdf.js: no sqlite: 3.22.0 QtNetwork SSL: OpenSSL 1.1.1 11 Sep 2018 Style: Adwaita::Style Platform plugin: xcb Platform: Linux-5.3.0-46-generic-x86_64-with-Zorin-15-bionic, 64bit Linux distribution: Zorin OS 15.2 (unknown) Frozen: False Imported from /home/tentram/Applications/qutebrowser/qutebrowser Using Python from /usr/bin/python3 Qt library executable path: /usr/lib/x86_64-linux-gnu/qt5/libexec, data path: /usr/share/qt5 OS Version: --- /etc/lsb-release --- DISTRIB_ID=Zorin DISTRIB_RELEASE=15 DISTRIB_CODENAME=bionic DISTRIB_DESCRIPTION="Zorin OS 15.2" --- /etc/os-release --- NAME="Zorin OS" VERSION="15.2" ID=zorin ID_LIKE=ubuntu PRETTY_NAME="Zorin OS 15.2" VERSION_ID="15" PRIVACY_POLICY_URL="https://www.zorinos.com/legal/privacy; VERSION_CODENAME=bionic UBUNTU_CODENAME=bionic Paths: cache: /home/tentram/.cache/qutebrowser config: /home/tentram/.config/qutebrowser data: /home/tentram/.local/share/qutebrowser runtime: /run/user/1000/qutebrowser Autoconfig loaded: yes Config.py: no config.py was loaded Uptime: 20:36:19 and this is my configdiff looks like: content.headers.user_agent = Linux x86_64 content.host_blocking.enabled = true url.default_page = about:blank url.incdec_segments = ["path", "query"] url.searchengines = {"DEFAULT": "https://google.com/search?q={}"} url.start_pages = about:blank I suspect the useragent thing
Re: [qutebrowser] bug:youtube
> notification cannot be opened also. Besides what Florian already said you should test, if you're using a WM like Sway (possibly also something similar, like i3) and none of the notifications work, not just on youtube, it might be that you've disabled the application tray, which is what prevents qutebrowser from showing notifications. For swaybar the option is `tray_output none`, but it should be different if you're not using Sway and/or swaybar. Regards, Erazem Kokot
Re: [qutebrowser] bug:youtube
Hey, On Tue, Apr 28, 2020 at 09:48:23AM +0700, Ahiung Lim wrote: > qutebowser version, latest till this date [28/4/2020] > youtube comment does not show up, loading forever. > notification cannot be opened also. Works fine for me. - Does it work when you start qutebrowser with --temp-basedir? - Can you show your :version info? - If it works with --temp-basedir, can you show ":open qute://configdiff"? Florian -- m...@the-compiler.org (Mail/XMPP) | https://www.qutebrowser.org https://bruhin.software/ | https://github.com/sponsors/The-Compiler/ GPG: 916E B0C8 FD55 A072 | https://the-compiler.org/pubkey.asc I love long mails! | https://email.is-not-s.ms/ signature.asc Description: PGP signature