-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Description
System and IINA version:
- macOS 13.1
- IINA 1.3.1 (latest develop: da1e06c)
Discovered this while investigating #4217.
For some mpv key bindings, IINA sees if they fall within an expected range, and if so, may alter some of its menu items so that they can match. For example, if seek
has a value between 5s and 60s, IINA will change its Playback
> Step Forward
menu item to match its value, and will display its key binding there. But if the user removes the key binding, or changes it in a way that causes it to no longer qualify for the menu item, then the menu item should fall back to its previous value.
Steps to reproduce:
I performed these steps:
- Open any video using the latest build of IINA. Pause the video near its beginning.
- Go to
Settings
>Key Bindings
, and duplicate theIINA Default
configuration, and make it the active configuration. Make sureDisplay raw values
is checked. - Locate the entry for the
RIGHT
key. Its action should beseek 5
. - Double-click on its action to edit using the inline editor, and change its action to
seek 30
. PressRETURN
to accept it. - Check the
Playback
menu and confirm thatStep Forward 30s
is present and has the⇾
shortcut. - Double-click the same action again to edit it, and change it to
seek 3
. PressRETURN
to accept it. - Check the Playback menu. You will see that
Step Forward 30s
is still present but without the⇾
shortcut. This is incorrect. It should fall back to Step Forward 5s. (If you were to close & reopen IINA at this point, you would see that it will correctly fall back to this value.)
Expected behavior:
In the Playbackmenu, the first item in the second section down should be
Step Forward 5s` and have no shortcut. When clicked on, it should step the video about 5 seconds forward.
Actual behavior:
The item in that location is still called Step Forward 30s
, and when clicked on, it steps the video about 30 seconds forward.
- MPV does not have this problem.
How often does this happen?
Always