Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct

    QWebView warning - "QPainter::end: Painter ended with 2 saved states"

    General and Desktop
    1
    1
    1550
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      maximus last edited by

      Hey guys,

      I use a lot of QWebView inside my app, I know they are gonna get deprecated soon for QWebEngine new module, but until 5.4 or 5.5 i'm not gonna switch yet. (testing the RC at the moment and I'm missing a few functions I need like addToJavascript(), cookies management, etc.)

      Currently working fine with QWebView, I only get a few warning I couldn't fix and would like to know if someone know what may cause that :
      "Screenshot here":https://www.dropbox.com/s/o6o7p5bzhiuwwxn/modalPopUpQWebView.png?dl=0
      Basically just a button in a webPage that pop a modal bootstrap dialog, I get 9*times this message when I open the modal "QPainter::end: Painter ended with 2 saved states" and another 9times when I click "close"

      Update :
      I'm thinking it may have to do with QWebView not supporting all css animation, "source":http://stackoverflow.com/questions/21104846/bootstrap-2-modal-animation-delay
      will investigate a little

      Thanks Qt!
      Max


      Free Indoor Cycling Software - https://maximumtrainer.com

      1 Reply Last reply Reply Quote 0
      • First post
        Last post