Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@beyondcompute
Copy link

@beyondcompute beyondcompute commented Nov 6, 2025


Description:
There was an idea to add a hotkey to briefly show the UI (without the need to move the mouse, for example). But perhaps it would be also nice to have a hotkey to enable-disable the UI auto-hiding itself. The screenshot below shows the setting that we toggle via a hotkey basically.

Screenshot of Iina app settings view, with an arrow pointing at the checkbox next to the “Auto hide after” setting

Here’s a screenshot of a debug build of the implementation:
Screenshot of Iina keyboard shortcuts settings, show adding a new shortcut with a “Toggle On Screen Controller auto-hiding” option highlighted

Screenshots of the player window with OSD messages Screenshot of Iina player window with an on-screen alert message saying “On Screen Controller always visible” Screenshot of Iina player window with an on-screen alert message saying “Auto-hiding On Screen Controller”

This PR is just a suggestion (hence titled as an “RFC”), feel free to close or to request style changes. Thank you! 🙏

Warning

This is an AI-assisted work 🤷‍♂️

@beyondcompute
Copy link
Author

beyondcompute commented Nov 7, 2025

I noticed another thing, not related to this change. Currently if we have .enableControlBarAutoHide == false, main window’s title bar does not hide either. Is this intended behavior? Should I attempt to address that (in a separate PR perhaps), to make the .enableControlBarAutoHide Preference only affect showing and hiding of the control bar itself?

Here’s a sketch of an implementation in my fork, on top of this branch: https://github.com/beyondcompute/iina/pull/1/files

@beyondcompute beyondcompute force-pushed the command-for-toggling-control-bar-auto-hide branch from d628437 to 085cab7 Compare November 23, 2025 23:09
@beyondcompute beyondcompute changed the title RFC: Command (allow to assign a hotkey) for toggling auto-hiding of On Screen Controller RFC. Command (allow to assign a hotkey) for toggling auto-hiding of On Screen Controller Nov 25, 2025
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.

1 participant