-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Add auto-highlight scale and key selection #5196
Conversation
Good idea but I think I found a bug:
Also, the combobox doesn't change if you mark a scale by right clicking on a note and selecting "Mark current scale". Is this the expected behavior? |
@necrashter |
2d58b29
to
8a98d2b
Compare
8a98d2b
to
0b2c4e7
Compare
🤖 Hey, I'm @LmmsBot from github.com/lmms/bot and I made downloads for this pull request, click me to make them magically appear! 🎩
Linux
Windows
macOS🤖{"platform_name_to_artifacts": {"Linux": [{"artifact": {"title": {"title": "(AppImage)", "platform_name": "Linux"}, "link": {"link": "https://9083-15778896-gh.circle-artifacts.com/0/lmms-1.2.3-715%2Bgc03e52c-linux-x86_64.AppImage"}}, "build_link": "https://circleci.com/gh/LMMS/lmms/9083?utm_campaign=vcs-integration-link&utm_medium=referral&utm_source=github-build-link"}], "Windows": [{"artifact": {"title": {"title": "32-bit", "platform_name": "Windows"}, "link": {"link": "https://9080-15778896-gh.circle-artifacts.com/0/lmms-1.2.3-715%2Bgc03e52cec-mingw-win32.exe"}}, "build_link": "https://circleci.com/gh/LMMS/lmms/9080?utm_campaign=vcs-integration-link&utm_medium=referral&utm_source=github-build-link"}, {"artifact": {"title": {"title": "64-bit", "platform_name": "Windows"}, "link": {"link": "https://9081-15778896-gh.circle-artifacts.com/0/lmms-1.2.3-715%2Bgc03e52cec-mingw-win64.exe"}}, "build_link": "https://circleci.com/gh/LMMS/lmms/9081?utm_campaign=vcs-integration-link&utm_medium=referral&utm_source=github-build-link"}, {"artifact": {"title": {"title": "32-bit", "platform_name": "Windows"}, "link": {"link": "https://ci.appveyor.com/api/buildjobs/ghcsojhhkysj5nwy/artifacts/build/lmms-1.2.2-msvc2017-win32.exe"}}, "build_link": "https://ci.appveyor.com/project/Lukas-W/lmms/builds/35455326"}, {"artifact": {"title": {"title": "64-bit", "platform_name": "Windows"}, "link": {"link": "https://ci.appveyor.com/api/buildjobs/4kbogs0h8tcg4ex2/artifacts/build/lmms-1.2.2-msvc2017-win64.exe"}}, "build_link": "https://ci.appveyor.com/project/Lukas-W/lmms/builds/35455326"}], "macOS": [{"artifact": {"title": {"title": "", "platform_name": "macOS"}, "link": {"link": "https://9079-15778896-gh.circle-artifacts.com/0/lmms-1.2.3-715%2Bgc03e52cec-mac10.13.dmg"}}, "build_link": "https://circleci.com/gh/LMMS/lmms/9079?utm_campaign=vcs-integration-link&utm_medium=referral&utm_source=github-build-link"}]}, "commit_sha": "45a3b3e65803212580133ee83ad71618cf140aa9"} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No more complaints here, LGTM!
Worked fine for me when testing. I find that the key combobox looks a bit cramped when "No key" is displayed. Also, highlights only apply when I move my mouse after clicking, so if I select a different key and don't move my mouse the previous highlights stick around. However, this occurs for me with other builds as well (when manually highlighting notes) so it isn't an issue with your PR. |
Actually, I did find one issue that I can't reproduce on builds of my own branch. The vertical zoom combobox is misplaced (on top of the transport controls) and missing it's icon. |
Ah you're right, I never noticed I guess since I know what it says. I'll see about expanding it a few pixels.
I see this happens with the right-click menu. It could easily be adding an |
Ah that's because it was added after my PR. Fixing up now. |
5e351da
to
ea4933c
Compare
I added |
ea4933c
to
318ee1f
Compare
Tested again after the recent changes, all my concerns are addressed and the feature still works as expected 👍 |
318ee1f
to
a25f976
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Only doxygen comments reviewed.
There are still open questions about matter of taste:
- Maybe we should set
JAVADOC_AUTOBRIEF = YES
andQT_AUTOBRIEF = YES
indoc/Doxyfile.in
. This would simply make the first sentence (until the first dot)\brief
(without use of the\brief
command). - Do we want to use
@param
vs\param
,//!
vs///
,/**
vs/*!
, or should we just allow both?
I think this is a good discussion to move to an issue, rather than start it on this PR. I can remove the doc comments for now from this PR in favor of adding them in a future PR? |
a25f976
to
45a3b3e
Compare
This adds a new key selection combobox to the Piano Roll next to the scale combobox. When a key+scale is selected, it will automatically highlight the scale on the selected key. If either is set back to "No key/scale" the highlights will be removed.
This doesn't remove any functionality already there with marking semitones, but is a QOL improvement saving steps when wanting to mark scales.
Additionally, as another small QOL improvement this links the toolbar icon with the combobox so when resized you don't get this: