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. QSplitter Propagation Problem When Video is Stopped or Paused
Forum Updated to NodeBB v4.3 + New Features

QSplitter Propagation Problem When Video is Stopped or Paused

Scheduled Pinned Locked Moved Solved General and Desktop
3 Posts 2 Posters 255 Views 1 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.
  • D Offline
    D Offline
    DzCode
    wrote on last edited by DzCode
    #1

    Hi all,

    I have Qsplitter to increase the number of videowidgets inside a frame.

    When all videos are playing, there is no problem. However, if a short video ends, but the other video does not end, there will be splitter propagation like below when I drag the splitter as seen below.
    2021-04-08 16_56_21-TestApp.png

    It can only be fixed if I try to play all videos again.

    How can I fix this? (I am using Qt 5.12.2) (In my applciation, QSplitter has frames and inside frames there are videowidgets)
    I also tried something like below with slidermoved signal. It didnot work.

    m_p_video_widget->update();
        m_p_frame->update();
    
    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      You might want to try a more recent version of Qt.

      One thing you could do is hide the video widget when nothing is playing.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      D 1 Reply Last reply
      1
      • SGaistS SGaist

        Hi,

        You might want to try a more recent version of Qt.

        One thing you could do is hide the video widget when nothing is playing.

        D Offline
        D Offline
        DzCode
        wrote on last edited by DzCode
        #3

        @SGaist
        is there any possible solution without hiding?

        In which version of Qt, is this bug solved?

        Edit: I solved the problem. Now, I am hiding the videowidget's frame, and then I am showing a new frame at the same area.

        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