Bug 247466 - audio/musescore: Add missing dependency 'graphicaleffects'
Summary: audio/musescore: Add missing dependency 'graphicaleffects'
Status: Open
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Adriaan de Groot
URL:
Keywords: needs-qa
Depends on:
Blocks:
 
Reported: 2020-06-21 21:32 UTC by Keith White
Modified: 2020-07-18 11:20 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (adridg)


Attachments
diffs to add graphicaleffects to Makefile (619 bytes, patch)
2020-06-21 21:32 UTC, Keith White
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Keith White 2020-06-21 21:32:03 UTC
Created attachment 215849 [details]
diffs to add graphicaleffects to Makefile

The palettes [F9] panel is empty.  This is likely because qt5-graphicaleffects is not marked as a dependency.  This patch "works for me".
Comment 1 Adriaan de Groot freebsd_committer 2020-07-12 00:09:46 UTC
Can you point me to something that illustrates what I should be looking at? I don't see anything special after pressing F9 (some kind of panel opens; it is labeled *Palettes* and has a button *Add palettes* and a search field; clicking the button pops up an empty kind of text-balloon).

When I run musescore locally, I **do** see

```
qrc:/qml/palettes/PaletteTree.qml:152: Error: Cannot assign to non-existent property "color"
```
Comment 2 Keith White 2020-07-17 21:06:09 UTC
You should also see a series of submenus like "Clefs", "Key Signatures", ... 

Opening the submenus should provide musical glyphs you can drag onto your score.

I build the port with WEBENGINE=off.  I don't know if that is also necessary to tickle the bug.

If qt5-graphicaleffects has been installed manually or by another package you won't see the problem.

I suppose you could try "pkg delete qt5-graphicaleffects", run musescore note the result of "F9".  Then "pkg install qt5-graphicaleffects", and then re-run musescore, press "F9" and see the difference?

The workaround might be "pkg install qt5-graphicaleffects" until upstream updates their dependencies (or as I suggest just add graphicaleffects to the makefile).  e.g. ref: https://musescore.org/en/node/296715
Comment 3 Adriaan de Groot freebsd_committer 2020-07-18 11:20:49 UTC
There is an upstream bug report:

https://musescore.org/en/node/307238

It looks like Qt 5.15 and their new palette system don't like each other. So we've got two things that affect musescore right now:

- palette needs graphicaleffects. As you say, this can be installed after-the-fact and fixes the palette **if** you have Qt 5.14.
- palette is broken with Qt 5.15.

Since Qt 5.15 has landed in the tree, I could add the dependency as suggested, but then the packaged executable will **still** be broken, just for a different reason.