Cool VL Viewer forum

View unanswered posts | View active topics It is currently 2024-04-24 00:43:47



Reply to topic  [ 6 posts ] 
Where are the location floater windows saved on logoff? 
Author Message

Joined: 2012-01-19 03:18:40
Posts: 196
Location: Sydney, Australia (UTC +10)
Reply with quote
Can anyone tell me where Cool VL Viewer stores the location of floaters, like Inventory for example, between logon sessions? Over the last few days, my viewer doesn't seem to be remembering the last location of my floaters, and I'd like to see if I can fix that.


2020-05-07 00:17:59
Profile

Joined: 2009-03-17 18:42:51
Posts: 5550
Reply with quote
They are stored in the saved user_settings/settings_coolvlviewer_BRANCH.xml file, with BRANCH currently being 12624 (for v1.26.24).

The floater positions are stored in the *Rect debug settings.

If the floaters position get forgotten, check in the viewer log (just after "LLAppViewer::cleanup: Saving Data...") whether it actually saves it or not (if not, it could be a file permission issue, or possibly a crash on logout that you should then report to me with proper stack trace log or crash dump file).


2020-05-07 10:36:06
Profile WWW

Joined: 2012-01-19 03:18:40
Posts: 196
Location: Sydney, Australia (UTC +10)
Reply with quote
I took a look in the viewer log, and the settings save appears to work fine (and the files' last-modified date/time stamps are correct):
Code:
2020-05-11T00:58:53Z INFO: LLAppViewer::cleanup: Saving Data...
2020-05-11T00:58:53Z INFO: LLControlGroup::saveToFile: Saved to /Users/zal/Library/Application Support/SecondLife/user_settings/settings_coolvlviewer_12624.xml
2020-05-11T00:58:53Z INFO: LLControlGroup::saveToFile: Saved to /Users/zal/Library/Application Support/SecondLife/linyifei_resident/settings_per_account_coolvlviewer.xml
2020-05-11T00:58:53Z INFO: LLAppViewer::cleanup: All user settings saved
Wile leaving my avatar stationary in a sandbox, I experimented with comparing several versions of settings_coolvlviewer_12624.xml where I'd moved the Inventory floater to various different locations on the screen before quitting, using a diff checker. Apart from minute variations in my camera-position numbers, the files seemed to be identical in content. I am puzzled.

Should I post a full bug-report?


2020-05-11 01:42:26
Profile

Joined: 2009-03-17 18:42:51
Posts: 5550
Reply with quote
What does the log say about the loading of the settings (LLAppViewer::initConfiguration) ?

Do you change the viewer window size between or during sessions ? If you do, and the new size on login is too small to fit the floaters positions, then they will be moved to fit the window again...

I certainly do not observe an issue here... In doubt, delete (or backup and move) the global settings (not "per_account") file and start afresh.


2020-05-11 07:28:43
Profile WWW

Joined: 2012-01-19 03:18:40
Posts: 196
Location: Sydney, Australia (UTC +10)
Reply with quote
The load looks as if it is working normally:
Code:
2020-05-12T00:04:57Z INFO: LLAppViewer::initConfiguration: Loading settings file list /Applications/CoolVLViewer1.26.24.18.app/Contents/Resources/app_settings/settings_files.xml
2020-05-12T00:04:57Z INFO: LLAppViewer::loadSettingsFromDirectory: Attempting to load settings for the group Global - from location Default
2020-05-12T00:04:57Z INFO: LLAppViewer::loadSettingsFromDirectory: Loaded settings file /Applications/CoolVLViewer1.26.24.18.app/Contents/Resources/app_settings/settings.xml
2020-05-12T00:04:57Z INFO: LLAppViewer::loadSettingsFromDirectory: Attempting to load settings for the group PerAccount - from location Default
2020-05-12T00:04:57Z INFO: LLAppViewer::loadSettingsFromDirectory: Loaded settings file /Applications/CoolVLViewer1.26.24.18.app/Contents/Resources/app_settings/settings_per_account.xml
2020-05-12T00:04:57Z INFO: LLAppViewer::loadSettingsFromDirectory: Attempting to load settings for the group Global - from location User
2020-05-12T00:04:57Z INFO: LLAppViewer::loadSettingsFromDirectory: Loaded settings file /Users/zal/Library/Application Support/SecondLife/user_settings/settings_coolvlviewer_12624.xml
No, I don't change my viewer window size between sessions. I run with a full-screen window (not in full-screen mode), so there should be no problem with the old floater locations not being within the window.

I tried backing-up and deleting my global settings file. After restarting with a newly created default file, the problem of floater placement memory was fixed. For now I've put my old (obviously a bit corrupted) settings file back, and I'll create a new one when I have time to go through fixing up all my modified settings...

Thank you for your advice.


2020-05-12 00:18:43
Profile

Joined: 2009-03-17 18:42:51
Posts: 5550
Reply with quote
linyifei wrote:
I tried backing-up and deleting my global settings file. After restarting with a newly created default file, the problem of floater placement memory was fixed. For now I've put my old (obviously a bit corrupted) settings file back, and I'll create a new one when I have time to go through fixing up all my modified settings...
I would be interested in this corrupted settings file, so that I can see if it is possible to modify the code to detect this corruption. Do not publish it on the forum however (it contains your password hash, and even if "encrypted" via the XORing with your network interface MAC address hash, it is unwise to let it in the open). If you agree, zip it (with a zip password) and send it to my email address (sldev at free.fr), then send me the password for the zip file as a PM on this forum.


2020-05-12 07:54:35
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 6 posts ] 

Who is online

Users browsing this forum: No registered users and 34 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software.