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

I want to create a mainwindow with rounded corners. When I create a qwebenginview whose parent is the mainwindow, the rounded corners will be filled with black color

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 5.6.2, 5.7.1
    • GUI: OpenGL
    • None
    • qt 5.6.2 opensource (also appear on 5.7.1) + vs2013 windows 7(64bit)

      with problem on win7 (except areo theme)

      no problem on win10
    • Windows

    Description

      On my PC (windows 7):

      Mainwindow with Qt::WA_TranslucentBackground atrribute,works exactally right under normal conditionI. The corners were transparent, app border was in correct shape.

      But when I create a QWebengineview object whose parent is th mainwindow or other qwidget nherited from the mainwindow pointer, the rounded corners will be filled with black color,seems not be transparent.

      the problem doesn't appear on windows 10. The transparent corner doesn't change to be black filled.

      Is there any bug with qt on win7 OS? I want the app display with round corner correctly on win7 macx win10.

      Attachments

        1. output.log
          6 kB
        2. snap.png
          snap.png
          11 kB
        3. testroundrect.rar
          6 kB
        4. testroundrect.rar
          4 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            Unassigned Unassigned
            maoliangwu peipei xu
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes