DocumentPickerPage crashed

REPRODUCIBILITY:
100%

OS VERSION:
5.0.0.62, 5.0.0.55

HARDWARE:
C2 (5.0.0.62), XA2 (5.0.0.55)

UI LANGUAGE:
deutsch

REGRESSION:
yes

DESCRIPTION:

Calling the Sailfish DocumentPickerPage results in a blank page. The journalctl says:

Apr 14 14:01:27 JollaC2 harbour-ieligcalc[4683]: [W] unknown:119 - file:///usr/lib64/qt5/qml/Sailfish/Pickers/private/ContentModel.qml:119:46: QML DocumentGalleryModel: An error was encountered connecting to the document gallery
Apr 14 14:01:27 JollaC2 harbour-ieligcalc[4683]: [W] unknown:0 - Error creating tracker connection: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: org.freedesktop.DBus.Error.ServiceUnknown

This will only happen when the app is started at the device.
When starting the app inside the SDK the picker page shows the file in the document folder.

PRECONDITIONS:

Create the app with the latest released SDK (3.12.5) with the SFOS 5.0.0.62-aarch6 build engine.
Use “Deploy as rpm” as Depoyment option.
There are no filters active for the docment picker page (dosn’t real work).

STEPS TO REPRODUCE:

  1. Use lastest released SDK (3.12.5) with SFOS 5.0.0.62 aarch64
  2. Create app and deploy with “Deploy as rpm”
  3. Start app and start the DocumentPickerPage

EXPECTED RESULT:

Show the files in the document folder

ACTUAL RESULT:

blank page

MODIFICATIONS:

OpenRepos

ADDITIONAL INFORMATION:

Sailjail permissions:
Permissions=PublicDir;Documents;Downloads

[ediit:
XA2 with 5.0.0.55 added → same bug
X with 4.6.0.15 works fine]

Opening the document folder MultiFilePickerDialog shows:
[W] unknown:15 - file:///usr/lib64/qt5/qml/Sailfish/Pickers/private/DirectoryDialog.qml:15:1: QML DirectoryDialog: <Unknown File>:10: Cannot assign [undefined] to QStringList
but the download folder works fine.
[edit:] shows the files but selecting one does not work:
W] unknown:15 - file:///usr/lib64/qt5/qml/Sailfish/Pickers/private/DirectoryDialog.qml:15:1: QML DirectoryDialog: <Unknown File>:10: Cannot assign [undefined] to QStringList

Using the DownloadPickerPage (on the download folder) results in a blank page together with this warning:
[W] unknown:20 - file:///usr/lib64/qt5/qml/Sailfish/Pickers/DownloadPickerPage.qml:20: ReferenceError: ContentType is not defined

I found a similar issue that only occurs in landscape mode:

Are you testing in landscape orientation bychance?

Same bug in landscape orientation.

After some testing with my phones for me this bug is presented with SFOS 5. My Sony X with 4.6.0.15 works fine.

[edit: bug also on Sony X. When start the app from QT creator this bug will not happen. I have forgotten this. I have to start the app direct on the device and then the bug is there]

1 Like