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. part of Application is not rendered when using Environment Variable QT_XCB_NATIVE_PAINTING with QT 5.11.1

part of Application is not rendered when using Environment Variable QT_XCB_NATIVE_PAINTING with QT 5.11.1

Scheduled Pinned Locked Moved Unsolved General and Desktop
renderingqtxcbnativep
3 Posts 3 Posters 805 Views
  • 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 Offline
    M Offline
    Md Asad Rub
    wrote on 22 Aug 2018, 10:50 last edited by
    #1

    Hello guys,
    I am using QT 5.11.1 and written a wrapper for GUI part of my application in QT.
    All the Functionalities like Pan, zoom In, zoom out etc works fine albeit a little slow.
    I have heard that In QT 5.11.1 native rendering can be enabled by Environment variable
    QT_XCB_NATIVE_PAINTING. So when i use this environment all the Functionalities like Pan, zoom In, zoom out etc becomes fast, but some portion of the application is not rendered.
    0_1534934470937_app.PNG
    I have attached screenshot of my application in which the area in black is not rendered.!
    Thanks in advance.

    1 Reply Last reply
    0
    • J Offline
      J Offline
      jroemmler
      wrote on 12 Oct 2018, 13:45 last edited by
      #2

      I think this is a bug in QPainter::drawPixmap that places the offscreen QPixmap onto the wrong location. The black area is pretty much the same height as the sum of the height of the menubar + toolbar. I assume a problem in

      src/plugins/platforms/xcb/nativepainting/qpixmap_x11.cpp
      
      1 Reply Last reply
      0
      • M Offline
        M Offline
        mrjj
        Lifetime Qt Champion
        wrote on 12 Oct 2018, 13:49 last edited by
        #3

        Hi
        Seems already reported
        https://bugreports.qt.io/browse/QTBUG-70387

        1 Reply Last reply
        1

        • Login

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