1. 21 Apr, 2017 - 1 commit
    • Alexandru Croitor's avatar
      Fix crash on macOS when closing last tab of a window · 0c9e2eae
      Alexandru Croitor authored
      
      Because of weird interaction between deleteLater(),
      Qt::WA_DeleteOnClose, and QQuickRenderControlPrivate::windowDestroyed()
      which executes all the deferred deletions at a bad time, there were
      some use-after-free crashes.
      
      The workaround is not to close the window when the last tab is closed,
      but rather create a new tab, like the behavior was on non-macOS
      platforms.
      
      Task-number: QTBUG-58982
      Change-Id: I00295838c298af382cac78bb22c47d6de60e7755
      Reviewed-by: default avatarMichal Klocek <michal.klocek@qt.io>
      0c9e2eae
  2. 30 Mar, 2017 - 1 commit
  3. 28 Mar, 2017 - 1 commit
  4. 11 Mar, 2017 - 1 commit
  5. 01 Mar, 2017 - 1 commit
  6. 23 Feb, 2017 - 1 commit
    • Alexandru Croitor's avatar
      Add support for macOS Airplay to Demobrowser in presence of dual GPUs · 714bddf9
      Alexandru Croitor authored
      
      Previously when Airplay was activated and a new QWebEngineView instance
      was created, a black area would be rendered inside the view.
      This happened because of incompatible OpenGL contexts. The global Qt
      OpenGL context could not share its textures with the newly created
      "after-airplay" context, due to the contexts being used by different
      GPUs (only possible on a MacBook Pro).
      
      The fix is to add the NSSupportsAutomaticGraphicsSwitching option into
      the application plist file, which informs macOS that the application
      supports usage of dual GPUs, and thus allows sharing of contexts
      across GPUs.
      
      Task-number: QTBUG-54053
      Change-Id: Ic37fb75f164922bcca6456054174171fa9ba2bfb
      Reviewed-by: default avatarLeena Miettinen <riitta-leena.miettinen@qt.io>
      Reviewed-by: default avatarAllan Sandfeld Jensen <allan.jensen@qt.io>
      714bddf9
  7. 22 Feb, 2017 - 1 commit
  8. 20 Jan, 2017 - 1 commit
  9. 05 Jan, 2017 - 1 commit
    • Topi Reinio's avatar
      Add .pro files for example subdirectories · c3ee845d
      Topi Reinio authored
      
      Instead of adding individual example projects into SUBDIRS from the
      top-level examples.pro, add a .pro file for both /examples/webengine
      and /examples/webenginewidgets that handles them.
      
      This way, it's easier to e.g. build all webengine examples from
      binary packages, as the top-level examples.pro is not packaged.
      
      Task-number: QTBUG-57124
      Change-Id: I8cf8ac7b13b86306b31bc43c79e3d8272193b1d3
      Reviewed-by: default avatarAllan Sandfeld Jensen <allan.jensen@qt.io>
      c3ee845d
  10. 14 Nov, 2016 - 1 commit
  11. 02 Nov, 2016 - 1 commit
  12. 01 Nov, 2016 - 1 commit
  13. 29 Oct, 2016 - 1 commit
  14. 17 Oct, 2016 - 1 commit
  15. 07 Oct, 2016 - 1 commit
  16. 04 Oct, 2016 - 2 commits
  17. 23 Sep, 2016 - 1 commit
  18. 31 Aug, 2016 - 1 commit
  19. 28 Aug, 2016 - 1 commit
  20. 23 Aug, 2016 - 1 commit
  21. 02 Aug, 2016 - 1 commit
  22. 22 Jul, 2016 - 1 commit
  23. 13 Jul, 2016 - 1 commit
  24. 02 Jul, 2016 - 1 commit
  25. 20 Jun, 2016 - 2 commits
  26. 10 Jun, 2016 - 1 commit
  27. 07 Jun, 2016 - 1 commit
  28. 03 Jun, 2016 - 1 commit
  29. 24 May, 2016 - 2 commits
  30. 11 May, 2016 - 1 commit
    • Alexandru Croitor's avatar
      [Simplebrowser] Fix command line option parsing. · bdaea370
      Alexandru Croitor authored
      
      Passing just command line options to Chromium prevents loading of the
      initial startup url. This happens because the startup url is
      overridden by the last command line argument, which happens to be a
      Chromium option, thus an invalid URL.
      
      Fix consists in using the last command line argument as the loading url
      only if it can be parsed as valid url.
      
      Change-Id: I3615ef57b6eddc5098de79cba1b1ba6b6af193ef
      Reviewed-by: default avatarAllan Sandfeld Jensen <allan.jensen@qt.io>
      bdaea370
  31. 10 May, 2016 - 1 commit
  32. 09 May, 2016 - 1 commit
  33. 04 May, 2016 - 2 commits
    • Michal Klocek's avatar
      Quick fix for not working history in demobrowser · 5dad8663
      Michal Klocek authored
      
      Current implementation of history manager seems to
      be not straight forward. To display history we use QList to keep
      history items plus model adapter in form of HistoryModel
      (QAbstractTableModel) plus HistoryFilterModel to avoid
      duplication, plus HistoryTreeModel to make a tree view with
      split for dates, plus TreeProxyModel on top to enable
      sorting. This approach unfortunately falls apart when items
      should be deleted from the model by treeView. This ends
      badly with corrupted cached values.
      
      This fix removes history items using history manager.
      It also abandons HistoryTreeModel since frequent sourceReset calls make
      it unusable. If split for dates it desired the better approach
      would be to implement history tree model already at HistoryManager
      level to avoid unmaintainable code.
      
      Task-number: QTBUG-49913
      Task-number: QTBUG-50255
      Change-Id: Ic9cebb52b623bd453119e11b5e907eaa90609e34
      Reviewed-by: default avatarJoerg Bornemann <joerg.bornemann@theqtcompany.com>
      5dad8663
    • Alexandru Croitor's avatar
      [Demobrowser] Fix command line option parsing. · 4c2a17d8
      Alexandru Croitor authored
      
      Passing just command line options to Chromium prevents loading of the
      initial startup url. This happens because the startup url is
      overridden by the last command line argument, which happens to be a
      Chromium option, thus an invalid URL.
      
      Fix consists in iterating through the command line arguments, until
      a non-option argument is found (doesn't start with a dash), and use
      that as the startup URL.
      
      Change-Id: Ibe2946b25b2e023c094a85e50d2ccbd5bfce2977
      Reviewed-by: default avatarKai Koehne <kai.koehne@qt.io>
      Reviewed-by: default avatarAllan Sandfeld Jensen <allan.jensen@theqtcompany.com>
      4c2a17d8
  34. 02 May, 2016 - 1 commit
  35. 21 Apr, 2016 - 2 commits