Skip to content

QtWebEngine Wishlist

Michał edited this page Jul 10, 2015 · 7 revisions

List of useful features missing from QtWebEngine as of Qt 5.4 from point of view of web browser

Roughly ordered from must have to would be nice to have.

Most of this stuff was already available in QtWebKit in one way or another.

Some items are partially overlapping, like full control over network requests and API to set User Agent.

  1. QNetworkCookieJar support per QWebEnginePage (to replace need for full QNetworkAccessManager integration);
  2. ability to intercept and modify network requests (set and unset headers, modify target) per QWebEnginePage, required by content blocking, detailed page loading statistics, as substitute for ability to set User Agent etc.;
  3. dedicated API to set User Agent per QWebEnginePage;
  4. QAbstractNetworkCache support per QWebEnginePage (to replace need for full QNetworkAccessManager integration) or equivalent (simply setting storage paths might be not enough);
  5. more privileged QWebEnginePage::runJavaScript(), allowing to modify history without restrictions (to allow to restore session) or sane equivalent of >> operator of QWebHistory plus QWebHistoryItem::setUserData(), also it would be nice to get signal emitted when current index is changed / history is modified;
  6. ability to set proxy per QWebEnginePage;
  7. user style sheets per QWebEnginePage;
  8. sane API for spell checking;
  9. web inspector support;
  10. QWebEngineSettings::WebAttribute attribute for enabling private mode;
  11. equivalent of QWebPage::acceptNavigationRequest() (it would be nice to have pointer to POST data or something like that, to avoid need for ugly workarounds);
  12. QWebEnginePage::WebAction to copy image or ability to execute canvas.toDataURL() without errors;
  13. equivalent of QWebPage::StopScheduledPageRefresh, maybe with proper API to get and set value;
  14. sane way to handle mouse events;
  15. support for fullscreen requests;
  16. more flags for QWebEnginePage::FindFlags;
  17. custom error pages;
  18. equivalent of QWebSettings::setMaximumPagesInCache() per QWebEnginePage;
  19. API to get scrollbar geometry;
  20. equivalent of QWebPage::swallowContextMenuEvent() (QPoint as parameter should be enough);
  21. equivalent of QWebPage::undoStack();
  22. equivalent of Qt WebKit bridge;
  23. equivalent of qWebKitVersion();
  24. equivalent of QWebPage::printRequested().