Page MenuHome

WM_OT_context_[toggle/cycle/etc.] operators, dont show shortcut keys in menus.
Closed, ArchivedPublicTO DO

Description

Pressing ctrl + T over animation editor such as dopesheet, timeline, VSE, Curves should probably let the user aware ctrl + T switches between frames and second view.

Event Timeline

I mean it's just a missing tool tip in the menu and that ctrl + t does this

This is more of a general issue for any properties which have been assigned to a hotkey (via one of the WM_OT_context_[toggle/cycle/etc.] operators).

I agree that it would be useful to be able to show this info to users (in the tooltips or the menus too), and have started to investigate making some extensions to the UI code to check if the property in question is being set using one of these operators bound to some hotkey) and display the corresponding hotkeys to the user. As it stands, this issue probably borders on being a todo issue.

Campbell Barton (campbellbarton) changed the task status from Unknown Status to Unknown Status.Jun 27 2013, 6:52 PM

After a few hours of debugging this evening (all of which boiled down to using the wrong invocation context - WM_OP_INVOKE_DEFAULT vs WM_OP_INVOKE_REGION_WIN as required), I've finally managed to come up with a patch for this bug.

I've attached a patch which fixes this and several related issues (but annoyingly, still doesn't seem to cover the pivot-point options).