1. 25 Nov, 2016 - 2 commits
  2. 10 Nov, 2016 - 1 commit
    • Alexandru Croitor's avatar
      Fix select tag interaction when the web view is inside a modal dialog · 58467ed1
      Alexandru Croitor authored
      
      Previously when a QWebEngineView was inside a modal QDialog, trying to
      click on a select tag option did not properly select the option. It
      either focused the new option without closing the popup, or didn't
      focus it at all.
      
      Fix consists in making sure the newly created popup QWindow and
      RenderWidgetHostViewQtDelegateWidget are marked as children of the
      QWebEngineView, so that they are considered part of the current modal
      session by the OS, thus allowing user interaction with them.
      
      Because the ownership of the delegate widget should still be retained
      by its respective RenderWidgetHostViewQt instance, the QObject parent
      of the delegate is unset before the parent is destroyed.
      
      Also to make it work on macOS, the window attribute has to be set
      to Qt::Tool instead of Qt::ToolTip.
      
      Change-Id: I56d6f446254a624428a0c661ac3c49eb409c931e
      Task-number: QTBUG-54836
      Reviewed-by: default avatarQt CI Bot <qt_ci_bot@qt-project.org>
      Reviewed-by: default avatarMichael Brüning <michael.bruning@qt.io>
      58467ed1
  3. 08 Nov, 2016 - 1 commit
  4. 26 Oct, 2016 - 1 commit
  5. 01 Oct, 2016 - 1 commit
  6. 26 Sep, 2016 - 1 commit
  7. 31 Aug, 2016 - 2 commits
    • Michal Klocek's avatar
      Add context menu request to qml api · 3f73e471
      Michal Klocek authored
      
      Introduce qml APIs to support custom context menus.
      
      [ChangeLog][QtWebEngine][QML] Added ability to show custom
      context menu.
      
      Task-number: QTBUG-52554
      Change-Id: Ief0cbbbf221f4c6849e16bbba7417dccee59ad61
      Reviewed-by: default avatarKai Koehne <kai.koehne@qt.io>
      3f73e471
    • Michal Klocek's avatar
      Add dialog requests to qml api · 3cbe59e2
      Michal Klocek authored
      
      Introduce qml APIs to support custom dialogs:
       * http and proxy authentication
       * javascript dialogs
       * file pickers
       * color pickers
       * form validation messages
      
      [ChangeLog][QtWebEngine][QML] Added ability to provide custom dialogs
      for HTTP and proxy authentication, JavaScript alerts, file and color
      picking, and form validation messages.
      
      Task-number: QTBUG-51190
      Change-Id: I559ca59264750feb36ba7d3dba0bf0647509306d
      Reviewed-by: default avatarKai Koehne <kai.koehne@qt.io>
      3cbe59e2
  8. 24 Aug, 2016 - 1 commit
    • Michael Bruning's avatar
      Add widgets API for printing on a QPrinter · af253501
      Michael Bruning authored
      
      Renders the content to a PDF document and then renders this on a
      QPrinter-backed QPainter using the PDFium library.
      
      PDFium bitmap to QImage conversion based on work by Paulo Pinheiro
      <paulvap.os@gmail.com>.
      
      [ChangeLog][QtWebEngineWidgets][Printing] Enables printing QWebPage
      content on a QPrinter. Currently does not support previewing the
      document. Widgets only for the moment.
      
      Change-Id: I9a5264433093379aee90f5e4f69bf2aee8814f2b
      Reviewed-by: default avatarAllan Sandfeld Jensen <allan.jensen@qt.io>
      af253501
  9. 23 Aug, 2016 - 1 commit
  10. 02 Aug, 2016 - 1 commit
  11. 14 Jul, 2016 - 1 commit
  12. 08 Jul, 2016 - 1 commit
    • Joerg Bornemann's avatar
      Allow QWebEnginePage::createWindow to return this · 38550156
      Joerg Bornemann authored
      Consider a QWebEnginePage subclass that does "return this;" in
      createWindow. Commit 1f07d292
      
       made this a no-op to prevent QtWebEngine
      from crashing. The reason for the crash was access to deleted memory
      after destroying the current adapter in adoptNewWindow.
        Defer the adoption in this case to whenever we hit the event loop
      again.
      
      Change-Id: I9674d80ef8b2f301c1446ff505b2486649451ba6
      Task-number: QTBUG-42216
      Reviewed-by: default avatarMichal Klocek <michal.klocek@qt.io>
      38550156
  13. 02 Jul, 2016 - 1 commit
  14. 01 Jul, 2016 - 2 commits
  15. 30 Jun, 2016 - 1 commit
  16. 22 Jun, 2016 - 1 commit
    • Allan Sandfeld Jensen's avatar
      Override short-cuts to common editor commands · e0bd650c
      Allan Sandfeld Jensen authored
      
      To ensure Chromium is given a chance to handle editor commands,
      we must override these short-cuts.
      
      On OS X we must also perform the action afterwards as these are not
      handled internally by the Blink Editor.
      
      The patch solves copy/paste in flash plugins and copy/paste on OS X
      when no application short-cuts have been defined. The handling of
      short-cut override events is based on how it was handled in Qt WebKit
      
      Task-number: QTBUG-54221
      Change-Id: I748671c7bfa5662aae16c6a4b9bbe5e2bce1b907
      Reviewed-by: default avatarAlexandru Croitor <alexandru.croitor@theqtcompany.com>
      e0bd650c
  17. 16 Jun, 2016 - 2 commits
    • Joerg Bornemann's avatar
      Introduce QWebEnginePage::save · 3398abfc
      Joerg Bornemann authored
      
      Add the convenience method QWebEnginePage::save for saving pages without
      the need to explicitly handle download requests.
      
      Task-number: QTBUG-51798
      Change-Id: I8910ce8cb7c9370d72f2b209c4d2de07c614f6d6
      Reviewed-by: default avatarAllan Sandfeld Jensen <allan.jensen@qt.io>
      3398abfc
    • Joerg Bornemann's avatar
      Fix access to deleted memory on QWebEnginePage destruction · d5cde6f1
      Joerg Bornemann authored
      
      Suppose QWebEnginePage is destroyed while there's still a combobox popup
      open. We would crash with the following stack trace:
      
      1   QtWebEngineCore::RenderWidgetHostViewQt::dpiScale
      2   QtWebEngineCore::RenderWidgetHostViewQt::GetViewBounds
      3   content::RenderWidgetHostImpl::SendScreenRects
      4   content::RenderWidgetHostImpl::OnRenderViewReady
      ...
      16  base::MessageLoop::DoWork
      17  WebEngineContext::destroy
      18  `anonymous namespace'::destroyContext
      19  qt_call_post_routines
      20  QApplication::~QApplication
      
      RenderWidgetHostViewQt still holds a pointer to WebContentsAdapterClient.
      To fix this, expose the QObject owning the adapter client, and
      hide RenderWidgetHostViewQt when it is destroyed so it won't try to render.
      
      Change-Id: Ide5543197b35038a3e1c7491ceda3f5ad10f6f07
      Reviewed-by: default avatarAllan Sandfeld Jensen <allan.jensen@qt.io>
      d5cde6f1
  18. 09 Jun, 2016 - 1 commit
  19. 26 May, 2016 - 1 commit
    • Alexandru Croitor's avatar
      Disabled WebEngine views should not receive focus. · 4c305cba
      Alexandru Croitor authored
      
      Currently if a QWebEngineView or a QQuickWebEngineView is disabled
      using setEnabled(false), after loading a web page, the views are
      automatically focused, and a user might see a blinking caret in an html
      input for example, even though the user can't interact with it.
      
      Fix consists in not calling the Focus() method whenever a view is
      disabled.
      
      Change-Id: I1014fb5898a5ddf01a4e9b14c3eaf5d4006e5131
      Task-number: QTBUG-53159
      Reviewed-by: default avatarMichal Klocek <michal.klocek@theqtcompany.com>
      4c305cba
  20. 06 May, 2016 - 1 commit
  21. 04 May, 2016 - 1 commit
  22. 28 Apr, 2016 - 1 commit
  23. 27 Apr, 2016 - 1 commit
  24. 19 Apr, 2016 - 1 commit
  25. 18 Apr, 2016 - 1 commit
    • Michal Klocek's avatar
      Update spellchecker APIs · 7d172fcf
      Michal Klocek authored
      
      * marks new properties in QQuickWebEngineProfile as FINAL
      * removes QT_NO_SPELLCHECK from API headers
      * renames spellCheckLanguages() to availableDictionaries()
      * removes "togle spellcheck" methods and actions
      * use WEBENGINE_CONFIG instead of CONFIG for disable the feature at
      compile time: WEBENGINE_CONFIG+=no_spellcheck
      
      Done-With: Peter Varga <pvarga@inf.u-szeged.hu>
      Task-number: QTBUG-52371
      Change-Id: I8c8eff497b9e7afe0cec2edc97dec248151487f2
      Reviewed-by: default avatarMichael Brüning <michael.bruning@theqtcompany.com>
      7d172fcf
  26. 13 Apr, 2016 - 2 commits
  27. 08 Apr, 2016 - 1 commit
  28. 06 Apr, 2016 - 1 commit
  29. 31 Mar, 2016 - 1 commit
  30. 30 Mar, 2016 - 2 commits
  31. 16 Mar, 2016 - 1 commit
  32. 11 Mar, 2016 - 1 commit
  33. 25 Feb, 2016 - 1 commit
  34. 13 Feb, 2016 - 1 commit