score icon indicating copy to clipboard operation
score copied to clipboard

FileDialog fails in AppImage but works with built version

Open samamou opened this issue 2 weeks ago • 4 comments

Running with the continuous AppImage ossia.score-master-linux-x86_64.AppImage. Works with the source build. I was only able to reproduce this on Linux, works on macOS with the same .AppImage.

error message :

Warning: file:///.../Filedialog.qml:15:5: QML FileDialog: Failed to load non-native FileDialog implementation:
qrc:/qt-project.org/imports/QtQuick/Dialogs/quickimpl/qml/FileDialog.qml:106 Type DialogsImpl.FolderBreadcrumbBar unavailable
qrc:/qt-project.org/imports/QtQuick/Dialogs/quickimpl/qml/FolderBreadcrumbBar.qml:65 Non-existent attached object

I tried with a minimal repro with this qml code

import QtQuick
import QtQuick.Controls
import QtQuick.Dialogs

ApplicationWindow {
    visible: true
    width: 400
    height: 300
    
    Button {
        text: "Test FileDialog"
        onClicked: fileDialog.open()
    }
    
    FileDialog {
        id: fileDialog
        title: "Test"
    }
}

and i ran with ./ossia.score-master-linux-x86_64.AppImage --ui test.qml (both --ui and --ui-debug don't work)

samamou avatar Dec 04 '25 23:12 samamou

I see the issue. On Linux Qt is built with -no-feature-accessibility as it has a performance cost. But it was added here in Qt: FolderBreadcrumbBar.qml https://github.com/qt/qtdeclarative/commit/ab83b2d2d34095bd56ca0e9e044374d314277321

The fix is for me to rebuild without -no-feature-accessibility or to ask Qt to revert / fix this patch so that this is not set when the Qt feature is not built.

jcelerier avatar Dec 06 '25 22:12 jcelerier

ok, updated the sdk for x86-64 linux, will need to do it for aarch64 afterwards

jcelerier avatar Dec 07 '25 14:12 jcelerier

bleeding edge? updated 2 weeks ago Image

samamou avatar Dec 08 '25 16:12 samamou

there wasn't a new build yet, I only updated the SDK ; i need to push something to see if it takes effect

jcelerier avatar Dec 08 '25 17:12 jcelerier

can you check if it works on the last continuous build?

jcelerier avatar Dec 11 '25 01:12 jcelerier