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. Window background color problems with 5.10
Forum Updated to NodeBB v4.3 + New Features

Window background color problems with 5.10

Scheduled Pinned Locked Moved Solved General and Desktop
4 Posts 3 Posters 788 Views 3 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.
  • R Offline
    R Offline
    Roest
    wrote on last edited by kshegunov
    #1

    So I have a problem which I don't really know how to tackle as it seems to work on my development machine.

    The windows in question look like this:

    I started development with 5.9 and just recently changed to 5.10.

    Now I'm getting reports that the windows look like this:

    This is all on Windows 10.

    So it's either wrong on my machine and the dark background doesn't get propagated correctly or it's wrong on their machines. The question is, what in the change from 5.9 to 5.10 could cause this and why is it different? What in the windows settings could possibly cause it?

    Edit: image tags aren't working here either
    [They are working, you just need to use an image URL, not an URL to a webpage. ~kshegunov]

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

      Hi,

      What version of 5.10 are you using ? Current is 5.10.1.
      Can you reproduce that with the Beta of 5.11 ?

      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
      • R Roest

        So I have a problem which I don't really know how to tackle as it seems to work on my development machine.

        The windows in question look like this:

        I started development with 5.9 and just recently changed to 5.10.

        Now I'm getting reports that the windows look like this:

        This is all on Windows 10.

        So it's either wrong on my machine and the dark background doesn't get propagated correctly or it's wrong on their machines. The question is, what in the change from 5.9 to 5.10 could cause this and why is it different? What in the windows settings could possibly cause it?

        Edit: image tags aren't working here either
        [They are working, you just need to use an image URL, not an URL to a webpage. ~kshegunov]

        A Offline
        A Offline
        ambershark
        wrote on last edited by
        #3

        @Roest It looks to me like something changed in the QGroupBox and it is not drawing it's background.

        Try yourGroupBox->setAutoFillBackground(true); and see if that helps. This is off by default and maybe something changed in 5.9 to 5.10 that caused the difference in drawing.

        My L-GPL'd C++ Logger github.com/ambershark-mike/sharklog

        1 Reply Last reply
        1
        • R Offline
          R Offline
          Roest
          wrote on last edited by Roest
          #4

          @ambershark said in Window background color problems with 5.10:

          @Roest It looks to me like something changed in the QGroupBox and it is not drawing it's background.

          Try yourGroupBox->setAutoFillBackground(true); and see if that helps. This is off by default and maybe something changed in 5.9 to 5.10 that caused the difference in drawing.

          Well I didn't use groupboxes there but the setAutoFillBackground(true); fixed it for all the tab widgets.

          Thanks.

          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