File Browser support and feedback thread

This is fixed in version 3.7.0 :slight_smile: (not yet in Space Inspector though)

3 Likes

preview of plain txt files seems to be gone (at least with version 3.8.1 running at SFOS3.4 on a J1)…

log:

...
unknown:0 - checking monitored config file: "/home/nemo
/.config/harbour-file-browser/harbour-file-browser/bookmark
s.json" , blocked: false , notify: true , files: () , dirs:
()
[D] unknown:0 - -> switching to watch file
[D] unknown:0 - new mount detected: "/var/systemlog" "/dev/
mmcblk0p9" "ext4" "/var/systemlog"
[D] unknown:0 - new mount detected: "/drm" "/dev/mmcblk0p19
" "ext4" "/drm"
[D] unknown:0 - new mount detected: "sd256hebtrfs" "/dev/mm
cblk1p1" "btrfs" "/run/media/nemo/sd256hebtrfs"
[D] expression for menu:95 - Musik shortcut alternatives: [
LocationAlternative(Interner Speicher, /home/nemo/Music, In
terner Speicher),LocationAlternative(sd256hebtrfs, /run/med
ia/nemo/sd256hebtrfs/Musik, sd256hebtrfs)]
[D] onStatusChanged:221 - [shortcuts loader] status: 1 Shor
tcutsPage_QMLTYPE_163(0x4ff25978, "ShortcutsPage")
[D] onStatusChanged:205 - [startup] initial page is activat
ing
[D] _doStartup:251 - [startup] pushing initial stack (0)
[D] goToFolder:115 - switching to: /home/nemo
[D] goToFolder:153 - - searching...
[D] goToFolder:165 - - no shared tree
[D] goToFolder:223 - - animator: inserting 3 page(s)
[D] unknown:0 - switching to watching for file system updat
es in ""
[D] unknown:0 - checking monitored config file: "/home/nemo
/.config/harbour-file-browser/harbour-file-browser/clipboar
d.json" , blocked: false , notify: true , files: () , dirs:
()
[D] unknown:0 - -> switching to watch file
[D] unknown:0 - lstat failed for "/home/nemo/rpmbuild/BUILD
/gst-libav-1.28.0/armv7hl-meego-linux/meson-logs/install-lo
g.txt" -1 2 false
[D] unknown:0 - cannot put special files in the clipboard:
"/home/nemo/rpmbuild/BUILD/gst-libav-1.28.0/armv7hl-meego-l
inux/meson-logs/install-log.txt"
[D] unknown:0 - lstat failed for "/home/nemo/rpmbuild/BUILD
/gst-libav-1.28.0/armv7hl-meego-linux/meson-logs/meson-log.
txt" -1 2 false
[D] unknown:0 - cannot put special files in the clipboard:
"/home/nemo/rpmbuild/BUILD/gst-libav-1.28.0/armv7hl-meego-l
inux/meson-logs/meson-log.txt"
[D] unknown:0 - lstat failed for "/home/nemo/rpmbuild/BUILD
/gst-libav-1.28.0/armv7hl-meego-linux/.ninja_log" -1 2 fals
e
[D] unknown:0 - cannot put special files in the clipboard:
"/home/nemo/rpmbuild/BUILD/gst-libav-1.28.0/armv7hl-meego-l
inux/.ninja_log"
[D] unknown:0 - cannot resume without being paused
[D] unknown:0 - "note: requested full directory listing" [s
ilent] | in: "" mode: 1 200
[D] unknown:0 - "note: started with FullMode" [silent] | in
: "/" mode: 1 200
[D] unknown:0 - "note: name filter cleared" [silent] | in:
"/" mode: 1 200
[W] reload:15 - Error: Qt.createQmlObject(): failed to crea
te object:
file:///usr/share/harbour-file-browser/qml/modules/Opal
/SmartScrollbar/SmartScrollbar:4:17: Private.Scrollbar is n
ot a type
[W] reload:16 - [BUG] failed to load smart scrollbar
[W] reload:17 - [BUG] this probably means the private API h
as changed
[D] unknown:0 - switching to watching for file system updat
es in ""
[D] unknown:0 - "note: requested full directory listing" [s
ilent] | in: "" mode: 1 200
[D] unknown:0 - "note: started with FullMode" [silent] | in
: "/home" mode: 1 200
[D] unknown:0 - "note: name filter cleared" [silent] | in:
"/home" mode: 1 200
[W] reload:15 - Error: Qt.createQmlObject(): failed to crea
te object:
file:///usr/share/harbour-file-browser/qml/modules/Opal
/SmartScrollbar/SmartScrollbar:4:17: Private.Scrollbar is n
ot a type
[W] reload:16 - [BUG] failed to load smart scrollbar
[W] reload:17 - [BUG] this probably means the private API h
as changed
[D] goToFolder:243 - - page stack is busy, delaying finaliz
ing navigation for /home/nemo | search mode: undefined
[D] finishNavigationLater:69 - [navigation] app state: 2 ex
pecting 4 for /home/nemo
[D] _doStartup:257 - [startup] startup is done
[D] onCompleted:321 - running File Browser: version 3.8.1-1
(Harbour)
[D] onCompleted:323 - info: forced Harbour compliance
[D] onCompleted:324 - enabled features: sailjail = 1, shari
ng = 1 (1), PDF viewer = 1, storage settings = 1
[D] unknown:0 - switching to watching for file system updat
es in "/"
QInotifyFileSystemWatcherEngine::addPaths: inotify_add_watc
h failed: Keine Berechtigung
[D] unknown:0 - switching to polling every 5 seconds for fi
le system updates in "/" | entries: 47
[D] unknown:0 - switching to watching for file system updat
es in "/home"
[D] unknown:0 - switching to watching for file system updat
es in ""
[D] unknown:0 - "note: requested full directory listing" [s
ilent] | in: "" mode: 1 200
[D] unknown:0 - "note: started with FullMode" [silent] | in
: "/home/nemo" mode: 1 200
[D] unknown:0 - "note: name filter cleared" [silent] | in:
"/home/nemo" mode: 1 200
[W] reload:15 - Error: Qt.createQmlObject(): failed to crea
te object:
file:///usr/share/harbour-file-browser/qml/modules/Opal
/SmartScrollbar/SmartScrollbar:4:17: Private.Scrollbar is n
ot a type
[W] reload:16 - [BUG] failed to load smart scrollbar
[W] reload:17 - [BUG] this probably means the private API h
as changed
[D] onStatusChanged:596 - [page] activating /home/nemo
[D] onStatusChanged:599 - [page] activating done for /home/
nemo
[D] unknown:0 - switching to watching for file system updat
es in "/home/nemo"
[D] expression for onBusyChanged:158 - [navigation] navigat
ion ended successfully with DirectoryPage
[D] pushAttached:30 - [attached] pushing attached page: Sho
rtcutsPage_QMLTYPE_163(0x4ff25978, "ShortcutsPage") with cu
rrent forward null false
[W] unknown:66 - file:///usr/lib/qt5/qml/Sailfish/Silica/pr
ivate/QuickScroll.qml:66: TypeError: Cannot call method 'de
stroy' of null
[D] unknown:0 - writing: "General/FilenameElideMode" = QVar
iant(QString, "fade") in "/home/nemo/.config/harbour-file-b
rowser/harbour-file-browser/harbour-file-browser.conf"
[D] unknown:0 - writing: "General/DefaultFilterAction" = QV
ariant(QString, "filter") in "/home/nemo/.config/harbour-fi
le-browser/harbour-file-browser/harbour-file-browser.conf"
[D] unknown:0 - writing: "Transfer/DefaultAction" = QVarian
t(QString, "none") in "/home/nemo/.config/harbour-file-brow
ser/harbour-file-browser/harbour-file-browser.conf"
[D] unknown:0 - writing: "General/InitialDirectoryMode" = Q
Variant(QString, "home") in "/home/nemo/.config/harbour-fil
e-browser/harbour-file-browser/harbour-file-browser.conf"
[D] unknown:0 - writing: "General/InitialPageMode" = QVaria
nt(QString, "folder") in "/home/nemo/.config/harbour-file-b
rowser/harbour-file-browser/harbour-file-browser.conf"
[D] unknown:0 - writing: "View/SortOrder" = QVariant(QStrin
g, "default") in "/home/nemo/.config/harbour-file-browser/h
arbour-file-browser/harbour-file-browser.conf"
[D] unknown:0 - writing: "View/SortRole" = QVariant(QString
, "name") in "/home/nemo/.config/harbour-file-browser/harbo
ur-file-browser/harbour-file-browser.conf"
[D] unknown:0 - writing: "View/PreviewsSize" = QVariant(QSt
ring, "medium") in "/home/nemo/.config/harbour-file-browser
/harbour-file-browser/harbour-file-browser.conf"
[D] unknown:0 - writing: "View/ViewMode" = QVariant(QString
, "list") in "/home/nemo/.config/harbour-file-browser/harbo
ur-file-browser/harbour-file-browser.conf"
[D] on__ReadyChanged:43 - [Opal.SupportMe] showing support
popup now
[D] on__ReadyChanged:44 - [Opal.SupportMe] starts: 271 | la
st asked: 255
[D] on__ReadyChanged:43 - [Opal.SupportMe] sailjail-popup:
showing support popup now
[D] on__ReadyChanged:44 - [Opal.SupportMe] sailjail-popup:
starts: 62 | last asked: 11
[D] :5 - [Opal.About] license not cached at /tmp/GPL-3.0-or
-later.json, skipping download in offline mode
[D] :5 - [Opal.About] license not cached at /tmp/GPL-2.0-or
-later.json, skipping download in offline mode
[D] :5 - [Opal.About] license not cached at /tmp/MIT.json,
skipping download in offline mode
[D] :5 - [Opal.About] license not cached at /tmp/GPL-3.0-or
-later.json, skipping download in offline mode
[W] expression for onBusyChanged:110 - [navigation] issue d
etected: active page is invisible SupportDialog_QMLTYPE_128
(0x50d57f98)
[C] expression for onBusyChanged:119 - [navigation] invisib
le page is unknown and cannot be fixed automatically
[W] expression for onBusyChanged:110 - [navigation] issue d
etected: active page is invisible SupportDialog_QMLTYPE_128
(0x524c56f0)
[C] expression for onBusyChanged:119 - [navigation] invisib
le page is unknown and cannot be fixed automatically
[D] onStatusChanged:596 - [page] activating /home/nemo
[D] onStatusChanged:599 - [page] activating done for /home/
nemo
[D] unknown:0 - "note: requested partial directory listing"
[silent] | in: "/home/nemo" mode: 1 200
[D] unknown:0 - "note: started with DiffMode" [silent] | in
: "/home/nemo" mode: 2 200
[D] unknown:0 - "note: name filter cleared" [silent] | in:
"/home/nemo" mode: 2 200
[D] goToFolder:115 - switching to: /home/nemo/.config
[D] goToFolder:123 - - starting at directory
[D] unknown:0 - writing: "General/LastDirectoryPath" = QVar
iant(QString, "/home/nemo/.config") in "/home/nemo/.config/
harbour-file-browser/harbour-file-browser/harbour-file-brow
ser.conf"
[D] goToFolder:150 - navigation stacks: [{"path":"/home/nem
o","type":"dir"}] || {"path":"/home/nemo/.config","type":"d
ir"} || []
[D] goToFolder:153 - - searching...
[D] goToFolder:167 - - shared tree found
[D] goToFolder:176 - - determined shared tree:  /home/nemo
//.config
[D] goToFolder:234 - - pushing 1 page(s)
[D] unknown:0 - switching to watching for file system updat
es in ""
[D] unknown:0 - "note: requested full directory listing" [s
ilent] | in: "" mode: 1 200
[D] unknown:0 - "note: started with FullMode" [silent] | in
: "/home/nemo/.config" mode: 1 200
[D] unknown:0 - "note: name filter cleared" [silent] | in:
"/home/nemo/.config" mode: 1 200
[W] reload:15 - Error: Qt.createQmlObject(): failed to crea
te object:
file:///usr/share/harbour-file-browser/qml/modules/Opal
/SmartScrollbar/SmartScrollbar:4:17: Private.Scrollbar is n
ot a type
[W] reload:16 - [BUG] failed to load smart scrollbar
[W] reload:17 - [BUG] this probably means the private API h
as changed
[D] onStatusChanged:596 - [page] activating /home/nemo/.con
fig
[D] onStatusChanged:599 - [page] activating done for /home/
nemo/.config
[D] goToFolder:243 - - page stack is busy, delaying finaliz
ing navigation for /home/nemo/.config | search mode: undefi
ned
[D] finishNavigationLater:69 - [navigation] app state: 4 ex
pecting 4 for /home/nemo/.config
[D] unknown:0 - switching to watching for file system updat
es in "/home/nemo/.config"
QInotifyFileSystemWatcherEngine::addPaths: inotify_add_watc
h failed: Keine Berechtigung
[D] unknown:0 - switching to polling every 5 seconds for fi
le system updates in "/home/nemo/.config" | entries: 24
[D] expression for onBusyChanged:158 - [navigation] navigat
ion ended successfully with DirectoryPage
[D] pushAttached:30 - [attached] pushing attached page: Sho
rtcutsPage_QMLTYPE_163(0x4ff25978, "ShortcutsPage") with cu
rrent forward null false
[W] unknown:0 - QFileInfo::absolutePath: Constructed with e
mpty filename
[W] modifyPageStack:113 - Error while modifying page stack:
Error: Error while loading page: file:///usr/share/harbour
-file-browser/qml/pages/ViewPage.qml:79 Cannot assign to no
n-existent property "textLeftPadding"

[W] unknown:483 - file:///usr/lib/qt5/qml/Sailfish/Silica/P
ageStack.js:483: Error: Error while loading page: file:///u
sr/share/harbour-file-browser/qml/pages/ViewPage.qml:79 Can
not assign to non-existent property "textLeftPadding"

Thanks for the log! I’m glad and surprised that it runs at all on SFOS 3.4.

This issue is probably caused by how I fixed the preview’s page margins. You can try manually deleting the offending line (ViewPage.qml, line 79) to see if it works then. This change will mess up the page layout but otherwise it should be fine.

I don’t intend to actively support anything older than 4.x because I don’t have a device running anything older anymore. If the fix is simple I can include it in the next release though.

Is there anything else broken on 3.4? Is sharing working?

1 Like

After renaming a file, the filename appears twice. If one display again the directory content the filename is listed once.


A small display bug ?

3 Likes

I’m having trouble with file permissions. Any time I move/copy a file to another directory, permission is changed. Mainly with File Browser Root, permission changes from -rw-r–r– to -rw—— (0644 to 0600).

Didn’t investigate further, but it happened 100% the last week, on both my X10III and C2. Both SFOS 5.0.0.77. And FB 3.9.1

Please tell me how to debug.

Yes, that’s bug; thank you for reporting! It sometimes happens and I didn’t find the cause yet.

It’s low priority for me because I don’t have enough time for debugging and there’s an easy workaround: going out and back into the folder fixes it (as you said already).

2 Likes

Oh that’s a new one for me. Thanks for reporting! Is it ā€œmainlyā€ or ā€œonlyā€ with root mode? Does it only happen when copying a single file, a bunch of files, or a directory with files in it?

I’ll try to investigate your questions ASAP. Might take a day or two though.

Seem to be only in root mode.

It happens with all of them. It also seem to always remove all permissions but Owners. No matter if I copy into user space or some root directory.

1 Like

Thanks for testing! I can’t reproduce it though. Can you give me a step by step example @eson? I tested copying files and folders owned by root and by defaultuser and they all kept their permissions.

I’ll try to make a step by step instruction tomorrow, but I doubt that it helps, since it is just ordinary straightforward copying/moving. I would rather see if anyone other than me has the same problem. It could be machine-/user system-specific.

As I’m working on translating the Dee app, I will use that as an example.

First I use Sailfish connect to send the .qm file from PC -rw-r–r– to phone, still -rw-r–r–.

I cut the file from ~/defaultuser/Downloads/ and navigate to /usr/share/harbour-dee/translations where I paste the .qm file. And there it is… -rw--------.

This goes for my X10III and C2 both.

2 Likes

It was an issue with cut-and-paste. I fixed it and it will be in the next update, once I find some time to push that out :slight_smile:

7 Likes

Thank you, for doing the hard work! :+1:

1 Like

I’m currently struggling to get Weblate working again after moving all my apps from Github to Codeberg (weblate#18886 and related). I’d like to fix that first before a new release.

4 Likes

Good choice though! :wink:

2 Likes

Version 3.10.0 is now available on OpenRepos. It’s waiting in Harbour too but they said they have a queue of a few weeks at the moment.

8 Likes

Thank you very much! My most used app is back on top! :+1:

2 Likes

Can the timeout values of this ā€œFile Browser not respondingā€ requester be increased?

Background:
I have mounted my NAS with rclone into SailfishOS in my home directory. When accessing it, it takes some time (usually 4-10 seconds) to connect to my NAS and load the content, and then this annoying requester appears right after some seconds. You are not forced to click any of the options in the requester—it will disappear by itself when the connection is established, so increasing the timeout should be the easiest option. But I fear this message-window is from SailfishOS itself.

Sadly, that’s a system thing. I don’t know if that can be changed somewhere…

However, File Browser shouldn’t hang when opening a slow folder. Folder loading is done in a separate thread and this shouldn’t happen. So yes, that’s a bug.

There’s another bug in your screenshot: have you changed the default font size? The spacing in the bookmarks list looks off.