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
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"?
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.
What version of Qt are you using?
in "About SMPlayer" says:
but when i run qmake --version (with or without sudo) it returns:
and running pkg-config --modversion QtCore
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
and start crashing when I set "/usr/bin/mpv" in MPlayer executable preference.
with this error:
...or stop playing anything if I set "/usr/bin/mplayer" (MPlayer2 2.0-701-gd4c5b7f-2ubuntu2).
Last edit: Pablo Bass 2016-06-30
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
...and the bug is finally gone.
Thanks!
...and now, with the 16.7.0 update, the bug came back.
I can't reproduce the problem with SMPlayer 16.7.0 (svn r8037) using Qt 5.5.1.
Ok. I will try with the new version compiled with qt5 and come back.
Last edit: 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.
Which repository are you using that comes with smplayer compiled with Qt 5.5.1? or are you compiling it from source?
I compile smplayer from source in Ubuntu 16.04.
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
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
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