Crash in ScoreBrowser on systems with single-click items activation turned on

• Jun 2, 2018 - 23:29
Reported version
3.0
Type
Graphical (UI)
Severity
S3 - Major
Status
closed
Project

After starting up MuseScore by default shows a screen suggesting user to create a new score or open one of the recently opened. If Qt is configured to activate items on single click (see QStyle::SH_ItemView_ActivateItemOnSingleClick) selecting any of the recently opened files in the shown list leads to a crash. Such settings are default for most KDE Plasma desktop installations in many GNU/Linux distributions. Perhaps it is possible to setup Qt this way on other operating systems but I am not sure how to do it. When configuring Qt to turn off that behavior the crash does not happen anymore.

Steps to reproduce:
1. Run a GNU/Linux system with KDE Plasma desktop. Make sure that single click items activation is turned on (System Settings → Input Devices → Mouse → Single click for opening files and directories).
2. Run MuseScore 3.
3. See a screen suggesting to create a new file or open some recent scores. If there are no recent scores, open any score, close MuseScore and repeat from step 2.
4. Click on any item of the list except creating a new score.

Expected results
The selected score is opened.

Actual results
MuseScore crashes.

Version
MuseScore 3 from master branch.
The issue is not present in MuseScore 2 since a single click activation behavior is explicitly turned off there.

There is a pull request that is intended to fix this issue.


Comments