From me at the-compiler.org Thu Nov 5 14:50:22 2020 From: me at the-compiler.org (Florian Bruhin) Date: Thu, 5 Nov 2020 14:50:22 +0100 Subject: [qutebrowser] Support for Qt < 5.12 dropped In-Reply-To: <20201026153519.oqx64uubfe4xekgn@aragog.localdomain> References: <20201026153519.oqx64uubfe4xekgn@aragog.localdomain> Message-ID: <20201105135022.wswlkfhscyj34jzr@aragog.localdomain> Heya, Another item on the path to v2.0.0 done: Support for Qt < 5.12 is now dropped in qutebrowser. In other words, code for 2.5 years worth of old Qt versions is now gone. That's *a lot* of code: 115 files changed, 538 insertions(+), 2322 deletions(-) For the curious, here's the diff: https://github.com/qutebrowser/qutebrowser/compare/3bfebc278f010564bb528c3fa078a0fea5fd04ef..1ce5f6ddf0fe5ad837c590795feb2139a5670996 In practice, that means there's much less backwards compatibility and random workarounds to worry about now, with 5.12 - 5.15 being the supported Qt span rather than 5.7 - 5.15. Also, less CI jobs, thus less waiting and less sporadic failures :) The last time such a cleanup happened is with v1.0.0, more than three years ago, where support for Qt 5.2 to 5.6 was dropped: https://github.com/qutebrowser/qutebrowser/commit/852baaa8c30b84b0870b235ff69b2d376ba0613f Judging from crash reports and such, Qt 5.7 and 5.8 saw very little usage. Qt 5.9 (LTS) is perhaps a bit more problematic because it's shipped by Ubuntu 18.04 LTS, but it's unsupported by Qt since May 2020, the usage is relatively low, and Ubuntu 20.04 LTS has been available for a while. The most controversial part perhaps is dropping Qt 5.11, which is used by the current Debian Stable (Buster). However, consider that: - It's based on a Chromium version from 2018 with dozens (if not hundreds) of security fixes missing, some of which for bugs which are known to be exploited in the wild. - It's not covered by Debian security support: https://www.debian.org/releases/buster/amd64/release-notes/ch-information.en.html#browser-security - It's unsupported upstream by Qt since May 2019. - It has compatibility issues with various websites (GitHub, Twitch, Android Developer documentation, YouTube, ...). Since no newer Debian Stable is released yet, it's recommended to install qutebrowser in a virtualenv with a newer version of Qt/PyQt: https://github.com/qutebrowser/qutebrowser/blob/master/doc/install.asciidoc#installing-qutebrowser-with-virtualenv Qt 5.12 is still supported by Qt as an LTS until December 2021 and shipped in e.g. Ubuntu 20.04 LTS - thus, Qt 5.12 will likely stay supported in qutebrowser until at least mid-2022 or so. Florian -- me at 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/ -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: not available URL: From john at lane.uk.net Tue Nov 24 14:08:49 2020 From: john at lane.uk.net (John Lane) Date: Tue, 24 Nov 2020 13:08:49 +0000 Subject: [qutebrowser] Web MIDI support ? Message-ID: <9f5b263f-05f0-f48f-6ba8-344a68aa103f@lane.uk.net> Does anyone know if/how one can get "web midi" working in Qutebrowser (or any browser, for that matter!). I've had a bit of success doing so in Firefox but it doesn't work in my Chrom(ium) or Qutebrowser (where I'd really like it to work). And I am talking about support on Linux here. What I'm talking about here is web midi which allows connected hardware, such as a keyboard, to be used with a web application such as an online piano . I found a test page for web midi . Despite many web sites claiming to just "plug in and play", I've yet to see this "just work" anywhere, even on Windows. In case it's useful, the success in Firefox was due to a plugin named MIDI Input Provider by Manuel Reimer. As well as the plugin there is a "native" app (a Perl script) - see its GitHub page . -------------- next part -------------- An HTML attachment was scrubbed... URL: From me at the-compiler.org Tue Nov 24 15:52:23 2020 From: me at the-compiler.org (Florian Bruhin) Date: Tue, 24 Nov 2020 15:52:23 +0100 Subject: [qutebrowser] Web MIDI support ? In-Reply-To: <9f5b263f-05f0-f48f-6ba8-344a68aa103f@lane.uk.net> References: <9f5b263f-05f0-f48f-6ba8-344a68aa103f@lane.uk.net> Message-ID: <20201124145223.afcnzkreuciggukz@aragog.localdomain> Hey John, On Tue, Nov 24, 2020 at 01:08:49PM +0000, John Lane wrote: > Does anyone know if/how one can get "web midi" working in Qutebrowser > (or any browser, for that matter!). Your https://midi.work/ demo page works for me (at least without any external devices attached) in Chromium just fine, on Linux. It doesn't in qutebrowser because QtWebEngine doesn't seem to support it, I've commented on a related issue here: https://bugreports.qt.io/browse/QTBUG-78128 Florian -- me at 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/ -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: not available URL: From john at lane.uk.net Tue Nov 24 16:04:28 2020 From: john at lane.uk.net (John Lane) Date: Tue, 24 Nov 2020 15:04:28 +0000 Subject: [qutebrowser] Web MIDI support ? In-Reply-To: <20201124145223.afcnzkreuciggukz@aragog.localdomain> References: <9f5b263f-05f0-f48f-6ba8-344a68aa103f@lane.uk.net> <20201124145223.afcnzkreuciggukz@aragog.localdomain> Message-ID: Thanks for the quick response Florian! It looks like it works in Chromium, indeed. It does for me too, but it doesn't work for me with a device attached. It looks like it detects the device but it gets no data. The Firefox example does work, however. Good to hear you've heard of this and that there is an open bug with QtWebEngine. Hopefully it's a simple fix for them. In the meantime, I can use Firefox when I need this functionality. If you ever want a tester for this with actual hardware, let me know! Thanks, John On 24/11/2020 14:52, Florian Bruhin wrote: > Hey John, > > On Tue, Nov 24, 2020 at 01:08:49PM +0000, John Lane wrote: >> Does anyone know if/how one can get "web midi" working in Qutebrowser >> (or any browser, for that matter!). > > Your https://midi.work/ demo page works for me (at least without any > external devices attached) in Chromium just fine, on Linux. > > It doesn't in qutebrowser because QtWebEngine doesn't seem to support > it, I've commented on a related issue here: > https://bugreports.qt.io/browse/QTBUG-78128 > > Florian >