Commit graph

7712 commits

Author SHA1 Message Date
Dmitri Ovodok
e5d93481e0
Merge pull request #5049 from mattmcclinch/166116-slur-end
fix #166116: Slurs terminate in wrong spot in voices other than 1
2019-11-18 16:56:53 +02:00
Matt McClinch
4c5e7459ce fix #289254: Beam in edit mode always switches to right grab handle 2019-11-18 08:54:23 -05:00
Matt McClinch
d173093c40 fix #166116: Slurs terminate in wrong spot in voices other than 1 2019-11-18 08:09:43 -05:00
Joachim Schmitz
3e5d9da940 fix #296203: add "pf" dynamic
basically as the opposite of the "fp" dynamic
2019-11-15 13:20:07 +01:00
Dmitri Ovodok
89f9b5deb8
Merge pull request #5459 from MarcSabatella/296362-rna-screenreader
fix #296362: screenreader support for RNA
2019-11-15 13:59:19 +02:00
anatoly-os
a7bb231229 add Qt5QuickTemplates2 to the installer 2019-11-14 15:29:37 +02:00
Matt McClinch
33ff46708d fix #296960: Percent sign cannot be entered into text.
Resolves: https://musescore.org/en/node/296960.
2019-11-13 13:37:14 -05:00
Dmitri Ovodok
70cfe6b7cc Remove asdf from debugging output 2019-11-12 10:17:18 +02:00
Dmitri Ovodok
39ef4d5317
Merge pull request #5200 from shoogle/appimage
[WIP] AppImage: improve build scripts
2019-11-09 14:33:31 +02:00
Dmitri Ovodok
4cd9730d51 Retranslate palettes UI on language change in Qt 5.9 2019-11-08 14:46:24 +02:00
Dmitri Ovodok
85f3641835
Merge pull request #5434 from shoogle/qml-palette-navigation
fix #296154: Accessibility: Make palette tree a single Tab object
2019-11-07 13:17:30 +02:00
Joachim Schmitz
7d2bd924f0 fix compiler warnings
fix a warning in RELEASE mode reg. an unused variable
fix an MSVC warning reg. a local variable shadowing a class member
fix an MSVC warning reg. a local variable shadowing another local
variable
2019-11-07 11:12:41 +01:00
Dmitri Ovodok
9b6a945773
Merge pull request #5413 from mgavioli/plugin_API_element_bbox
Add the bbox property to PluginAPI::Element
2019-11-06 11:15:39 +02:00
Dmitri Ovodok
a675c0e3e8 Fix score editing with keyboard not working after closing dialogs on MacOS
The issue was introduced by a workaround to the issues with palettes'
window container focus, see 09b6778434
2019-11-06 11:14:04 +02:00
Marc Sabatella
1b4e7c44e0 fix #296362: screenreader support for RNA
Resolves: https://musescore.org/en/node/296362

RNA and Nashville notations are implemented as chord smbols,
because much of the code is common between these,
but it doesn't work to use the regular chord symbol screenreader code.
For Nashville numbers, we need to get the root from the function rather than the rootTpc.
For RNA, we need to perform some rudimentary parsing to turn the Roman numerals into numbers
and substitute the accidentals.
2019-11-05 13:36:53 -07:00
Maurizio M. Gavioli
627c6aeadf Add the bbox property to PluginAPI::Element 2019-11-03 23:39:06 +01:00
Dmitri Ovodok
0fbc29c1a4 Fix Doxygen plugins documentation 2019-10-31 14:42:31 +02:00
Peter Jonas
1a6b2647f7 fix #296154: Accessibility: Make palette tree a single Tab object
Navigation within the palette tree is now done almost entirely with the
arrow keys. This reduces the number of times the user has to press Tab
or Shift+Tab to leave the palette tree and navigate to other widgets. It
also enables the current item to be preserved on returning to the tree.
2019-10-31 04:51:32 +00:00
anatoly-os
438ab6bf88
Merge pull request #5440 from dmitrio95/viewport-change-and-parts
Fix automatic viewport changes in scores with parts
2019-10-30 17:57:57 +02:00
Dmitri Ovodok
0a39d0a593 Fix automatic viewport changes in scores with parts 2019-10-30 16:36:18 +02:00
Joachim Schmitz
4f873bc83d fix #296298: Inspector: segment "Leading Space" input field topped at 10sp 2019-10-30 13:22:14 +01:00
Matt McClinch
48a2591bc3 fix #296127: Can't use CMD+SHIFT+Drag to copy on Mac
Resolves: https://musescore.org/en/node/296127.

ScoreView::dragEnterEvent() must call event->accept() if event->dropAction() == Qt::CopyAction, even if for some reason (event->possibleActions() & Qt::CopyAction) evaluates to false, as is the case on macOS.
2019-10-29 22:36:55 -04:00
anatoly-os
ff43723878
Merge pull request #5362 from lvinken/295176-musicxml-instrument-change
fix #295176 - [MusicXML] improve instrument change handling
2019-10-29 11:18:40 +02:00
anatoly-os
61e7ffdc77
Merge pull request #5408 from mattmcclinch/295944-tuplet-dialog
fix #295944: Tuplet dialog does not default to style settings, and creates tuplets with bad property flags
2019-10-29 11:14:21 +02:00
anatoly-os
40efae119b
Merge pull request #5428 from mattmcclinch/enter-rest
Ensure a valid duration in the input state when entering a rest.
2019-10-29 09:58:50 +02:00
anatoly-os
566833f353 Implement "Move soundfont To Top" button for Fluid/Zerberus synths GUI
- Reapply changes from https://github.com/musescore/MuseScore/pull/5269
- Add new icon
2019-10-28 13:04:44 +02:00
anatoly-os
a737b4e0d8
Merge pull request #5423 from lvinken/295348-musicxml-missing-hairpins
fix #295348 - [Musicxml Export] - Strange Missing Hairpins
2019-10-28 10:43:49 +02:00
Dmitri Ovodok
8bbdb51869 Don't rely on spanner's bbox when adjusting viewport to the last edited place 2019-10-28 09:47:29 +02:00
Matt McClinch
be737e6986 Ensure a valid duration in the input state when entering a rest.
This adds a check for valid duration in ScoreView::cmdEnterRest() that was never strictly necessary before #5376 was merged. But now it is possible that the input state's duration may be invalid or equal to V_MEASURE, even if the check for invalid state does not cause the function to return early. If this is the case, we must set a valid duration at this time. Otherwise, this will result in an assertion failure in Score::makeGap().
2019-10-27 22:24:21 -04:00
Leon Vinken
b096b42605 fix #295348 - [Musicxml Export] - Strange Missing Hairpins 2019-10-27 10:59:21 +01:00
Dmitri Ovodok
1ee87a70b8 Fix single-note dynamics on rendering scores via a command line 2019-10-26 11:43:53 +02:00
anatoly-os
9749b4defd
Merge pull request #5390 from MarcSabatella/campania-2006
fix #295675: RNA improvements
2019-10-26 10:10:42 +02:00
Dmitri Ovodok
7dc8ca53b9 Move ScoreView's viewport to show the last score changes 2019-10-25 16:18:41 +02:00
Dmitri Ovodok
99c7b0d746 Add more information to setLayout() 2019-10-25 16:18:41 +02:00
Dmitri Ovodok
0ca4abc0a2 Expose layout range information to plugins 2019-10-25 15:51:27 +02:00
Marc Sabatella
563cd5d76d fix #273256, fix #273266: special characters dialog fixes
A number of small issues prevent the special characters dialog
from working properly, especially for chord symbols.
Drag and drop only works with some symbols because FSYMBOL was missing
in the switch statements in dragdrop.cpp.
Text elements can handle drop of FSYMBOL (which is why double-click works),
but they weren't getting to chance during drag&drop.
Fix was just adding those case statements.

For Harmony objects, we also needed to add the handlers
in acceptDrop() and drop() (the latter just passing through to TextBase).
However, accidentals require special handling in Harmony::endEdit() in order to parse.
Code was added recently to do this, but it didn't actually work
(I suspect it did when written, but things changed between then and when it was merged).
I rearranged the code in in Harmony::endEdit() a bit - and added comments to explain.
Basically, setHarmony() needs to be called *after* the back-substitution
(replacing flat with "b", sharp with "#"),
but the back-substitution needs to happen after TextBase::endEdit() finalizes the text
(actually, if it were possible to substitute before, that would be better,
but do to the way the undo records are munged in TextBase::endEdit(),
it seemed to dangerous to even try).
Bottom line: I do the TextBase::endEdit(), then the back-substitution,
then the setHarmony().
I needed to be sure to trigger a layout, which required a startCmd/endCmd pair
(since TextBase::endEdit() already called endCmd).
2019-10-24 12:24:45 -06:00
Marc Sabatella
8f7580eb70 fix #296053: improve algorithm for determing start point for note input
Resolves: https://musescore.org/en/node/296053

The algorithm for finding a start point for note input works well in most cases,
in particular, if a measure or a note or reset is selected.
The cases were nothing is selected, or an element other than a note or rest is selected,
are sometimes good, sometimes we give up too easily
and select the first (or first visible) measure.

This change improves the no selection case by using the last-selected CR if it is in view
(using the recently-added code for remembering the last selected position).
It improves the case of soemthing other than a note or rest select
by using the actual tick of the element
rather than trying to guess a tick by looking for a parent measure.
That works for elements that are ultimately parented by a measure,
but fails for things like spanners, which are children of the system.
It turns out that SpannerSegment had no tick() function, so this failed at first,
but I added an override, which may well fix some other bug somewhere.

Another side benefit of the change is that if select an element not at the start of the measure
(for examplea mid-measure staff text), input starts at that tick,
not at the beginning of the measure.
2019-10-24 12:11:55 -06:00
anatoly-os
44d2b20c2d
Merge pull request #5376 from mattmcclinch/note-input-redesign
Redesign note input workflow based on Tantacrul's suggestions
2019-10-24 11:04:40 +02:00
anatoly-os
dfba411eb3 address review made in #5409
Plus:

- fix incorrect list of workspaces appeared in the View->Workspaces menu
- fix not updating the workspace combobox on removing workspaces and saving edited workspaces
2019-10-22 17:55:42 +02:00
anatoly-os
aeaa2c8ac0 fix 2 more bugs related to edited workspaces
- Basic/Advanced positions in the workspaces combobox are mixed if Advanced workspace has been selected in Startup Wizard
- Basic workspace appears as "edited" if we edit Advanced workspace (in case the latter has been selected in Startup Wizard)
2019-10-22 17:05:15 +02:00
anatoly-os
9d1f5955b8 fix remaining bugs with workspaces
- Rename "Undo Changes" to "Reset workspace". The operation reverts all the changes made in current workspace to the state of the `source` workspace. Newly created custom workspaces inherits `source` tag from the workspace they have been created from
- Resetting "Basic/Advanced edited" is performed by deleting the edited workspace and restoring Basic/Advanced one in the workspaces lists (the menu and the combobox)
- Correctly set `_sourceWorkspaceName` for newly created workspaces
- Move `defaultWorkspaces` and `defaultEditedWorkspaces` to reuse them outside the workspace.cpp file
- Fix logic on creating new workspaces to prevent changing current workspace (use `changeWorkspace` method)
- Complete `remove` method
- Fix typo in `defaultEditedWorkspaces` variable
2019-10-22 12:20:25 +02:00
Dmitri Ovodok
696914fd38 Fix QML TypeError 2019-10-22 11:56:17 +02:00
Dmitri Ovodok
09b6778434 fix #295351: fix inability to return focus to QML palettes in some cases 2019-10-22 11:54:57 +02:00
Matt McClinch
96162746e2 fix #295944: Tuplet dialog does not default to style settings, and creates tuplets with bad property flags 2019-10-22 00:32:44 -04:00
anatoly-os
5fa50d2461 follow up 3f1ee5df27
Fix the code to prevent mtest failures
2019-10-21 18:19:36 +02:00
anatoly-os
3f1ee5df27 Fix inconsistent behaviour when working with edited workspaces
* Introduce visible workspaces that are workspaces to be shown in GUI
* Introduce method `findByTranslatableName` to be used when seeking `sourceWorkspace`
2019-10-21 16:33:40 +02:00
anatoly-os
88d6c46df2 Refactor Workspace class
* Extract `WorkspacesManager` class that manages global interactions with workspaces (using static methods for now)
* Introduce `find` method
* Rewrite `workspaces()` method. Now, it returns const ref.
* Extract `initWorkspaces` method to manage updating workspaces clearer
2019-10-21 16:28:37 +02:00
Dmitri Ovodok
7ac589c744 Rework palette dialogs
- Try to return focus to palette after closing palette-related
   dialogs
 - Show delete confirmation only once when deleting multiple cells
 - Add plurals to palettes dialogs
2019-10-19 12:17:00 +02:00
Dmitri Ovodok
3ae172f815 Fix Delete key not working in "Custom" section of "More" popup 2019-10-19 12:06:42 +02:00
Dmitri Ovodok
2a0b6c69c6 fix #295842: fix a crash on launching MuseScore with -s option
Also disable "Show Mixer" action when no synthesizer is available
2019-10-19 11:50:29 +02:00