Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-40129

qt button datasheet don't work when create a native window and a surface of openGL or D3D.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • Not Evaluated
    • None
    • 5.2.0 Alpha, 5.2.1, 5.3.0 Alpha, 5.3.0 RC1, 5.3.1
    • Widgets: Style Sheets
    • None

    Description

      see the attachment !
      you can operate the program by step below:
      step1,click the 'create_window',move the mouse to it ,you will find the style sheet change to yellow.see the attachment for" normal display.png"
      step2,click the iocn in the system toolbar to minimize it,and then click the icon again to show narmal.
      step3,repeat the step1,now you will find the style sheet don't change to yellow as normal.the window look like no mouse focus except clicking the tab. see the attachment for "unnormal.png"
      step4,click the showmaxium button ,repeat step1 again, you will find everything turn normal,the style sheet change to yellow.and the style sheets of others widget also normal shown.
      this is what the bug i want to report.
      "creat_window" button do in the program is to create a native window and a surface of openGL or D3D.
      above problem appear is not olly the create_windwo ,but also all the widgets adding the style sheets.
      and in the meantime ,i find anoter bug ,when i create a project ,and do nothing except calling the "this->WinId()",the style sheets is shown abnormal.
      but when i call the "this->internalWinId()",the style sheets is shown no problem

      Attachments

        1. demo.part1.rar
          9.00 MB
          lily.ding
        2. demo.part2.rar
          9.00 MB
          lily.ding
        3. demo.part3.rar
          3.51 MB
          lily.ding
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            Unassigned Unassigned
            海派aa甜心 lily.ding
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes