Menu

#751 After exiting fullscreen, window becomes maximized

stable
open
nobody
None
5
2017-12-07
2016-06-05
Tatsh
No

I tried my best to ensure this is not KDE and removed my window rules for SMPlayer. Every time I double-click or use Esc to leave full-screen, the window becomes maximised instead of going back to its previous size.

Even when I set SMPlayer to force a maximum size, this size is what SMPlayer always resets to after exiting full screen. My workaround is a KDE window rule that does this, not very good.

SMPlayer 16.4.0
mpv 0.17.0

[01:28:11:432] MplayerWindow::mouseReleaseEvent
[01:28:11:432] BaseGui::leftClickFunction
[01:28:11:432] BaseGui::processFunction: 'dvdnav_mouse'
[01:28:11:432] BaseGui::processFunction: action found
[01:28:11:432] BaseGui::processFunction: action is disabled, doing nothing
[01:28:13:832] MplayerWindow::mouseReleaseEvent
[01:28:13:832] BaseGui::leftClickFunction
[01:28:13:832] BaseGui::processFunction: 'dvdnav_mouse'
[01:28:13:832] BaseGui::processFunction: action found
[01:28:13:832] BaseGui::processFunction: action is disabled, doing nothing
[01:28:13:896] BaseGui::doubleClickFunction
[01:28:13:896] BaseGui::processFunction: 'fullscreen'
[01:28:13:896] BaseGui::processFunction: action found
[01:28:13:896] BaseGui::toggleFullscreen: 1
[01:28:13:896] BaseGui::toggleFullscreen: was_maximized: 0
[01:28:13:896] BaseGuiPlus::aboutToEnterFullscreen
[01:28:13:896] BaseGui::setStayOnTop: 0
[01:28:13:896] BaseGui::hideEvent
[01:28:13:897] BaseGui::showEvent
[01:28:13:898] BaseGuiPlus::aboutToEnterFullscreen: mainwindow screen: 0, playlist screen: 0
[01:28:13:899] BaseGui::updateWidgets
[01:28:13:983] MplayerWindow::mouseReleaseEvent
[01:28:13:983] BaseGui::leftClickFunction
[01:28:13:983] BaseGui::processFunction: 'dvdnav_mouse'
[01:28:13:983] BaseGui::processFunction: action found
[01:28:13:983] BaseGui::processFunction: action is disabled, doing nothing
[01:28:14:664] MplayerWindow::mouseReleaseEvent
[01:28:14:664] BaseGui::leftClickFunction
[01:28:14:664] BaseGui::processFunction: 'dvdnav_mouse'
[01:28:14:664] BaseGui::processFunction: action found
[01:28:14:664] BaseGui::processFunction: action is disabled, doing nothing
[01:28:14:720] BaseGui::doubleClickFunction
[01:28:14:720] BaseGui::processFunction: 'fullscreen'
[01:28:14:720] BaseGui::processFunction: action found
[01:28:14:720] BaseGui::toggleFullscreen: 0
[01:28:14:720] BaseGuiPlus::aboutToExitFullscreen
[01:28:14:725] BaseGui::setStayOnTop: 1
[01:28:14:725] BaseGui::hideEvent
[01:28:14:728] BaseGui::showEvent
[01:28:14:729] BaseGui::updateWidgets

Discussion

  • Ricardo Villalba

    It seems you're using the option "Stay on top => While playing", do you have the same problem if you set the option to "never" or "always"?

     
    • Pablo Bass

      Pablo Bass - 2016-06-19

      Exactly, I can reproduce the bug when "stay on top" is set to "while playing". If I change this setting to "never" or "always", the bug just dissapears.

      Weird... and I also need to say that this is an unconfortable workaround.

       
  • Ricardo Villalba

    What version of Qt are you using?

     
    • Pablo Bass

      Pablo Bass - 2016-06-30

      in "About SMPlayer" says:

      SMPlayer © 2006-2016 Ricardo Villalba <rvm@users.sourceforge.net>
      
      Version: 16.6.0 (svn r7989)
      Using Qt 5.2.1 (compiled with Qt 5.2.1)
      Using MPV git-ad2d10a
      

      but when i run qmake --version (with or without sudo) it returns:

      qmake: could not exec '/usr/lib/x86_64-linux-gnu/qt4/bin/qmake': No such file or directory
      

      and running pkg-config --modversion QtCore

      Package QtCore was not found in the pkg-config search path.
      Perhaps you should add the directory containing `QtCore.pc'
      to the PKG_CONFIG_PATH environment variable
      No package 'QtCore' found
      

      SMPlayer whas installed from this PPA in Ubuntu 14.04:
      https://launchpad.net/~rvm/+archive/ubuntu/smplayer

      but when I revert to stock SMPlayer using ppa-purge ppa:rvm/smplayer then SMPlayer report

      Version: 0.8.6
      Using Qt 4.8.6 (compiled with Qt 4.8.4)
      Using MPlayer2 
      

      and start crashing when I set "/usr/bin/mpv" in MPlayer executable preference.

      mpv 0.3.4 (C) 2000-2013 mpv/MPlayer/mplayer2 projects
       built on 2014-02-01T17:09:32
      libav library versions:
         libavutil       52.3.0
         libavcodec      54.35.0
         libavformat     54.20.3 (runtime 54.20.4)
         libswscale      2.1.1
         libavfilter     3.3.0
         libavresample   1.0.1
      

      with this error:

      Error parsing commandline option noquiet: option not found
      
      Exiting... (Fatal error)
      

      ...or stop playing anything if I set "/usr/bin/mplayer" (MPlayer2 2.0-701-gd4c5b7f-2ubuntu2).

       

      Last edit: Pablo Bass 2016-06-30
  • Ricardo Villalba

    SMPlayer 0.8.6 is very old and it doesn't support mpv. Anyway mpv 0.3.4 is also very old and it won't work anyway with newer versions of SMPlayer.

    There's a PPA with SMPlayer 16.6 compiled with Qt 4. Could you test if you have the same problem with it?

    http://forum.smplayer.info/viewtopic.php?f=5&t=8464

     
  • Pablo Bass

    Pablo Bass - 2016-07-02
    Version: 16.6.0 (svn r7965)
    Using Qt 4.8.6 (compiled with Qt 4.8.6)
    Using MPV git-ad2d10a
    

    ...and the bug is finally gone.

    Thanks!

     
    • Pablo Bass

      Pablo Bass - 2016-07-23

      ...and now, with the 16.7.0 update, the bug came back.

      Version: 16.7.0
      Using Qt 4.8.6 (compiled with Qt 4.8.6)
      Using MPV git-ad2d10a
      
       
  • Ricardo Villalba

    I can't reproduce the problem with SMPlayer 16.7.0 (svn r8037) using Qt 5.5.1.

     
    • Pablo Bass

      Pablo Bass - 2016-07-23

      Ok. I will try with the new version compiled with qt5 and come back.

       

      Last edit: Pablo Bass 2016-07-23
      • Pablo Bass

        Pablo Bass - 2016-07-23

        Installed again smplayer from ppa:rvm/smplayer. For Ubuntu Trusty is complied with Qt 5.2.1, not Qt 5.5.1... and the bug is still there.

        Version: 16.7.0
        Using Qt 5.2.1 (compiled with Qt 5.2.1)
        Using MPV git-ad2d10a
        

        Which repository are you using that comes with smplayer compiled with Qt 5.5.1? or are you compiling it from source?

         
  • Ricardo Villalba

    I compile smplayer from source in Ubuntu 16.04.

     
  • Brendan B. Boerner

    Same here. Seems random.

    Ubuntu 14.04.5.

    Version: 17.9.0 (revision 8645)
    Using Qt 4.8.6 (compiled with Qt 4.8.6)
    Using MPlayer SVN r37923

     
  • Brendan B. Boerner

    It seems related to toggling between full screen / previous window size and play / pause, all using keyboard.

    If I am playing full screen, then pause (space), wait a beat, then back to prevous window size (F) it works as expected.

    It seems that if I pause / window quickly then it will sometimes go to a maximized window instead of the previous window size.

     

    Last edit: Brendan B. Boerner 2017-11-19
  • Brendan B. Boerner

    Fwiw I am no longer seeing this behavior. Ubuntu 14.04.5 LTS.

    Version: 17.11.2 (revision 8807)
    Using Qt 4.8.6 (compiled with Qt 4.8.6)
    Using MPlayer SVN r37923

     

Log in to post a comment.

MongoDB Logo MongoDB