#11051: ffplay fails to restore window position correctly upon toggling
'maximize'
---------------------------------+----------------------------------
Reporter: grepfor | Type: defect
Status: new | Priority: normal
Component: ffplay | Version: 6.1.1
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
---------------------------------+----------------------------------
Summary of the bug: Toggling the `ffplay` 'maximize' function (e.g., by
typing 'f' twice) does not restore the window to its original position;
the restored position is offset by (dx, dy), where dx and dy are the width
and height of the window decorations.
Add'l info:
* System: Arch linux, kernel 6.1.68
* Window manager: fvwm3.
* Issue does not occur if the window has no decorations,
presumably because in this case dx = dy = 0.
* `mpv` does not exhibit this behavior, leading me to believe that
the problem is more likely `ffplay/ffmpeg` rather than my window
manager.
How to reproduce:
{{{
$ ffplay -left 0 -top 0 some_video.mp4 # Place window northwest corner
at (0,0)
}}}
Now type 'f' twice to maximize/restore the window position. What I observe
is that the restored window position is now at (dx,dy), rather than at
(0,0) where it began. Hit "f" two more times, and the restored position is
now at (2*dx, 2*dy), etc.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/11051>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker_______________________________________________
FFmpeg-trac mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-trac
To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".