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

Joined: 19 Jun 2005
Posts: 1876
Location: California

PostPosted: Mon Sep 13, 2010 4:11 pm   

[3.26]BUG: Can't focus a disabled or invisible window
This is a strange one I've never had happen to me before. It's simple to reproduce, however.

1. Open up untitled session.
2. Click 'Editor' button to bring up the Editor window.
3. Click the 'X' to close the Editor.
4. Repeat step 2.

Here's the call stack error for this bug:
date/time         : 2010-09-13, 08:41:19, 518ms
computer name     : CHARNEUS-LAPTOP
user name         : Charneus <admin>
registered owner  : Charneus
operating system  : Windows 7 build 7600
system language   : English
system up time    : 22 minutes 39 seconds
program up time   : 20 minutes 25 seconds
processors        : 2x AMD Turion(tm) 64 X2 Mobile Technology TL-60
physical memory   : 1116/1918 MB (free/total)
free disk space   : (C:) 23.36 GB
display mode      : 1280x800, 32 bit
process id        : $d20
allocated memory  : 133.24 MB
command line      : "C:\Program Files\CMUD\cMUD.exe" "Aardwolf"
executable        : cMUD.exe
exec. date/time   : 2010-09-10 17:11
version           :
compiled with     : BCB 2006/07
madExcept version : 3.0k
contact name      :
contact email     :
callstack crc     : $daa2ec25, $cbe5e4a9, $cbe5e4a9
exception number  : 1
exception class   : EInvalidOperation
exception message : Cannot focus a disabled or invisible window.

Main ($d24):
004a482e +06e cMUD.exe     Forms                TCustomForm.SetActiveControl
0067e493 +053 cMUD.exe     VCLFixPack           CustomFormFocusControl
004c2c42 +012 cMUD.exe     Controls             TWinControl.SetFocus
00bdc8ef +013 cMUD.exe     EditorFrame  418  +1 TEditorFr.SetFocus
00d2a31d +019 cMUD.exe     EditNew     1308  +1 TEditorD.UpdateFocus
00d2a630 +30c cMUD.exe     EditNew     1344 +28 TEditorD.FormShow
00d2a1d9 +015 cMUD.exe     EditNew     1272  +3 TEditorD.ShowEditor
0047c7eb +00f cMUD.exe     Classes              TBasicAction.Execute
004ccf35 +031 cMUD.exe     ActnList             TContainedAction.Execute
004cdbfc +050 cMUD.exe     ActnList             TCustomAction.Execute
0047c6b7 +013 cMUD.exe     Classes              TBasicActionLink.Execute
006be8fe +052 cMUD.exe     dxBar                TdxBarItem.DoClick
006be87b +03b cMUD.exe     dxBar                TdxBarItem.DirectClick
006c2ca8 +154 cMUD.exe     dxBar                TdxBarItemControl.ControlUnclick
006c60d9 +059 cMUD.exe     dxBar                TdxBarButtonControl.ControlUnclick
006d258a +0fe cMUD.exe     dxBar                TCustomdxBarControl.WMLButtonUp
006f0a1d +111 cMUD.exe     dxBar                TdxBarControl.WMLButtonUp
004bc11b +2bb cMUD.exe     Controls             TControl.WndProc
004c011f +4fb cMUD.exe     Controls             TWinControl.WndProc
006d30c5 +1b9 cMUD.exe     dxBar                TCustomdxBarControl.WndProc
006f3597 +147 cMUD.exe     dxBar                TdxBarControl.WndProc
004bf848 +02c cMUD.exe     Controls             TWinControl.MainWndProc
0047d4ac +014 cMUD.exe     Classes              StdWndProc
764e3573 +00a USER32.dll                        DispatchMessageA
004aa7f4 +0fc cMUD.exe     Forms                TApplication.ProcessMessage
004aa82e +00a cMUD.exe     Forms                TApplication.HandleMessage
004aab23 +0b3 cMUD.exe     Forms                TApplication.Run
00e4ca8c +088 cMUD.exe     CMUD         372 +20 initialization
77561192 +010 kernel32.dll                      BaseThreadInitThunk

error details:
Opened up editor window after closing it...


Last edited by charneus on Tue Sep 14, 2010 12:10 am; edited 1 time in total
Reply with quote

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

PostPosted: Mon Sep 13, 2010 6:18 pm   
Confirmed and added to bug list.
Reply with quote

Joined: 18 Oct 2000
Posts: 2733
Location: Atlanta, USA

PostPosted: Mon Sep 13, 2010 6:20 pm   
I couldn't reproduce this. Which X are you clicking? the X on the editor window (upper right hand corner), the X on the 'Close' for the tool bar menu of the editor window, or the caption "untitled_editor.txt" (next to the thumb tack icon)?

(Edit: Never mind Smile )
Asati di tempari!
Reply with quote

Joined: 26 Mar 2008
Posts: 1547

PostPosted: Thu Sep 16, 2010 4:17 pm   
Curious as to what might have caused this, when Zugg finds out. Razz
Listen to my Guitar - If you like it, listen to more
Reply with quote

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

PostPosted: Thu Sep 16, 2010 5:07 pm   
Nothing interesting. A change was made to the editor in one of the past few versions so that closing the editor window just hides it instead of destroying it. Clicking the Edit toolbar button was trying to give keyboard focus to the editor before the editor docking window was un-hidden, causing the windows error about the parent window.
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