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. Stylesheet problem with Qt > 5.12.2
Forum Updated to NodeBB v4.3 + New Features

Stylesheet problem with Qt > 5.12.2

Scheduled Pinned Locked Moved Unsolved General and Desktop
15 Posts 3 Posters 2.0k Views 2 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
    Rumen GB
    wrote on last edited by
    #5

    Sorry I do not have time to make a simpler test. I will file the bug and describe it. will that be ok?

    mrjjM 1 Reply Last reply
    0
    • R Rumen GB

      Sorry I do not have time to make a simpler test. I will file the bug and describe it. will that be ok?

      mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on last edited by
      #6

      @Rumen-GB
      Hi
      While a bug description does help. without a sample to clearly show
      the issue / regression, it might not get much love as in many cases its an
      application bug and not directly Qt issues.

      I can see you use Widget Names as selector.
      Is the issue you experience like it does ignore the
      name and affect another widget even it has other name or what is
      the actual thesis about what is broken between the versions ?

      R Christian EhrlicherC 2 Replies Last reply
      0
      • mrjjM mrjj

        @Rumen-GB
        Hi
        While a bug description does help. without a sample to clearly show
        the issue / regression, it might not get much love as in many cases its an
        application bug and not directly Qt issues.

        I can see you use Widget Names as selector.
        Is the issue you experience like it does ignore the
        name and affect another widget even it has other name or what is
        the actual thesis about what is broken between the versions ?

        R Offline
        R Offline
        Rumen GB
        wrote on last edited by
        #7

        @mrjj the issue is that the stylesheet does not affect the child widgets. It did till qt 5.12.2 and stopped at 5.12.3. It is clearly seen on the screen shots. The frame by default is green. It should change to yellow during the exposure and back to green when done. Both screenshots are during the exposure. Note how buttons and labels keep its green background with 5.13 and are all yellow with 5.12.2. I played a bit and figured that this regression is introduced in 5.12.3

        Rumen

        1 Reply Last reply
        0
        • mrjjM mrjj

          @Rumen-GB
          Hi
          While a bug description does help. without a sample to clearly show
          the issue / regression, it might not get much love as in many cases its an
          application bug and not directly Qt issues.

          I can see you use Widget Names as selector.
          Is the issue you experience like it does ignore the
          name and affect another widget even it has other name or what is
          the actual thesis about what is broken between the versions ?

          Christian EhrlicherC Online
          Christian EhrlicherC Online
          Christian Ehrlicher
          Lifetime Qt Champion
          wrote on last edited by
          #8

          @mrjj said in Stylesheet problem with Qt > 5.12.2:

          it might not get much love as in many cases its an
          application bug and not directly Qt issues.

          That's the reason why I want a small reproducer - to see if it's really a Qt bug or not.

          Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
          Visit the Qt Academy at https://academy.qt.io/catalog

          R 1 Reply Last reply
          0
          • Christian EhrlicherC Christian Ehrlicher

            @mrjj said in Stylesheet problem with Qt > 5.12.2:

            it might not get much love as in many cases its an
            application bug and not directly Qt issues.

            That's the reason why I want a small reproducer - to see if it's really a Qt bug or not.

            R Offline
            R Offline
            Rumen GB
            wrote on last edited by
            #9

            @Christian-Ehrlicher I agree but if this worked before 5.12.3 and now it stopped... I would assume it is a regression :)

            1 Reply Last reply
            0
            • Christian EhrlicherC Online
              Christian EhrlicherC Online
              Christian Ehrlicher
              Lifetime Qt Champion
              wrote on last edited by
              #10

              @Rumen-GB said in Stylesheet problem with Qt > 5.12.2:

              I would assume it is a regression :)

              No matter what you think - if we can not reproduce it with a simple testcase, noone will be able to fix it.

              Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
              Visit the Qt Academy at https://academy.qt.io/catalog

              1 Reply Last reply
              1
              • R Offline
                R Offline
                Rumen GB
                wrote on last edited by
                #11

                Now I can prove it :) I created a test program to illustrate it.
                it is all here:
                https://bugreports.qt.io/browse/QTBUG-79545

                Christian EhrlicherC 1 Reply Last reply
                0
                • R Rumen GB

                  Now I can prove it :) I created a test program to illustrate it.
                  it is all here:
                  https://bugreports.qt.io/browse/QTBUG-79545

                  Christian EhrlicherC Online
                  Christian EhrlicherC Online
                  Christian Ehrlicher
                  Lifetime Qt Champion
                  wrote on last edited by Christian Ehrlicher
                  #12

                  @Rumen-GB: thx, I cleaned it up a little bit and can reproduce it.

                  /edit: and found the solution - is already fixed in 5.12.6

                  Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
                  Visit the Qt Academy at https://academy.qt.io/catalog

                  1 Reply Last reply
                  1
                  • R Offline
                    R Offline
                    Rumen GB
                    wrote on last edited by
                    #13

                    Hi, thanks can this be backported to 5.12.x?

                    Christian EhrlicherC 1 Reply Last reply
                    0
                    • R Rumen GB

                      Hi, thanks can this be backported to 5.12.x?

                      Christian EhrlicherC Online
                      Christian EhrlicherC Online
                      Christian Ehrlicher
                      Lifetime Qt Champion
                      wrote on last edited by
                      #14

                      @Rumen-GB said in Stylesheet problem with Qt > 5.12.2:

                      Hi, thanks can this be backported to 5.12.x?

                      Please read my last post.

                      Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
                      Visit the Qt Academy at https://academy.qt.io/catalog

                      R 1 Reply Last reply
                      0
                      • Christian EhrlicherC Christian Ehrlicher

                        @Rumen-GB said in Stylesheet problem with Qt > 5.12.2:

                        Hi, thanks can this be backported to 5.12.x?

                        Please read my last post.

                        R Offline
                        R Offline
                        Rumen GB
                        wrote on last edited by
                        #15

                        @Christian-Ehrlicher thank you!

                        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