clapper icon indicating copy to clipboard operation
clapper copied to clipboard

Move subtitles position vertically when controls bar appears

Open legacychimera247 opened this issue 2 years ago • 4 comments

Well i noticed that when you move the mouse to see controls and the time bar, the bar overlaps subtitles, making them harder to read for a few seconds, wouldn't be nice to have a youtube like approach where in this particular case subtitles just move a little bit over the bar? Screenshot from 2022-05-22 13-58-25-1

legacychimera247 avatar May 22 '22 12:05 legacychimera247

Idea seems cool. Need to get rid of the old video sink first. There is gonna be a problem with some subtitle formats through (e.g. ASS) where position and dimensions are explicitly defined. Not sure yet if adding this functionality here or into GStreamer would be better.

Rafostar avatar May 22 '22 13:05 Rafostar

oh that's good to hear, well i'm not in a hurry as anyway the player is already working fine, but still improvements are always welcomed...

legacychimera247 avatar May 22 '22 13:05 legacychimera247

In https://github.com/Rafostar/clapper/issues/97#issuecomment-1849008285 it was also mentioned that subtitle position should be dependent on image position and vice versa, to avoid them overlapping the image when fullscreened (or maximized, or resized) with a video's aspect ratio that is thinner than the screen.

I would suggest retitling this ticket here to reflect that additional usecase? Or should @sojusnik's ticket be retitled, or should the auto-positioning-based-on-aspect-ratio idea be its own ticket?

nekohayo avatar Dec 10 '23 16:12 nekohayo

I would suggest retitling this ticket here to reflect that additional usecase? Or should @sojusnik's ticket be retitled, or should the auto-positioning-based-on-aspect-ratio idea be its own ticket?

#97 is and should be about color only. This one is about automatic behavior which is related to position setting but not quite the same with description as-is.

I think there should be one more generic issue about adding "Different subtitle positioning options" or something like that. Either from this issue or a new one superseding this issue here where "bottom + auto move when UI is shown" is one of the possible options.

Rafostar avatar Dec 11 '23 16:12 Rafostar