Open nasehim7 opened 7 months ago
@cbjeukendrup perhaps this plugin needs updating for the new version of Qt?
I just tried, with the latest master build, on Windows 11: the ColorNotes plugin just works: Snippet from the logs:
2024-03-15T15:37:08.398 | DEBUG | main_thread | expression for onRun | hello colornotes
2024-03-15T15:37:08.398 | INFO | main_thread | ActionsDispatcher::dispatch | try call action: notation-select-all
2024-03-15T15:37:08.426 | DEBUG | main_thread | UiActionsRegister::updateEnabledAll | currentCtx: UiCtxNotationFocused
...
2024-03-15T15:37:08.746 | DEBUG | main_thread | MeasureLayout::createEndBarLines | Clef Segment without Clef elements at tick 14/1
2024-03-15T15:37:08.752 | DEBUG | main_thread | MeasureLayout::createEndBarLines | Clef Segment without Clef elements at tick 14/1
2024-03-15T15:37:08.912 | DEBUG | main_thread | Score::endCmd | Undo stack current macro child count: 470
2024-03-15T15:37:08.957 | DEBUG | main_thread | UiActionsRegister::updateEnabledAll | currentCtx: UiCtxNotationFocused
2024-03-15T15:37:08.961 | DEBUG | main_thread | UiActionsRegister::updateEnabledAll | currentCtx: UiCtxNotationFocused
2024-03-15T15:37:08.965 | INFO | main_thread | ActionsDispatcher::dispatch | try call action: notation-escape
2024-03-15T15:37:08.970 | DEBUG | main_thread | UiActionsRegister::updateEnabledAll | currentCtx: UiCtxNotationFocused
So maybe it fails on macOS only?
Works just fine for me too. @nasehim7 Is it broken for all scores, or perhaps just this one? In the latter case, could you upload it? And are you perhaps using a different version of the plugin than the builtin one?
@cbjeukendrup it is happening for all the scores. So just now what I did, I pulled the latest master, build it. Here is the recording where I started from scratch with the step of enabling the plugin as well.
https://github.com/musescore/MuseScore/assets/18035782/02ec520d-53a8-48aa-bdd6-235e026621c5
This is the score in the video: https://www.dropbox.com/scl/fi/nvcfha3h91z35i71c7gni/Waltz_in_A_MinorChopin.mscz?rlkey=rekyhhv53chbbjtqjq9uwva33&dl=0
When I do it in 4.3, it works fine
Again: works for me, also with that score (which stems from MuseScore 2.1)
FWIW, plugins that reference, e.g. QtQuick.Controls don't work for me in Development/master builds (but work fine in installed 4.3 version).
Still Color Notes works for me, latest master (self-)build, but it apparently uses the one from extensions/colornotes rather than plugins/colornotes
Issue type
UX/Interaction bug (incorrect behaviour)
Bug description
Colornotes plugin is not working on the score
Steps to reproduce
Screenshots/Screen recordings
https://github.com/musescore/MuseScore/assets/18035782/fbcf8b2b-12e8-4fbd-bb4e-99c08224e0da
MuseScore Version
MuseScore version (64-bit): 4.4.0-, revision: github-musescore-musescore-
Regression
Yes, this used to work in a previous version of MuseScore 4.x
Operating system
OS: macOS 13.6, Arch.: arm64
Additional context
In the logs, I can see that the undoStack() has 0 child count:
21:53:39.496 | INFO | main_thread | ActionsDispatcher::dispatch | try call action: notation-select-all 21:53:39.510 | DEBUG | main_thread | UiActionsRegister::updateEnabledAll | currentCtx: UiCtxNotationFocused 21:53:39.607 | DEBUG | main_thread | Score::endCmd | Undo stack current macro child count: 0 21:53:39.609 | DEBUG | main_thread | UiActionsRegister::updateEnabledAll | currentCtx: UiCtxNotationFocused 21:53:39.612 | DEBUG | main_thread | UiActionsRegister::updateEnabledAll | currentCtx: UiCtxNotationFocused 21:53:39.615 | INFO | main_thread | ActionsDispatcher::dispatch | try call action: notation-escape