Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix crash in Keyboard Shortcut Widget / "Print Bindings" #447

Closed
wants to merge 0 commits into from

Conversation

2ny
Copy link

@2ny 2ny commented Mar 9, 2019

How to reproduce the crash:
open the "Keyboard Shortcut Widget", click on "Print Bindings"

The fix add checks on all iterators in the loop, so that each of them is always valid.
I don't have the domain-knowledge to know if an other (underlying) bug exist: should those 3 collections have the exact same number of elements?

@x42
Copy link
Member

x42 commented Mar 9, 2019

This rather seems to hide an issue.

If it is possible that path, keys and labels can get out of sync, that would be an issue elsewhere.

@x42
Copy link
Member

x42 commented Mar 9, 2019

Looks like this is due to recent re-design of the ActionManager. ActionManager::get_all_actions() vs Bindings::get_all_actions() -- the former does not add any value to keys at all currently (code is #if 0 commented out).

@pauldavisthefirst is this an oversight or incomplete work-in-progress?

@2ny
Copy link
Author

2ny commented Mar 9, 2019

grrr, sorry, seems I've messed-up my repo. My bad. Trying to fix that.

pauldavisthefirst pushed a commit that referenced this pull request Mar 9, 2019
(ardour -b or Keyboard-Shortcuts > Print Bindings)
see also #447
@2ny 2ny closed this Mar 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants