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. Horrible UI rendering errors when a QCustomPlot is docked to the main window
Forum Updated to NodeBB v4.3 + New Features

Horrible UI rendering errors when a QCustomPlot is docked to the main window

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 284 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.
  • T Offline
    T Offline
    tysonj
    wrote on 23 Oct 2018, 22:15 last edited by tysonj
    #1

    If I dock a QCustomPlot to my main window, I experience terrible rendering errors: toolbars buttons randomly not rendering, until I move the mouse over them. Tabs of the docked widgets not rendering. Really bad flickering of my QOpenGLWidget whenever the QCustomPlot renders.

    On Windows, the problem is solved by

    QApplication::setAttribute(Qt::AA_NativeWindows);
    

    This does not solve the issue on Mac, however.

    If the QDockWidgets are free floating, or closed, there are no problems.

    Anyone have any ideas?

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 24 Oct 2018, 06:03 last edited by
      #2

      Hi,

      What version of Qt are you using ?
      What version of Windows and macOS are you running ?
      Did you took that question to the QCustomPlot developers ?
      Do you have the same problem if you don't have a QOpenGLWidget in your application ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      1

      1/2

      23 Oct 2018, 22:15

      • Login

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