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. Black QMdiArea and QToolTip after upgrade 5.1 -> 5.2
Forum Updated to NodeBB v4.3 + New Features

Black QMdiArea and QToolTip after upgrade 5.1 -> 5.2

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

    Hi,

    After the recent update from 5.1 to 5.2 my application started to use black color as a default for QMdiArea background. I use Fusion theme under Linux.

    I know this is a default color and not set by me, cause I even checked it under "designer mode" of QtCreator and I placed brand new QMdiArea in the window and it has black background by default.

    I also noticed that tooltips of all widgets went black (white text on black background), which also wasn't like that in 5.1 (it was black text on yellow-ish background).

    While I handled QMdiArea (just set the background color manually), tooltips are just too much. Why would those colors (both QMdiArea and QToolTip) be changed for anyway?! They were just fine before.

    I would really like to avoid setting manual style sheets for that, cause I always assumed that Qt team knows better what colors are a good fit for each theme. In this case I think it's some kind of a bug and I wonder how can I fix it?

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      That sounds strange indeed. I can think of two cases here:

      Maybe your OS theme uses these colors ?

      A regression

      You can check the "bug report system":http://bugreports.qt-project.org to see if something similar has been reported

      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
      0
      • G Offline
        G Offline
        googie
        wrote on last edited by
        #3

        Thanks for suggestions. I tried to compile and link the very same sourcecode into Qt 5.1 and then to 5.2 and the result is obvious - the 5.2 version causes tooltips to be black. Nothing else was changed, so it must be Qt version, right?

        I think the only thing I can do is to report a bug and hope it gets fixed. Or do you have any other ideas I might try?

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Then probably yes, the next step is to create a simple compilable test application that shows the behavior difference (also to ensure that you didn't set something special somewhere in your application code that could trigger the bug and forgot about it)

          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
          0

          • Login

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