Bug 3431 - MD should support partially-composed keybindings
Summary: MD should support partially-composed keybindings
Status: RESOLVED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: General ()
Version: Trunk
Hardware: PC Mac OS
: --- minor
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2012-02-13 14:33 UTC by Mikayla Hutchinson [MSFT]
Modified: 2012-03-29 21:04 UTC (History)
1 user (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED FIXED

Description Mikayla Hutchinson [MSFT] 2012-02-13 14:33:18 UTC
MD should support displaying partially-composed keybindings, e.g. Cmd-+ instead of Cmd-shift-=.

Currently we fully decompose keys when parsing them from the keybindings file. This means we always display the decomposed version. We should instead display the variant that was parsed. We'd still need to use full decomposition when capturing new bindings from the user in the keybindings editor, since there isn't a way to identify which composed combinations to use in this way.

The best solution would be to only decompose the keybindings when matching them, instead of when loading them. The method Mono.TextEditor.GtkWorkarounds.MapKeys can decompose key combinations into the set of all valid decomposed, partially composed and fully composed variants, which could all be used for much better matching.
Comment 1 Jeffrey Stedfast 2012-03-29 21:04:39 UTC
fixed in git master.