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. Video Disappears after returning to normal view from fullscreen
Qt 6.11 is out! See what's new in the release blog

Video Disappears after returning to normal view from fullscreen

Scheduled Pinned Locked Moved General and Desktop
qmediaplayerqvideowidget
3 Posts 2 Posters 1.7k 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.
  • C Offline
    C Offline
    colossus47
    wrote on last edited by
    #1

    Hi I am trying to use the Media player example (http://doc.qt.io/qt-5/qtmultimediawidgets-player-example.html) to test out some functionality to add into my own program.

    However when I try to return to normal view after a video is full screen the feed goes black, the audio continues playing and I get the following error:
    void QWindowPrivate::setTopLevelScreen(QScreen*, bool) ( QScreen(0x19ac3a0) ): Attempt to set a screen on a child window.

    Help about how to fix this would be greatly appreciated.

    mrjjM 1 Reply Last reply
    0
    • C colossus47

      Hi I am trying to use the Media player example (http://doc.qt.io/qt-5/qtmultimediawidgets-player-example.html) to test out some functionality to add into my own program.

      However when I try to return to normal view after a video is full screen the feed goes black, the audio continues playing and I get the following error:
      void QWindowPrivate::setTopLevelScreen(QScreen*, bool) ( QScreen(0x19ac3a0) ): Attempt to set a screen on a child window.

      Help about how to fix this would be greatly appreciated.

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

      @colossus47
      Hi. Is that with Qt 5.5?
      I think its a bug. If you gooogle it seems KDE also suffer from it.
      Also its mentioned here
      https://bugreports.qt.io/browse/QTBUG-40817

      C 1 Reply Last reply
      0
      • mrjjM mrjj

        @colossus47
        Hi. Is that with Qt 5.5?
        I think its a bug. If you gooogle it seems KDE also suffer from it.
        Also its mentioned here
        https://bugreports.qt.io/browse/QTBUG-40817

        C Offline
        C Offline
        colossus47
        wrote on last edited by
        #3

        @mrjj
        Yeah it is Qt 5.5, on ubuntu 14.04.
        I saw one of the earlier bug reports that was closed (user submitted multiple bugs in one report), so I was hoping it was a something wrong on my end and that it had been fixed.
        Thanks you for pointing me to the current bug report though.

        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