Opened 17 months ago
Closed 14 months ago
#11482 closed defect (worksforme)
Using the shortcut key "f" does not toggle fullscreen when using ffplay
| Reported by: | nocpu | Owned by: | |
|---|---|---|---|
| Priority: | normal | Component: | ffplay |
| Version: | unspecified | Keywords: | ffplay |
| Cc: | Blocked By: | ||
| Blocking: | Reproduced by developer: | no | |
| Analyzed by developer: | yes |
Description
Summary of the bug: I use ffplay to watch videos, when I press "f" to toggle a window full screen, the window will indeed maximize/shrink videos to fit fullscreen, but not the video which remains the same size.
How to reproduce:
1 in a terminal I enter the command: ffplay file.mkv
2 when video starts playing press f
Linux 6.13.4-arch1-1
ffmpeg 2:7.1-6
ffmpeg version n7.1 Copyright (c) 2000-2024 the FFmpeg developers
built with gcc 14.2.1 (GCC) 20240910
Attachments (3)
Change History (9)
by , 17 months ago
| Attachment: | current problem.png added |
|---|
comment:1 by , 17 months ago
| Status: | new → open |
|---|
comment:2 by , 14 months ago
This is no longer reproducible i.e., Pressing f is correctly toggling fullscreen mode when using ffplay.
ffplay version 6.1.1-3ubuntu5 Copyright (c) 2003-2023 the FFmpeg developers built with gcc 13 (Ubuntu 13.2.0-23ubuntu3)
comment:3 by , 14 months ago
| Analyzed by developer: | set |
|---|
comment:4 by , 14 months ago
That is an even older version than the one the issue is reported on. So "no longer reproducible" sounds odd.
Please test with latest master.
by , 14 months ago
| Attachment: | 2025-05-14 21-19-29.mp4 added |
|---|
Screen-recording of ffmpeg's latest trial of F.
comment:5 by , 14 months ago
Just tested with the master branch (latest commit: 3f9420132441345b7ccd57001f230bb98f655696), and f is toggling fullscreen correctly.
ffplay version N-119468-g1753d41d4e Copyright (c) 2003-2025 the FFmpeg developers built with gcc 13 (Ubuntu 13.3.0-6ubuntu2~24.04)
comment:6 by , 14 months ago
| Resolution: | → worksforme |
|---|---|
| Status: | open → closed |
FFplay is using SDL library calls to enter and exit fullscreen mode. Based on the screenshot you provided it seems the window resize event does not reach ffplay for some reason. This is likely an SDL or a window manager issue, and probably affects other SDL based applications as well. So I'd say this is probably not our bug.



this is what happens when I press f