Bug 476377

Summary: One cannot switch mplayer to full screen in Wayland session
Product: [Plasma] kwin Reporter: Piotr Mierzwinski <piotr.mierzwinski>
Component: wayland-genericAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DOWNSTREAM    
Severity: normal CC: kde, nate, piotr.mierzwinski
Priority: NOR Keywords: qt6, wayland-only
Version First Reported In: master   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Piotr Mierzwinski 2023-10-31 15:56:48 UTC
SUMMARY
As in subject. I cannot turn on full screen in mplayer. Keyboard shortcut F does nothing. Option passed in command does nothing (the same in config file). Nevertheless all works fine in X11 session. I tested in xfce4.
BTW. I can maximize window.

In my ~/.mplayer/config I have only setting of code page.
I don't use any options starting mplayer with video file.


STEPS TO REPRODUCE
1. mplayer video file
2. Press "F"
3. 

OBSERVED RESULT
Happens nothing

EXPECTED RESULT
I should get full screen with opened video file.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.27.80
KDE Frameworks Version: 5.240
Qt Version: 6.6
Graphics Platform: Wayland
Mesa IntelĀ® Xe Graphic

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2023-11-01 21:06:56 UTC
Works for me with mplayer-1.5.1 on Fedora KDE run on Plasma 6. If you're using an older version of mplayer, it might be that it doesn't have Wayland support yet. Regardless, this is an app issue, not a problem with Plasma or KWin.
Comment 2 Piotr Mierzwinski 2023-11-16 02:07:27 UTC
(In reply to Nate Graham from comment #1)
> Works for me with mplayer-1.5.1 on Fedora KDE run on Plasma 6. If you're
> using an older version of mplayer, it might be that it doesn't have Wayland
> support yet. Regardless, this is an app issue, not a problem with Plasma or
> KWin.

Thank you for checking.
Seems this is problem of distribution I use.
I use mplayer version 1.4. It looks like that n Neon Unstable Edition there is an old version
Comment 3 Piotr Mierzwinski 2023-12-19 02:20:58 UTC
Unfortunately it doesn't work for me for mplayer 1.5
I tested with:
MPlayer 1.5+svn38423-2build1 (Debian)

Used libraries:
/usr/lib/x86_64-linux-gnu$ ls -1
libavcodec.so.60
libavcodec.so.60.3.100
libavdevice.so.60
libavdevice.so.60.1.100
libavfilter.so.9
libavfilter.so.9.3.100
libavformat.so.60
libavformat.so.60.3.100
libavutil.so.58
libavutil.so.58.2.100
libcjson.so.1
libcjson.so.1.7.16
libcodec2.so.1.2
libdav1d.so.6
libdav1d.so.6.9.0
libjxl.so.0.7
libjxl.so.0.7.0
libjxl_threads.so.0.7
libjxl_threads.so.0.7.0
libpostproc.so.57
libpostproc.so.57.1.100
librav1e.so.0
librav1e.so.0.6.6
librist.so.4
librist.so.4.2.0
libsrt-gnutls.so.1.5
libsrt-gnutls.so.1.5.2
libsrt.so.1.5
libsrt.so.1.5.2
libswresample.so.4
libswresample.so.4.10.100
libswscale.so.7
libswscale.so.7.1.100
libvpl.so.2
libvpl.so.2.9
libx264.so.164
vpl

/usr/lib/x86_64-linux-gnu/vpl$ ls -1
libvpl_wayland.so

Fortunately mpv (version 0.34) works with fullscreen.