You are here

qBitTorrent not saving state

6 posts / 0 new
Last post
raychi
Offline
Last seen: 10 years 6 months ago
Joined: 2010-09-16 15:14
qBitTorrent not saving state

New user of qBittorrent Portable 3.1.9 (2014-03-07). The app is not saving any state/settings.

Upon first launch, there's a legal notice, which I have to click agree. Then the app window opens (with default pos/size), followed by a file association prompt, which I clicked No.

If I quit the app, and launch it again, it behaves as if it's launched first time. I have to answer both questions again. The worst part is none of the settings I modified, window size/pos, torrents that are downloading, are preserved.

This is a windows 7 x64 system. The app is installed to (NTFS)
C:\Util\Network\Torrent\qBittorrentPortable

This is reproducible on two different Win7 systems, and same behavior if I install to different locations (shorter path).

The following files are modified when I exit qBitTorrent (file attribute 'Archive (A)' is changed from not set to set.)

qBittorrentPortable\Data\settings\qBittorrentPortableSettings.ini
qBittorrentPortable\Data\settings\AppData_qBittorrent\qBittorrent.ini
qBittorrentPortable\Data\settings\LocalAppData_qBittorrent\cache\ses_state
qBittorrentPortable\Data\settings\LocalAppData_qBittorrent\geoip\GeoIP.dat
qBittorrentPortable\Data\settings\LocalAppData_qBittorrent\nova\fix_encoding.py
qBittorrentPortable\Data\settings\LocalAppData_qBittorrent\nova\helpers.py
qBittorrentPortable\Data\settings\LocalAppData_qBittorrent\nova\nova2.py
qBittorrentPortable\Data\settings\LocalAppData_qBittorrent\nova\nova2dl.py
qBittorrentPortable\Data\settings\LocalAppData_qBittorrent\nova\novaprinter.py
qBittorrentPortable\Data\settings\LocalAppData_qBittorrent\nova\socks.py
qBittorrentPortable\Data\settings\LocalAppData_qBittorrent\nova\__init__.py
qBittorrentPortable\Data\settings\LocalAppData_qBittorrent\nova\engines\btdigg.png
qBittorrentPortable\Data\settings\LocalAppData_qBittorrent\nova\engines\btdigg.py
qBittorrentPortable\Data\settings\LocalAppData_qBittorrent\nova\engines\extratorrent.png
qBittorrentPortable\Data\settings\LocalAppData_qBittorrent\nova\engines\extratorrent.py
qBittorrentPortable\Data\settings\LocalAppData_qBittorrent\nova\engines\kickasstorrents.png
qBittorrentPortable\Data\settings\LocalAppData_qBittorrent\nova\engines\kickasstorrents.py
qBittorrentPortable\Data\settings\LocalAppData_qBittorrent\nova\engines\legittorrents.png
qBittorrentPortable\Data\settings\LocalAppData_qBittorrent\nova\engines\legittorrents.py
qBittorrentPortable\Data\settings\LocalAppData_qBittorrent\nova\engines\mininova.png
qBittorrentPortable\Data\settings\LocalAppData_qBittorrent\nova\engines\mininova.py
qBittorrentPortable\Data\settings\LocalAppData_qBittorrent\nova\engines\piratebay.png
qBittorrentPortable\Data\settings\LocalAppData_qBittorrent\nova\engines\piratebay.py
qBittorrentPortable\Data\settings\LocalAppData_qBittorrent\nova\engines\torrentreactor.png
qBittorrentPortable\Data\settings\LocalAppData_qBittorrent\nova\engines\torrentreactor.py
qBittorrentPortable\Data\settings\LocalAppData_qBittorrent\nova\engines\vertor.png
qBittorrentPortable\Data\settings\LocalAppData_qBittorrent\nova\engines\vertor.py
qBittorrentPortable\Data\settings\LocalAppData_qBittorrent\nova\engines\__init__.py

I do use plenty of other portable apps from your site. This is the first time I've seen an app not preserve its settings.

This feels like a bug, please look into this.

John T. Haller
John T. Haller's picture
Offline
Last seen: 10 hours 45 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Windows Size / Position

As a general rule, these are maintained by the host OS. Only some specific apps maintain these internally.

As for torrents, these will not be maintained if you switch directories between PCs. Is this always on the same PC? And are you only launching it via qBittorentPortable.exe (aka never via file extension or a pinned icon)?

Sometimes, the impossible can become possible, if you're awesome!

raychi
Offline
Last seen: 10 years 6 months ago
Joined: 2010-09-16 15:14
Upon exit and relaunch, the

Upon exit and relaunch, the app appears to completely forgotten all of its settings.

- the legal message (that says will only be shown once) is displayed again
- the file association dialog is shown again
- the windows pos/size is reverted back to initial size (on windows, the application is responsible to store this)
- all customization/setting is lost (port setting, configuration, etc)

The app folder is not relocated at all.
The app is always launched via qBittorrentPortable.exe

Something fundamental about the way this portable app reads/writes its setting is broken. This is reproducible on different systems 100% of the time.

Steps to reproduce:

1) install the app
2) start the application
2) make some customization, set a config setting, change window size, load up a torrent file, etc.
3) exit the app
4) start the application again

observed behavior:

a) legal prompt that says will be shown once, is shown again
b) file association dialog is shown again
c) all customization in the app is lost (settings, torrents, window size, etc)

John T. Haller
John T. Haller's picture
Offline
Last seen: 10 hours 45 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Association

The association dialog should never be shown at all. What OS are you running on? And do you have anything odd running like an alternate Start menu?

Sometimes, the impossible can become possible, if you're awesome!

raychi
Offline
Last seen: 10 years 6 months ago
Joined: 2010-09-16 15:14
Windows 7 Enterprise 64bit

Windows 7 Enterprise 64bit SP1.

Not running alternative start menu item. This happens on two different Win7 machine I tried.

raychi
Offline
Last seen: 10 years 6 months ago
Joined: 2010-09-16 15:14
Looks like some settings are

Looks like some settings are saved to ini file, it's just not being read by the application for some reason.

Data\settings\AppData_qBittorrent\qBittorrent.ini
...
[Preferences]
Win32\NeverCheckFileAssocation=true
[LegalNotice]
Accepted=true
...

Log in or register to post comments