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

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD General Discussion
Nicodareus
Wanderer


Joined: 24 Jun 2008
Posts: 68
Location: Texas

PostPosted: Mon Jul 07, 2008 6:17 am   

[2.30] Bugs with frames after the first time they are opened.
 
The first time a window is created it properly uses the defined caption and the mud folder's image subfolder. However, when you close the client window out and open up the session again, the windows are opened without the proper captions (They just use the defined 'name' instead of the caption.) and they use the base CMUD/images directory instead of the CMUD/<mud>/images directory.

This ought to be pretty self explanatory, so I won't get into details on process unless requested to do so. Plus I'm kind of curious if this is another one of those things that only seems to want to affect me as tends to happen.

Edit: They also don't remember whether the 'scrolling' tag was supplied or not. I.e. They will be created without scrollbars the first time, but then will have scrollbars the next time.
Reply with quote
Zugg
MASTER


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

PostPosted: Mon Jul 07, 2008 8:07 pm   
 
Yes, in CMUD the Caption of a window comes from the Name of the window in the settings editor. CMUD doesn't really support frames/windows that have names different from their captions.

The main problem here is that in zMUD (and in the original MXP spec), frames were not meant to be "persistent". They were not saved with the session layout. But in CMUD, the window docking system saves *any* window, regardless of whether it was created with a MXP FRAME command or whether it is a "normal" session window....all windows are treated the same.

So, what I need to do is add support for saving certain MXP options (such as the scrolling tag) for normal CMUD windows too. Right now CMUD doesn't save those properties, so they don't get restored with the session. This applies to the scrolling tag, and also being able to save a window caption that is different from the window name.

I'll add those to the wish-list for a future version.
Reply with quote
Zugg
MASTER


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

PostPosted: Fri Jul 11, 2008 5:11 am   
 
I have fixed this for v2.31. In addition to saving the caption as I mentioned in the other thread, CMUD will also now saved the Scrolling attribute. This scrolling attribute can also be set manually in the Scrollback preferences page. It's actually split into two options there: Enable Splitscreen scrolling, and Show Scrollbars. Setting the MXP "scrolling=no" turns off both of these options.

I also fixed several other bugs with closing/opening windows still not saving their position.
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD General Discussion 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