rockpool icon indicating copy to clipboard operation
rockpool copied to clipboard

"Install app or watchface from file" does not find any files

Open henk84 opened this issue 2 years ago • 0 comments

Selecting it just shows a screen with "nemo" in the upper right corner, "No files" about 1/3 down the middle, and nothing else.

https://github.com/abranson/rockpool/blob/3d8423af3c61699e87e171b35ec195c6274ae44d/rockwork/qml/pages/ImportPackagePage.qml#L15 might be hardcoding this to look in /home/nemo AFAICT. This is not (always) a good choice because in some cases this path does not exist. The user on my phone is called "defaultuser" but it could be called whatever since sailfish supports multiple user accounts.

If this is the cause, rockpool should figure out what the current user’s home directory is and use that. But only as a starting point for navigation, not as the only path to pick from.

I’m not sure that’s the cause because even when putting a .pbw file in /home/nemo/, it does not show up there. This might be caused by something like selinux/apparmor or so, though.

In any case: I can’t pick which file to install from and the filechooser does not seem to allow navigation to where I put the file I wanted to install.

Also possibly related: #18

henk84 avatar Feb 06 '23 11:02 henk84