|
charneus Wizard
Joined: 19 Jun 2005 Posts: 1876 Location: California
|
Posted: 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:
Code: |
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 : 3.26.0.0
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... |
Charneus |
|
Last edited by charneus on Tue Sep 14, 2010 12:10 am; edited 1 time in total |
|
|
|
Zugg MASTER
Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Mon Sep 13, 2010 6:18 pm |
Confirmed and added to bug list.
|
|
|
|
Tech GURU
Joined: 18 Oct 2000 Posts: 2733 Location: Atlanta, USA
|
Posted: 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 ) |
|
_________________ Asati di tempari! |
|
|
|
chamenas Wizard
Joined: 26 Mar 2008 Posts: 1547
|
Posted: Thu Sep 16, 2010 4:17 pm |
Curious as to what might have caused this, when Zugg finds out.
|
|
|
|
Zugg MASTER
Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: 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.
|
|
|
|
|
|