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

Can't set background on QVideoWidget when framelesswindowhint is set

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • P2: Important
    • None
    • 5.11.2
    • Multimedia
    • None
    • Windows 10,
    • Windows

    Description

      In Media Player out of examples, I set WindowType with Qt::Framelesswindowhint. 

      As I attached image videowidget become transparent. 

       

      I think that this single code does not work on Qt 5.11.2 anymore

      ->    setAttribute(Qt::WA_OpaquePaintEvent);

      This code in videowidget.cpp

       

      Moreover, I add my customized title bar like that situation. I do maximize followed by minimized followed by restore window then hover does not work. 

       

      p.s. I got QVideoWidget does not call paintEvent() even when I call update() explicitly.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            valentyn.doroshchuk Valentyn Doroshchuk
            joondong JOONDONG KIM
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes