Skip to content

console.lua: use the default OSD margins when OSC margins are set#17546

Closed
guidocella wants to merge 1 commit intompv-player:masterfrom
guidocella:console-margins-2
Closed

console.lua: use the default OSD margins when OSC margins are set#17546
guidocella wants to merge 1 commit intompv-player:masterfrom
guidocella:console-margins-2

Conversation

@guidocella
Copy link
Contributor

The OSC (with #17544) and uosc increase --osd-margin-y along with user-data/osc/margins to not overlap with OSD messages, which positions console far apart form the bottom.

Fix this by using the default --osd-margin-{x,y} when OSC margins are set.

Fixes #15334 (comment)

Alternative to #17545.

The OSC (with mpv-player#17544) and uosc increase --osd-margin-y along with
user-data/osc/margins to not overlap with OSD messages, which positions
console far apart form the bottom.

Fix this by using the default --osd-margin-{x,y} when OSC margins are set.

Fixes mpv-player#15334 (comment)
@kasper93
Copy link
Member

I don't think this is correct. osd margins are moving the console, so you shouldn't move it again, this looks like a workaround for borken math deeper inside.

@guidocella
Copy link
Contributor Author

I'm assuming you mean #17545 is preferred.

@guidocella guidocella closed this Mar 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants