Popup windows sometimes appear as black squares
Popup windows, such as, instruments, printing, etc. appear as black boxes sometimes.
The way to reproduce this issue is to open the printing/instruments/page settings or any other popup menus. If it doesn't appear as a black square immediately, open it several times in a row and fairly often (about 3 times out of 10) the issue will present itself. It can be quickly resolved by just hitting ESC and reopening the menu. This is not game breaker but quite annoying and breaks the fluency in the creative process.
I am using AppImage (freshly downloaded) on Debian Stable, Gnome 3.38. I am using an AMD RX 570 and the built in video driver that comes with the kernel during Debian installation. I don't know if the CPU is relevant in this issue but it is an AMD Ryzen 3600. As I said, I'm using Gnome but the same issue was present on KDE as well when I tried it.
The same issue doesn't appear with the flatpak version however, that one crashes sometimes. The version of MuseScore in the Debian repository is still 3.2 which lacks the fancy new engraving and some other features. Because of this, I prefer the AppImage. I am not a big fan of snap so I did not consider trying that version.
The 3.6 that can be found in the Arch repo doesn't have the same issue, however, I do not fancy running a rolling distro on my production pc. I have tried building the 3.6 from source found on Github but I found it quite impossible to resolve all the dependencies (this may be easily caused by my ignorance).
This issue has been there at least ever since 3.6 came out so I am very surprised that I cannot find it in any other topics. I tried on another PC as well that has an NVidia card and I experienced the same, so I don't think the issue is with my system. Of course, if this issue has been mentioned before by someone else, I apologise, I must have overlooked it.
Any suggestion or guidance would be greatly appreciated.