Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt WebKit
  4. [Solved]: Blurry SVG when scaled in Qt 5.2.1 based browser
Forum Updated to NodeBB v4.3 + New Features

[Solved]: Blurry SVG when scaled in Qt 5.2.1 based browser

Scheduled Pinned Locked Moved Qt WebKit
4 Posts 2 Posters 2.2k Views 1 Watching
  • 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.
  • A Offline
    A Offline
    alharith
    wrote on last edited by
    #1

    Hi,

    we created an HTML5 page that has svg images and on click, svg should be scaled using JavaScript (scale), we also created a qt based web browser, on Chromium and qt 4.8.5 web browser the svg images scale correctly but using the same qt based web browser with qt 5.2.1 the svg images look blurry, as in the below screen shots.

    Just an update on this issue, I filed a bug report and I got a work around that solved my problem just in case someone might have the same issue, The work-around was just disabling (AcceleratedCompositingEnabled) in QWebSettings and now it's showing it as it should, and it was disabled in qt 4.8 by default thats why it was working normally on qt 4.8.5 but as Allan (from QT bug support) said that this issue is related to accelerated layer which doesn't know it needs to update its backing store on resize if its content is SVG (or other scalable).

    "Link to the bug report...":https://bugreports.qt-project.org/browse/QTBUG-38588

    on Chromium

    ![IMG]http://i60.tinypic.com/33aw27a.png/IMG!

    On QT 4.8.5
    ![IMG]http://i57.tinypic.com/9vjok8.png[/IMG](QT 4.8.5)!

    On QT 5.2.1
    ![IMG]http://i60.tinypic.com/2z8nct4.png[/IMG](QT 5.2.1)!

    1 Reply Last reply
    0
    • EddyE Offline
      EddyE Offline
      Eddy
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      Looks like a bug. Could you file a bugreport after searching/checking if this wasn't reported yet?

      "Via this link you will find information how to report and search":http://qt-project.org/wiki/ReportingBugsInQt

      Qt Certified Specialist
      www.edalsolutions.be

      1 Reply Last reply
      0
      • A Offline
        A Offline
        alharith
        wrote on last edited by
        #3

        Hi Eddy
        Thank you so much for your reply, a bug report was created for this matter. Thank you for the support.

        1 Reply Last reply
        0
        • EddyE Offline
          EddyE Offline
          Eddy
          wrote on last edited by
          #4

          Thanks for the bug report.

          Could you post here the bug page as a link? Maybe others would like to vote for it.

          Qt Certified Specialist
          www.edalsolutions.be

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved