[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

This forum is deprecated. Please visit https://github.com/smplayer-dev/smplayer/discussions

Auto resize problem in XFCE

Problems, bugs, suggestions... anything related to SMPlayer.

Auto resize problem in XFCE

Postby wha15 » Wed Aug 14, 2019 11:17 am

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.
wha15
 
Posts: 2
Joined: Wed Aug 14, 2019 10:54 am

Re: Auto resize problem in XFCE

Postby rvm » Wed Aug 14, 2019 9:01 pm

Do you have the same problem if you select a different video output in preferences, general?
rvm
Site Admin
 
Posts: 3787
Joined: Wed Dec 23, 2009 1:25 am
Location: España

Re: Auto resize problem in XFCE

Postby wha15 » Thu Aug 15, 2019 5:31 am

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.
wha15
 
Posts: 2
Joined: Wed Aug 14, 2019 10:54 am

Re: Auto resize problem in XFCE

Postby rvm » Thu Aug 15, 2019 9:03 pm

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.
rvm
Site Admin
 
Posts: 3787
Joined: Wed Dec 23, 2009 1:25 am
Location: España

Re: Auto resize problem in XFCE

Postby idnsunset » Tue Oct 15, 2019 10:14 am

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?
idnsunset
 
Posts: 3
Joined: Tue Oct 15, 2019 9:43 am

Re: Auto resize problem in XFCE

Postby idnsunset » Tue Oct 15, 2019 10:30 am

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?
idnsunset
 
Posts: 3
Joined: Tue Oct 15, 2019 9:43 am

Re: Auto resize problem in XFCE

Postby rvm » Tue Oct 15, 2019 8:51 pm

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.
rvm
Site Admin
 
Posts: 3787
Joined: Wed Dec 23, 2009 1:25 am
Location: España

Re: Auto resize problem in XFCE

Postby idnsunset » Tue Nov 05, 2019 3:59 pm

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.
idnsunset
 
Posts: 3
Joined: Tue Oct 15, 2019 9:43 am

Re: Auto resize problem in XFCE

Postby rvm » Tue Nov 05, 2019 9:07 pm

rvm
Site Admin
 
Posts: 3787
Joined: Wed Dec 23, 2009 1:25 am
Location: España


Return to General

Who is online

Users browsing this forum: No registered users and 37 guests

cron