Skip to content
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

Use WebView (webkit) instead of QTextBrowser for article display #84

Open
cip opened this issue Mar 11, 2012 · 0 comments
Open

Use WebView (webkit) instead of QTextBrowser for article display #84

cip opened this issue Mar 11, 2012 · 0 comments

Comments

@cip
Copy link
Owner

cip commented Mar 11, 2012

Potential benefit:

  1. Better kinetic scrolling
  2. Nicer layout. (With css).
    Not sure whether really not possible with qtextbrowser.loadresource, but with webview its easier to load
    css than not loading it. (Due to image support)
  3. Should finally be portable to meego
    (See Article pages issues on harmattan #71)

Potential drawback:

  1. Performance worse
    I.p. if lots of images in articles.
    Also scrolling jerky after load due to images.
    May make sense to consider a similar resize approach as used in qtextbrowser implementation.
  2. Scroll to anchor not working out of the box (and is not easy to add).
    Perhaps possible using javascript

Other??

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant