-
Notifications
You must be signed in to change notification settings - Fork 794
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
rfc: Using litehtml as the html viewer #1595
Comments
|
Its probably conflicting with your system litehtml. You will have to uninstall it / force the |
This seems to be the case, also the system's litehtml is in its latest version [0.9]. Correct me if I'm wrong but qlitehtml seems to be using quite old version of lite [0.6] which too would have to be fixed, as recent releases made some serious strides in css and layouting capabilities. |
its blocked on litehtml/litehtml#266 atm. |
Thanks, managed to compile it with patches provided to qt-review. Very snappy and lightweight, love it. |
The patches in Qt have been merged. I have updated the qlitehtml dependency to latest |
Probably the best solution would be to have two packages, lite and full with webengine. The reason being that not all docs render properly. |
Very cool! This is something I researched a lot in the past. Unfortunately, too many docsets require JavaScript to render (e.g. all MDN docs). So without regenerating those to not require JS, it'd be impossible to ship this. And given all docsets are coming from Dash, it'd be challenging to also invest in own docsets. |
This is really cool! I'm curious, is there an issue reported at MDN regarding Javascript rendering to see if they may be open to updating their docs to not require Javascript? Maybe a stop-gap testing measure for this could be adding a preference to disable Javascript in the rendering to see what happens? |
Currently zeal uses Qt WebEngine for showing the documentation. While it is great, it is also a huge dependency and effectively makes the app more or less equivalent to an electron app. I think litehtml is a library that can be used instead of Qt WebEngine, which is a lightweight html renderer.
Advantages:
Disadvatages
QString
on my laptop with AMD4700U/16G while it is plugged in + high perf profileSwitching wont be a huge effort. I have a wip branch that can be used to try it out. I have only tested it with Qt documentation. If there are documentations that need javascript to work correctly then probably the switch can't be made.
The text was updated successfully, but these errors were encountered: