Skip to content

When osc visibility is set to always, apply margins to show select menus above it #302

@Samillion

Description

@Samillion

Expected behavior of the wanted feature

At the moment, all the interactive menus console/select force the OSC to hide.

It was implemented like that so that console or select don't overlap with the OSC itself. It works, but it's not the best solution.

A better implementation is to introduce osc margins, so that it draws console/select above the OSC if it's visible, and once OSC hides, it moves down.

This follows mpv's stock OSC implementation, and we wouldn't need to assign a z depth of -1 to draw the osc behind everything.

Which should also follow the pending PR at mpv to improve console/select: mpv-player/mpv#15676

image

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions