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
chamenas
Wizard


Joined: 26 Mar 2008
Posts: 1547

PostPosted: Sat May 10, 2008 6:49 pm   

Freaky Bug
 
I tried to alter my status bar, as mentioned in previous posts. Now if I try to copy and paste anything into the command line, the command line expands but then begins to move up and down along with other parts of the program. I can't click on or do anything and have to close it through the task manager. It's hard to show since it's moving, and not something easily capture by a still pic.
Reply with quote
charneus
Wizard


Joined: 19 Jun 2005
Posts: 1876
Location: California

PostPosted: Sat May 10, 2008 9:34 pm   
 
Should always show a step-by-step process of recreating the bugs so that others can confirm it. Otherwise, it will not be noted. :P And if you can capture a video of it, that'd be cool. :P

Charneus
Reply with quote
chamenas
Wizard


Joined: 26 Mar 2008
Posts: 1547

PostPosted: Sat May 10, 2008 9:54 pm   
 
I cant, because I dont know what triggered it. All I know is that when I copy and paste text into it now, it goes freaky. I have no way of capture video.
_________________
Listen to my Guitar - If you like it, listen to more
Reply with quote
Fang Xianfu
GURU


Joined: 26 Jan 2004
Posts: 5155
Location: United Kingdom

PostPosted: Sat May 10, 2008 9:58 pm   
 
Sure you do; there's enough free software out there that something's going to work for you. To the almighty google!

And, well, something weird must've happened to screw it up, or it wouldn't be happening. Make a copy of your CMUD folder so that the borked files are still around and see what you need to do to fix it (new layout, reinstall, fresh reinstall, whatever) and then try to break it again. If you can't make it break, then it shouldn't be a problem :P
_________________
Rorso's syntax colouriser.

- Happy bunny is happy! (1/25)
Reply with quote
chamenas
Wizard


Joined: 26 Mar 2008
Posts: 1547

PostPosted: Sat May 10, 2008 11:19 pm   
 
I have some more stuff to back up I think, before I do that.

Edit:

And there's a ton of junk out on the web, so unless someone has a suggestion I'm not going to risk searching for a video-capturing program.
Reply with quote
Guinn
Wizard


Joined: 03 Mar 2001
Posts: 1127
Location: London

PostPosted: Sun May 11, 2008 1:46 am   
 
Quote:
And there's a ton of junk out on the web, so unless someone has a suggestion I'm not going to risk searching for a video-capturing program.

At the risk of sounding belligerent, that does seem to sum you up in some respects. You need to get used to searching for a bit longer before you ask. What would make you trust a recommendation from Fang any more than ranking the video capture tools on tucows, sourceforge or some other site? It's not tough to find something that does the job.

Anyway
http://camstudio.org/
free, open source, gpl, works fine.
_________________
CMUD Pro, Windows Vista x64
Core2 Q6600, 4GB RAM, GeForce 8800GT
Because you need it for text... ;)
Reply with quote
chamenas
Wizard


Joined: 26 Mar 2008
Posts: 1547

PostPosted: Sun May 11, 2008 2:25 am   
 
Guinn wrote:
Quote:
And there's a ton of junk out on the web, so unless someone has a suggestion I'm not going to risk searching for a video-capturing program.

At the risk of sounding belligerent, that does seem to sum you up in some respects. You need to get used to searching for a bit longer before you ask. What would make you trust a recommendation from Fang any more than ranking the video capture tools on tucows, sourceforge or some other site? It's not tough to find something that does the job.

Anyway
http://camstudio.org/
free, open source, gpl, works fine.


I'm not trying to be belligerent. But the fact is, there is a ton of junk on the web, in theory I could find nearly anything for free. I'm also liable to find a lot of porn and fishy websites that will screw me over. I don't have many problems with my computer, and it's partly because I'm cautious about what I do with it.

But thanks for the link.
Reply with quote
chamenas
Wizard


Joined: 26 Mar 2008
Posts: 1547

PostPosted: Sun May 11, 2008 5:13 pm   
 
So here's an avi of the bug. I've found out that it only actually occurs on this one session, all of my other sessions are just fine.

http://www.savefile.com/files/1551464
Reply with quote
Rorso
Wizard


Joined: 14 Oct 2000
Posts: 1368

PostPosted: Sun May 11, 2008 7:53 pm   
 
That looks scary Shocked. It is probably some layout collision. E.g it looks like the textbox tries to increase its height to fit the contained text, and then something in turn tries to decrease it.

Edit: From following the layout in the video it is very easy to recreate this bug :-). it is very important that the command line is beneath the mapper, and fills the entire row including beneath the mapper. Filling in the command line with text and then decreasing the window height slowly, seems to increase the probability that the bug will occur. You actually see how the command line size start to oscillate a bit too much before it eventually gets into the loop.
Reply with quote
chamenas
Wizard


Joined: 26 Mar 2008
Posts: 1547

PostPosted: Sun May 11, 2008 8:07 pm   
 
I deleted and remade the session to fix it. But if you've found out what caused it already, then I don't think I need to do anything further! IT is a cool bug to watch though.
_________________
Listen to my Guitar - If you like it, listen to more
Reply with quote
Arde
Enchanter


Joined: 09 Sep 2007
Posts: 605

PostPosted: Mon May 12, 2008 12:44 pm   
 
Sorry for sidetracking... I've noticed that first and 3 last buttons on your main toolbar have their text description on the right side, while others have their texts placed below images. Do others have the same? I had the same in the bugged upgrade 2.18->2.25, but after a clean install these all text descriptions was placed below images. Are there any preferences that controls toolbar buttons appearance?
_________________
My personal bug|wish list:
-Wrong Priority when copy-paste setting
-1 prompt trigger for Mapper, Session and General Options, not 3 different!
-#SECTION can terminate threads
-Buttons can't start threads
Reply with quote
oldguy2
Wizard


Joined: 17 Jun 2006
Posts: 1201

PostPosted: Mon May 12, 2008 5:58 pm   
 
Yeah right click the button. Zugg said it wasn't a bug and that players suggested that feature to be able to change each button by itself. Now you have to right click each button and show caption or image on top. You can have all the buttons showing differently.
Reply with quote
Arde
Enchanter


Joined: 09 Sep 2007
Posts: 605

PostPosted: Mon May 12, 2008 6:28 pm   
 
oldguy2 wrote:
Yeah right click the button. Zugg said it wasn't a bug and that players suggested that feature...

Ah, now I remember that I've read that post... Thanks!
Reply with quote
chamenas
Wizard


Joined: 26 Mar 2008
Posts: 1547

PostPosted: Mon May 12, 2008 6:40 pm   
 
I didn't change anything though? How is it not a bug if that's the default and it goes screwy?
_________________
Listen to my Guitar - If you like it, listen to more
Reply with quote
oldguy2
Wizard


Joined: 17 Jun 2006
Posts: 1201

PostPosted: Mon May 12, 2008 6:57 pm   
 
No no not your problem. I was responding to Arde and the main toolbar button statement.
Reply with quote
chamenas
Wizard


Joined: 26 Mar 2008
Posts: 1547

PostPosted: Sat May 24, 2008 11:57 pm   
 
Rorso wrote:
That looks scary Shocked. It is probably some layout collision. E.g it looks like the textbox tries to increase its height to fit the contained text, and then something in turn tries to decrease it.

Edit: From following the layout in the video it is very easy to recreate this bug :-). it is very important that the command line is beneath the mapper, and fills the entire row including beneath the mapper. Filling in the command line with text and then decreasing the window height slowly, seems to increase the probability that the bug will occur. You actually see how the command line size start to oscillate a bit too much before it eventually gets into the loop.


Can it be fixed? It happened again Sad and all I know how to do to fix it is delete everything.
Reply with quote
chamenas
Wizard


Joined: 26 Mar 2008
Posts: 1547

PostPosted: Mon May 26, 2008 11:34 pm   
 
I think Rorso gave a way, but I'm not sure I understand it. Please help, it's done it again and I don't want to have to keep deleting my connections Sad
_________________
Listen to my Guitar - If you like it, listen to more
Reply with quote
chamenas
Wizard


Joined: 26 Mar 2008
Posts: 1547

PostPosted: Tue May 27, 2008 1:36 am   
 
Oh, by the way, this time it didn't have the mapper.
http://www.savefile.com/files/1575269
_________________
Listen to my Guitar - If you like it, listen to more
Reply with quote
chamenas
Wizard


Joined: 26 Mar 2008
Posts: 1547

PostPosted: Tue May 27, 2008 8:49 pm   
 
bump
_________________
Listen to my Guitar - If you like it, listen to more
Reply with quote
Rorso
Wizard


Joined: 14 Oct 2000
Posts: 1368

PostPosted: Wed May 28, 2008 7:40 am   
 
It's the same bug. Notice that the command line is beneath both the output and the tells frame, so it is similar layout like in the case of the mapper.

Usually in the standard case the command line is only beneath the output frame.
Reply with quote
chamenas
Wizard


Joined: 26 Mar 2008
Posts: 1547

PostPosted: Wed May 28, 2008 10:48 am   
 
Right, so is there a way for me to fix it if it happens?
_________________
Listen to my Guitar - If you like it, listen to more
Reply with quote
Rorso
Wizard


Joined: 14 Oct 2000
Posts: 1368

PostPosted: Wed May 28, 2008 3:42 pm   
 
chamenas wrote:
Right, so is there a way for me to fix it if it happens?

I don't know Embarassed. When testing cMUD today I ran into *a lot* of layout bugs. I think if you hold down shift while connecting to a session the layout should be reset, but I am not sure. In either case Zugg really needs to take a look at this. I wonder where he is. Seems he hasn't posted a few days now.
Reply with quote
Zugg
MASTER


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

PostPosted: Wed May 28, 2008 5:24 pm   
 
Sorry for the delay in responding. We were painting the house this week and I was too exhausted to respond to the forums.

This is definitely a well titled post..."freaky" is right! First, thanks for taking the time to create and post those AVI video files. There were very useful.

Looks like this is a windows messaging loop where windows is sending a resize message, which causes the command line to resize again, which then sends another resize message, ending up with an infinite loop. I've added this to the critical bug list and will try to get it fixed for the next version.
Reply with quote
chamenas
Wizard


Joined: 26 Mar 2008
Posts: 1547

PostPosted: Wed May 28, 2008 5:34 pm   
 
Thank you! Very Happy
_________________
Listen to my Guitar - If you like it, listen to more
Reply with quote
Zugg
MASTER


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

PostPosted: Thu May 29, 2008 6:22 pm   
 
I think I got this fixed in 2.26. What is happening here is that there is a maximum height for the command line where it will stop expanding and add a scroll bar to the command line instead. This happens when the command line height exceeds half the window height. When it hit this threshold, it was changing the command line height, but this would also cause the window height to change (the docked window), causing the calculation of 1/2-window-height to change. Basically it was a bad recursive formula that was causing a loop.
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