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
Smooth
Beginner


Joined: 05 Aug 2002
Posts: 25

PostPosted: Thu Jun 18, 2009 8:44 pm   

[3.08] Vista/XP screen lock causes window to get stuck in current state
 
It doesn't happen every time, but it seems if I lock/unlock the screen enough it will happen sooner or later. Steps to reproduce for me are:

Connect to a mud
Minimize window
Lock screen (windows key + L)
Unlock screen
CMUD window will now be stuck in whatever state it was in when the screen was locked, i.e. if it is minimized it will be stuck minimized, it it was maximized it will be stuck maximized.

I am not sure if connecting to a mud is necessary, it may just be enough to have a blank session window open. I have not been able to test it as I am at work right now. Also like I said it doesn't happen every time, I minimize CMUD and lock my screen every time I am away from my desk and sometimes when I come back CMUD will be stuck minimized. The only thing I can do to fix it is quit CMUD and restart it.

Hope this is enough info.
Reply with quote
yelayon
Novice


Joined: 15 Mar 2005
Posts: 42

PostPosted: Fri Jun 19, 2009 8:53 am   
 
Lol... I was talking about similar problem in other post.

I can confirm, that with above scenario in some cases cMud has problem (as I see different problems).
In my case it displays error, but after 'continue application' it is working (just send crash report yesterday).
_________________
Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.
Reply with quote
ReedN
Wizard


Joined: 04 Jan 2006
Posts: 1279
Location: Portland, Oregon

PostPosted: Fri Jun 19, 2009 2:05 pm   
 
I thought I was the only person who experienced this.

I can add the following:

1) You don't need to be connected to the mud, just have Cmud open.
2) It usually happens to me when I suspend the computer with Cmud minimized. But it doesn't happen every time.
3) You can get Cmud to restore by going through the task manager and selecting 'switch to'
Reply with quote
Zugg
MASTER


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

PostPosted: Fri Jun 19, 2009 6:50 pm   
 
I haven't been able to reproduce this at all on either my XP or Vista machine. I know that XP had some famous problems with "Standby mode" on some computers. My old Toshiba laptop never worked with standby/suspend at all and would always lock up Windows. So I also think Windows is a bit buggy about this and it might depend upon your exact computer to reproduce this. But until I can find a way to reproduce this, there isn't any way for me to fix it. My guess is that there is a timing issue when unlocking the screen that doesn't send the correct "application activate" message back to CMUD and Windows and CMUD get out of synch regarding the window state (minimized/restored).

In other words, if CMUD thinks it is minimized but Windows thinks it is restored, then Windows no longer sends the proper message events to CMUD to force CMUD to restore.

You'll need to use Reed's (3) workaround on this.

Also, I'd be interested in knowing if this is really a 3.08 problem or if it also happens with the 2.37 version since I can't think of anything I would have done in 3.x to change this.
Reply with quote
Arde
Enchanter


Joined: 09 Sep 2007
Posts: 605

PostPosted: Fri Jun 19, 2009 7:21 pm   
 
I can confirm minimized CMUD lockup on my 4th Win+L in a row. After that I enabled tick timer and set it to print something every 2 seconds - no lockups for the next 10+ Win+L attempts. Change window icon color option was turned on.
CMUD 3.08\XP SP2
_________________
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
ReedN
Wizard


Joined: 04 Jan 2006
Posts: 1279
Location: Portland, Oregon

PostPosted: Fri Jun 19, 2009 7:32 pm   
 
This has happened for ages, not just on 3.08.

It also doesn't happen every time.
Reply with quote
Zugg
MASTER


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

PostPosted: Fri Jul 10, 2009 8:20 pm   
 
I was able to reproduce this with the compiled/distributed version of 3.08, but not when running within the Delphi IDE. I just did a build of v3.09 and it seems to work properly outside of Delphi. Not sure what changed, but give this another try when 3.09 is released and let me know if it's magically fixed for other people too.
Reply with quote
Smooth
Beginner


Joined: 05 Aug 2002
Posts: 25

PostPosted: Sat Jul 11, 2009 6:42 pm   
 
Hooray glad to hear it. Can't wait for 3.09 ;)
Reply with quote
yelayon
Novice


Joined: 15 Mar 2005
Posts: 42

PostPosted: Thu Jul 23, 2009 12:49 pm   
 
Got this error with 3.09 - report has been sent
_________________
Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.
Reply with quote
Zugg
MASTER


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

PostPosted: Thu Jul 23, 2009 5:20 pm   
 
Please send me a PM telling me what Name you used when you sent the bug report so that I can try to find it in the database. I didn't see anything submitted with the name "yelayon".

Edited: I should also mention that I have not been able to reproduce any problem with locking the screen in Vista, so I'd appreciate it if other people could also try to reproduce this. Right now I have no idea what to try next.
Reply with quote
yelayon
Novice


Joined: 15 Mar 2005
Posts: 42

PostPosted: Mon Jul 27, 2009 10:09 pm   
 
PW sent.

Additional info that I've attached to report: I had cMud running on additional monitor when problem occurs.
_________________
Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.
Reply with quote
yelayon
Novice


Joined: 15 Mar 2005
Posts: 42

PostPosted: Tue Jul 28, 2009 11:52 am   
 
3.10 - report sent :D
_________________
Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.
Reply with quote
Zugg
MASTER


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

PostPosted: Tue Jul 28, 2009 5:00 pm   
 
Still unable to reproduce this problem, sorry. You might want to look at your video software and see if you have any sort of "virtual desktop" features enabled. I know NVidia has something that has been reported in the past that can cause weird problems (Enhanced Desktop or something like that). But I've now tried this on 4 different computers (2 running Vista and 2 running XP) and one of the Vista systems had multiple monitors, and none of them had a problem with the Windows Lock feature.

Also, I don't see any crash dump for v3.10 with the name that you sent me via PM. I found a report for 3.09, but it wasn't related to any Windows Lock issue and was a bug that is already fixed in 3.10.
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