Palettes completely invisible and unusable in Ubuntu 18.04, using AppImage

• Oct 25, 2019 - 12:40
Reported version
3.3
Type
Graphical (UI)
Frequency
Many
Severity
S2 - Critical
Reproducibility
Always
Status
fixed
Regression
Yes
Workaround
Yes
Project

The Palettes are completely unusable and invisible on the Linux 3.3 RC 2 AppImage. Running it in the terminal prints the errors

qrc:/qml/palettes/PaletteTree.qml:178:12: QML DelegateModel: Error creating delegate
qrc:/qml/palettes/PaletteTree.qml:439: TypeError: Cannot read property of null.

The problem exists in both Light and Dark mode. Note that I had changed where the Musescore directory is located, and updated it in the Preferences.

Attachment Size
Screenshot from 2019-10-25 19-36-55.png 4.22 KB

Comments

Which system do you use? There were reports about that on Ubuntu 18.04 and systems based on it, but other systems don't seem affected so far. Still I wasn't able to reproduce this on Ubuntu 18.04 on several computers.

1.) Same error for me
2.) In addition: "Startcenter" appears as a black window
======== Message ==================================
Jack appears to be installed on this system, so we'll use it.
QApplication: invalid style override passed, ignoring it.
qrc:/qml/palettes/PaletteTree.qml:178:12: QML DelegateModel: Error creating delegate
qrc:/qml/palettes/PaletteTree.qml:439: TypeError: Cannot read property of null
QMutex: destroying locked mutex
QObject::disconnect: No such slot Ms::MyWebView::stopBusy(bool)

======== Ubuntu version ==============================
NNNNNN:~/Downloads$ lsb_release -a
LSB Version: core-9.20170808ubuntu1-noarch:printing-9.20170808ubuntu1-noarch:security-9.20170808ubuntu1-noarch
Distributor ID: Ubuntu
Description: Ubuntu 18.04.3 LTS
Release: 18.04
Codename: bionic

====================================================================================

But I can work with "Full Palette" (Shift + F9)

===================================================================================
OS: Ubuntu 18.04.3 LTS, Arch.: x86_64, MuseScore version (64-bit): 3.3.0., revision: 4761df6

About QT: This program uses Qt version 5.9.3.

Just to add some info: when running a debug build (clean) from source (3.3 branch), i get on Arch Linux :

qrc:/qml/palettes/PalettesWidget.qml:unknown: qrc:/qml/palettes/PalettesWidget.qml:47:5: Type PalettesWidgetHeader unavailable
qrc:/qml/palettes/PalettesWidgetHeader.qml:unknown: qrc:/qml/palettes/PalettesWidgetHeader.qml:37:5: Type StyledButton unavailable
qrc:/qml/palettes/StyledButton.qml:unknown: qrc:/qml/palettes/StyledButton.qml:22:1: module "QtGraphicalEffects" is not installed
Title Palettes completely invisible and unusable on Linux Palettes completely invisible and unusable on some Linux distributions

surely not all...

Title Palettes completely invisible and unusable on some Linux distributions Palettes completely invisible and unusable on some Linux distributions, using AppImage
Title Palettes completely invisible and unusable on some Linux distributions, using AppImage Palettes completely invisible and unusable in Ubuntu 18.04, using AppImage

So far I have not seen any reports concerning palettes not working in AppImage in distributions not based on Ubuntu 18.04, so I believe this issue is still related to some Ubuntu-specific features.

@pbrenna, concerning the issue with building, which version of Qt do you use (I mean, a Qt installer or the one that comes with your distribution), and do you have QtGraphicalEffects module installed in your system? Also this building issue is likely to be not related to AppImage issues so if you have further questions on building it would be better to open a separate thread for that.

Regression No Yes

The issue with ArchLinux package is separate from the AppImage issue and is likely to be caused by missing QtQuick Controls 2 dependencies which were not needed for previous versions of MuseScore. For that package I suppose adding something like qt5-quickcontrols2 and qt5-graphicaleffects to that package's dependencies would fix the issue.

@dmitrio95 you are right, I can see this in the console:

$ mscore                                                                                                                                                                              
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
qrc:/qml/palettes/PalettesWidget.qml:21:1: module "QtQuick.Controls" version 2.1 is not installed
Element::readProperties: linked elements have different types: Chord, BarLine. Input file corrupted?
Element::readProperties: could not link Chord at staff 7
Element::readProperties: could not link Note at staff 7
Element::readProperties: linked elements have different types: Chord, BarLine. Input file corrupted?
Element::readProperties: could not link Chord at staff 7
Element::readProperties: could not link Note at staff 7
QMutex: destroying locked mutex

Should I open another bug report?

In reply to by mount2010

Regression Yes No
Workaround No Yes

I have tried the 3.3.0 AppImage in different computers with the same distro (Xubuntu 18.04) and some show this same issue (hidden palettes and black Start Center) but others don't. I still haven't been able to find out where the difference is, but I have found that if I start the program through X forwarding it works properly, so I use as a workaround the command:
ssh localhost -X path_to_app/MuseScore-3.3.0-x86_64.AppImage

Can confirm that it is now fixed on Nightly. Thanks guys, and great job! Can't wait to see more of Tantacrul's redesigning. Great hopes for Musescore.

Fix version
3.3.1