Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Problem when painting complex polygon (Polyygon, Ellipse or Rounded rect) in widget with WA_PaintOnScreen set to true
Forum Updated to NodeBB v4.3 + New Features

Problem when painting complex polygon (Polyygon, Ellipse or Rounded rect) in widget with WA_PaintOnScreen set to true

Scheduled Pinned Locked Moved General and Desktop
2 Posts 1 Posters 1.1k 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.
  • marievinM Offline
    marievinM Offline
    marievin
    wrote on last edited by
    #1

    Hello,

    I reproduce my problem on the Basic Drawing Sample where I just set the flag WA_PaintOnScreen to true for the RenderArea widget.

    When I run the program throught an X Server, the widget is not properly repainted when another window is moved over it in the following conditions:

    Deactivate Antialiasing
    Select a complex polygon (for instance polygon)
    Select a solid brush
    Move a window over the RenderArea widget
    

    You can see on the screenshot that the polygon is not properly painted

    !http://www.hostingpics.net/viewer.php?id=877624bug.png(The bug)!

    Note: QT_GRAPHICSSYSTEM is set to native

    Any idea ?

    Thank in advance,
    Vincent

    1 Reply Last reply
    0
    • marievinM Offline
      marievinM Offline
      marievin
      wrote on last edited by
      #2

      "The bug screen shot":http://www.hostingpics.net/viewer.php?id=877624bug.png

      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