flathub / org.qbittorrent.qBittorrent

https://flathub.org/apps/details/org.qbittorrent.qBittorrent
9 stars 12 forks source link

Free space not showing on status bar webui #144

Closed alexnt85 closed 6 months ago

alexnt85 commented 8 months ago

I moved from native installation to flatpak. I noticed that there is no information for disk free space availability and says "free space: unknown" on webui.

Erick555 commented 8 months ago

It correctly shows available free space on adding torrent dialog though. Maybe webui uses different technique which is blocked by sandbox.

alexnt85 commented 8 months ago

It correctly shows available free space on adding torrent dialog though. Maybe webui uses different technique which is blocked by sandbox.

I checked and doesn't show correct free space on dialog either, it showed some MBs instead of GBs. The save path is on an external hdd. Maybe this is the reason. I need webui because qbt is on another machine and I need free space information when accessing from webui. I returned to old 4.5.2 native version, sadly.

Erick555 commented 8 months ago

Yes it could be related to external drive. You may try running with --device=all permission:

flatpak run --device=all org.qbittorrent.qBittorrent

alexnt85 commented 8 months ago

--device=all

Not ideal for me, too permissive. I will stay on native at the moment and wait for an update to the latest. I just wanted to try latest version because of an issue on the older 4.5.2. Thnx!

Erick555 commented 8 months ago

The app has --filesystem=host permissions already and you can't get any worse than that.