Results 1 to 1 of 1

Thread: Qt Webkit 2.1 - SVG Issue - Object overlapping

  1. #1
    Join Date
    Dec 2010
    Qt products
    Qt4 Qt/Embedded
    Unix/X11 Symbian S60

    Default Qt Webkit 2.1 - SVG Issue - Object overlapping

    Hi All,
    I have written a sample blackboard implementation (using svg and javascript)
    to be used on Qt Webkit browser. But it does not working properly with Qt 4.7 and Webkit 2.1
    I have tried with Qt 4.6 and Webkit 2.1 but the result is same.

    Here is the url of sample blackboard

    Bug Reproduction steps:

    When you open the sample blackboard, on clicking circle / line / square, you can draw overlap objects on
    one another. But when you try doing the same thing using "Auto Draw Circle" button, the javascript injects
    objects on svg canvas, the circles drawn do not overlap. There seems to be some issue with overlapping of
    objects, or may be transparency of objects.

    The same code works properly with
    1. Qt 4.6 + native webkit.
    2. Qt 4.6 + Webkit 2.0
    3. Qt 4.7 + native webkit (i.e. with Webkit 2.0)

    It does not work with
    1. Qt 4.6 + Webkit 2.1
    2. Qt 4.7 + Webkit 2.1


    Expected output:

    Buggy output:

    Is this a bug in Webkit 2.1 or there is some proplem in my blackboard implementation.

    I am particularly interested in making this work, as Webkit 2.1 (svg) performs better even if you keep on
    drawing / inserting objects. The other versions of webkit becomes slow, and produce jagged edges when you use
    freehand tool.

    Thanks for helping.

    Attached Images Attached Images
    Attached Files Attached Files

Similar Threads

  1. Replies: 4
    Last Post: 23rd September 2010, 16:20
  2. object handling issue
    By prolink007 in forum Qt Programming
    Replies: 1
    Last Post: 12th April 2010, 08:42
  3. Widget Overlapping picture
    By bunjee in forum Qt Programming
    Replies: 2
    Last Post: 24th November 2009, 15:50
  4. Overlapping Widgets and the Application
    By csvivek in forum Qt Programming
    Replies: 1
    Last Post: 2nd May 2008, 17:32
  5. overlapping canvases
    By quickNitin in forum Newbie
    Replies: 11
    Last Post: 8th October 2006, 12:22


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.