[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4688: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4690: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4691: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4692: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
SMPlayer Support Forum • View topic - Auto resize problem in XFCE
Page 1 of 1

Auto resize problem in XFCE

PostPosted: Wed Aug 14, 2019 11:17 am
by wha15
The auto resize on XFCE feature seems like to ignore the window control and video control when resizing video with the same resolution on display even with prevent main window to get outside of the screen ( 1080p video on 1080p screen)
This is not seems to be the case on Gnome.

XFCE 4.14


Gnome with the same setting


This is on manjaro with xfce 4.14.

You can see that on the gnome side, the window and video control are still present when auto resizing, but on xfce both of the control went outside of the screen.
xfce is my preferred desktop environment now so i hope fixes will be coming.

Thanks for this program, the best replacement for mpc / klite from windows on linux for me, because it can be configured to act the same behaviour like this auto resize features which behave different on other linux video players and not configurable.

Re: Auto resize problem in XFCE

PostPosted: Wed Aug 14, 2019 9:01 pm
by rvm
Do you have the same problem if you select a different video output in preferences, general?

Re: Auto resize problem in XFCE

PostPosted: Thu Aug 15, 2019 5:31 am
by wha15
Yes, changing output driver and multimedia engine also give the same problem, vaapi driver will crash the player.
For more information i am using an nvidia gpu with a proprietary drivers.

Re: Auto resize problem in XFCE

PostPosted: Thu Aug 15, 2019 9:03 pm
by rvm
I'm not sure if this is a bug. If the option "autoresize" in preferences -> interface is not set to "never", then the window is resized to show the video in full resolution, even if that means that part of the window is outside of the screen. It's just that some window managers don't allow this (and prevent the window to be out of the screen) but others do, so I guess this is why you get a different result in XFCE and Gnome.

Re: Auto resize problem in XFCE

PostPosted: Tue Oct 15, 2019 10:14 am
by idnsunset
Same issue gets confirmed on XFCE 14.4. When you are playing some video that has larger resolution than your screen's, the window goes out of the screen even though you've enabled "prevent window to get outside of screen" option. I have to click on the "restore" button on the title bar in make the control bar visible.
BTW, I don't think this is a bug of SMplayer either as I was using Mate desktop before switching to XFCE and I am quite sure there is no such issue for Mate. Has anybody ever found any workaround?

Re: Auto resize problem in XFCE

PostPosted: Tue Oct 15, 2019 10:30 am
by idnsunset
The same issue gets confirmed with XFCE 14.4. Every time I am playing a video that has higher resolution than the screen's, the window gets outside of the screen, I have to click on the "restore" button on the title bar to have the window fit the screen.
BTW, I was using Mate desktop before switching to XFCE and I am quite sure that Mate has no such issue. What does SMplayer exactly do to prevent the window outside of screen? If it is related to some features of the window manager, is it possible to put some specific work for xfwm adaption?

Re: Auto resize problem in XFCE

PostPosted: Tue Oct 15, 2019 8:51 pm
by rvm
The option "prevent window to get outside of screen" moves the window if any of the window corners are outside the screen but it doesn't resize it.

Actually I think smplayer contains code to resize the window, however it's enabled only on Windows, since it didn't seem necessary for Linux because the window managers seemed to take care of the problem.

Re: Auto resize problem in XFCE

PostPosted: Tue Nov 05, 2019 3:59 pm
by idnsunset
But the question is how it is able to prevent window outside of screen if the window doesn't get resized? Around one year ago I often played 1080p videos on a laptop that has a lower resolution screen, with Mate DE running, SMPlayer did shrink the window (zooming out the video as well) to fit with the screen size. If it's related to the window managers, why some other players have no such issue. MPV always resizes videos to fit with my screen, but SMPlayer+MPV does not.

Re: Auto resize problem in XFCE

PostPosted: Tue Nov 05, 2019 9:07 pm
by rvm