Alpha (transparency) not showing on several symbols and elements
Some elements display their alpha transparency, while others don't. It would be convenient if all elements could be displayed with their color + alpha channel on the screen the same way they will be printed.
What honors alpha transparency:
- Text (all kinds of, it seems: measure numbers, staff text, instrument changes etc)
- Bar lines
- note stems
- note beams
- staff lines
- arpeggios
- glissandi
- tremolos
- lines (slurs, etc)
What doesn't:
- Time signatures
- Clefs
- Key signatures
- note head
- note hook (flag)
- rest
- Articulation, ornaments, fermatas
- Accidentals
Additionally, not sure about this but maybe the HTML# in the Color inspector could be updated to RGB+A (If this doesn't become a problem for some users, of course).
Transparent objects still get highlighted when selected, so it would not be a problem handling them even while hard to see, IMO.
Attachment | Size |
---|---|
transparent things.jpg | 21.58 KB |
Comments
It seems the lack of transparency is with Symbols only (text, lines, shapes drawn with Qt are all ok, but the drawSymbol code implies on some converting of symbol to bitmap before drawing them). Maybe there's a simple solution at the root of that process so everything would be fixed.
https://github.com/musescore/MuseScore/pull/6501
Yes, I've just noticed this in PDF exports. And I was looking for ways to workaround.
Thanks for your PR.
In reply to Yes, I've just noticed this… by Ziya Mete Demircan
Thanks for your feedback! From what I see, PDF exports are OK but the problem was drawing on the screen. Right?
Do you know if there are any more related issues I should be aware of?
For a book I have written, I export PDF and import it to Scribus.
Text and stuff is okay though. It was black on the notes and elsewhere.
So I solved the problem by not using their transparent settings but by making them light-gray.
I'm not sure I can find the samples right now. Because I've done almost all of them gray.
Ok. Thanks for sharing! it's good to know real case uses. I use this to hide time signatures and add custom ones (big) but hiding the t/s will also dismiss the spacing, which is not desired in this case so I set the t/s to transparent, as mentioned here https://musescore.org/en/node/298789
Also, to add symbols as custom noteheads. I set the original notehead to transparent, because if I set it to invisible, the ledger lines are also set invisible.
Fixed in branch 3.x, commit 5257155b96
Fix #309665: Alpha (transparency) not showing on several symbols and elements
Fixed in branch 3.x, commit 903e2ed3b1
_Merge pull request #6501 from elerouxx/display-alpha-color-3.x
Fix #309665: Alpha (transparency) not showing on several symbols and …_
In reply to Ok. Thanks for sharing! it's… by elerouxx
Many thanks for PR and Fix.
Thanks for your attention to "Ledger lines" also.
(I haven't tried the nightly versions yet. )
Automatically closed -- issue fixed for 2 weeks with no activity.