Skip to content

[Incorrect file picker on some Linux distros] Pressing Escape to cancel Export dialog dumps core, synchronous delete in ExportDialog.qml cancel handler #33888

Description

@pekkarinen

Issue type

Crash or freeze

Description with steps to reproduce

  1. open any score
  2. file > export > export
  3. close file dialog with Esc
  4. Aborted (core dumped)

Expected behaviour:
Dialog closes

Actual behaviour:
Process aborts

Supporting files, videos and screenshots

10:48:48.493 | DEBUG | main_thread     | ShortcutsController::activate | Esc
10:48:48.493 | INFO  | main_thread     | ActionsDispatcher::doDispatch | try call action: action://cancel
10:48:48.493 | INFO  | main_thread     | ActionsDispatcher::doDispatch | try call action: nav-escape
10:48:48.497 | ERROR | main_thread     | Qt              | Object 0x55e921779430 destroyed while one of its QML signal handlers is in progress.
Most likely the object was deleted synchronously (use QObject::deleteLater() instead), or the application is running a nested event loop.
This behavior is NOT supported!
qrc:/qt/qml/MuseScore/Project/ExportDialog.qml:157: function() { [native code] }
/tmp/.mount_MuseScXyZbAr/AppRun: line 26: …  Aborted (core dumped)  "${APPDIR}/bin/mscore4portable" "$@"

In which versions of MuseScore Studio is this issue present?

4.7.3

Regression

Yes, this used to work in a previous version of MuseScore 4.x

Actually not sure if regression, though pretty sure I've closed this dialog using Esc in the past. Good luck, and thanks for the software :)

Operating system

CachyOs Linux, x86_64

Additional context

Reproducible with the AppImage's own bundled Qt, so this appears to be a MuseScore logic bug rather than a system-Qt-version regression (distinct from the dialog-fails-to-open reports #33289 / #33341, which involve newer system Qt and a null export model).

Clicking "Cancel" in "Look in..." file picker opened after Export works.

Platform information

  • MuseScore version: 4.7.3, build 260608135 (official AppImage)
  • OS: CachyOS Linux (Arch-based), x86_64
  • Window manager: i3 (X11)
  • Qt: bundled with the AppImage

Checklist

  • This report follows the guidelines for reporting bugs and issues
  • I have verified that this issue has not been logged before, by searching the issue tracker for similar issues
  • I have attached all requested files and information to this report
  • I have attempted to identify the root problem as concisely as possible, and have used minimal reproducible examples where possible

Metadata

Metadata

Assignees

No one assigned

    Labels

    P1Priority: HighcommunityIssues particularly suitable for community contributors to work oncrashIssues involving a crash of MuseScoreos: linuxPotentially specific to Linux-based operating systemsregression MS4Regression on a prior release

    Type

    No fields configured for Bug.

    Projects

    Status
    Available
    Status
    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions