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
Vijilante
SubAdmin


Joined: 18 Nov 2001
Posts: 5182

PostPosted: Sat Dec 01, 2007 3:24 am   

[2.14] Opening another session keeps stuff
 
This is another display item. I can't recall seeing this happen before, but this is a procedure I generally don't use.

Procedure
1. Launch CMud
2. Close Sessions window (ESC)
3. Enter at the command line 4 times
Code:
#SAY test of a long line, that has gone on for a really long time because i felt like rambling and needed to make an absolutely huge line.

4. Click the Sessions button
5. Open a session offline, your selected session should have multiple windows.
_________________
The only good questions are the ones we have never answered before.
Search the Forums
Reply with quote
Troublemag
Wanderer


Joined: 14 Jul 2004
Posts: 83

PostPosted: Sat Dec 01, 2007 4:01 am   
 
Similar but slightly different problem.

2 copies of the same session open. Each session is approximately the same size and sitting side by side. The first line of text input to the game goes incredibly long before it wraps, but subsequent lines wrap based on the window size.

(I would include screenshots, but that trick seems to be beyond me tonight.)


EDIT: The prompt this game uses places a > on the line following the prompt. If I turn prompts off, the lines wrap correctly.
_________________
CMUDPro 3.22
Reply with quote
Zugg
MASTER


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

PostPosted: Sat Dec 01, 2007 4:16 am   
 
Yes, this is the same bug as in the other display issues. If CMUD can't determine the proper pixel length of lines, then it cannot wrap and cannot scroll properly.

Maybe I'll try to get some time tonight to see if I can do a quick fix.
Reply with quote
Vijilante
SubAdmin


Joined: 18 Nov 2001
Posts: 5182

PostPosted: Sat Dec 01, 2007 2:07 pm   
 
I am still seeing this problem with the updated 2.14. The problem is not in how the text is sized, although that is all sorts of bad too. The bug is that the text is even there when it was originally displayed in the untitled window.
_________________
The only good questions are the ones we have never answered before.
Search the Forums
Reply with quote
Doxedon
Novice


Joined: 01 Dec 2007
Posts: 49

PostPosted: Sat Dec 01, 2007 2:17 pm   
 
Got that same result Vijilante was experience.

With no other sessions active (or open), trying that same line above, when I do open up a new session, the text in the untitled session would copy over into the new window.
Reply with quote
Zugg
MASTER


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

PostPosted: Mon Dec 03, 2007 5:44 pm   
 
I cannot reproduce this. I notice that your example screenshot shows a window with a different font/style setting. I think that matters. I couldn't get this to fail using sessions with different fonts, but maybe you can come up with a procedure for me to try that doesn't require opening your specific session file.
Reply with quote
Vijilante
SubAdmin


Joined: 18 Nov 2001
Posts: 5182

PostPosted: Mon Dec 03, 2007 8:16 pm   
 
New procedure for this that elminates the question of font/style.

1. Launch CMud
2. Close Sessions window
3. Enter at the command line
Code:
#SAY This window should be blank.

4. Click Sessions button in main toolbar to bring up Sessions window
5. Select New Session from the left panel of Sessions window
6. Enter something into the Title field for your new session
7. Click Save Session in the left panel of the Sessions window
8. Click Open Offline in the left panel of the Sessions window

Now you will see the text remains. The window the text ends up in is the first window produced by loading the session. So sessions that have multiple windows will put the text some place else. When the text goes into one of these other windows it gets first wrapped to that windows size, then resized according to that windows font settings which leads to the horrible display show in my screen shot.

Please blank the window and clear its scroll back as well as renaming it. If you don't think blanking it is right then make sure it ends up in the main session window and is displayed properly.
_________________
The only good questions are the ones we have never answered before.
Search the Forums
Reply with quote
Guinn
Wizard


Joined: 03 Mar 2001
Posts: 1127
Location: London

PostPosted: Mon Dec 03, 2007 8:21 pm   
 
Confirmed

#say %line shows "This window should be blank." too
_________________
CMUD Pro, Windows Vista x64
Core2 Q6600, 4GB RAM, GeForce 8800GT
Because you need it for text... ;)
Reply with quote
Zugg
MASTER


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

PostPosted: Mon Dec 03, 2007 8:24 pm   
 
Ahh, OK, now I see what you are talking about. Yes, it looks like this is related to the code that tries to "reuse" the current "untitled" window. As you said, it isn't clearing the contents of this window when it reuses it. Added to the bug list.
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