Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD Beta Forum
Liath
Novice


Joined: 25 Aug 2009
Posts: 38

PostPosted: Mon Sep 21, 2009 5:09 pm   

[3.10a] [Bug] Manual layout save does not function when automatically save disab
 
If the automatically save layout option isn't checked, even a manual save doesn't work.
Doesn't spew an error message. Next time the session is opened, the layout is *all* jacked up.

Verified the behavior with new session as well:
Make windows (auto-save layout is the default)
Move em around
close session.
open session - windows are correct.
turn off automatic saving of layout.
move windows
save manually (save layout/#save)
close session
open session - windows jacked up. (not even the same as when it was saved automatically)

-------New session-----
Make windows
place em
save and close session
open session
stuff is right
turn off automagically save layout
close session
open session
windows jacked up.

BTW, kinda related but maybe not (?):
I notice in the Settings for windows there are a few things with the layout.
Changing them in the session does move them, but it doesn't seem to update when you drag and place a window, nor does it update when the layout is saved, etc.
Is cMUD going to use that to store settings (xml) or is it still going to use the layout file? I kinda think it outta pick one or the other :P
Reply with quote
Zugg
MASTER


Joined: 25 Sep 2000
Posts: 23379
Location: Colorado, USA

PostPosted: Tue Sep 22, 2009 3:48 pm   
 
Yes, this is actually a known bug (manual save doesn't save layout if auto-save layout is disabled).

The layout settings in the Settings file for your windows only indicate the *initial* layout of the windows. Once the windows are created, then the layout is controlled by the Window Docking system and the *.XLY layout file. If you delete the *.XLY layout file, then when the initial layout is re-created, the properties in the settings are used again for the initial window positions.

The problem here is that the layout is controlled by a 3rd-party Window Docking system which uses it's own storage format in the *.XLY layout file. This window docking component has no knowledge of your CMUD Settings or packages and has no way to store the layout in a database (like a package file). Same with the Toolbar customization "layout" which is another 3rd party component that stores the toolbar docking to the *.TBZ file.
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD Beta Forum All times are GMT
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net