I need to sleep now, but your concerns have been heard and I will do my best to fix the widget issues mentioned above. I’m interested to hear additional opinions on this and perhaps Damien and Henrik can tell you why they decided to move towards webviews.
This is what Damien had to say in 2021:
Qt’s Chromium port seems to choke on every second video driver on Windows, and they recently dropped LTS releases for open source users, and don’t have a new release with WebEngine support planned until something like September. The LTS changes were likely motivated by money issues, and it makes me worry about their long term viability.
While we likely won’t be able to move away from Qt any time soon, there may come a day that we need/want to, and if at that point the bulk of the UI code is implemented in TS/HTML, we’ll have options like switching to Electron or a native webview.
Aside from Qt’s future, I think in the long term it will just make things easier as well - driving the UI with Python and having to send asynchronous messages back and forth to the various webviews is needlessly complicated.
Source: Preview Button in Editor instead of Browser by hgiesel · Pull Request #914 · ankitects/anki · GitHub