Page 1 of 1

Windows: Find a window

Posted: Sat May 10, 2008 12:17 pm
by CHeitkamp
I found 2 problems with the action "Window: Find a window"

1. When EventGhost is maximized, "Hide EventGhost while dragging" only hides the configuration dialog, but not EventGhost itself
To reproduce:
  • Maximize the EventGhost window
  • Add an action: "Window: Find a window"
  • Enable the option "Hide EventGhost while dragging"
  • Drag the crosshair

2. Minimizing EventGhost, while the configuration dialog is open closes the dialog and gives traceback

Code: Select all

Traceback (most recent call last):
  File "wx\_core.pyc", line 14368, in <lambda>
  File "wx\lib\masked\numctrl.pyc", line 1171, in _CheckInsertionPoint
  File "wx\_core.pyc", line 14318, in __getattr__
wx._core.PyDeadObjectError: The C++ part of the NumCtrl object has been deleted, attribute access no longer allowed.
Traceback (most recent call last):
  File "wx\_core.pyc", line 14368, in <lambda>
  File "wx\lib\masked\textctrl.pyc", line 134, in _SetInsertionPoint
  File "wx\_core.pyc", line 14318, in __getattr__
wx._core.PyDeadObjectError: The C++ part of the NumCtrl object has been deleted, attribute access no longer allowed.
Traceback (most recent call last):
  File "wx\_core.pyc", line 14368, in <lambda>
  File "wx\lib\masked\textctrl.pyc", line 119, in _SetSelection
  File "wx\_core.pyc", line 14318, in __getattr__
wx._core.PyDeadObjectError: The C++ part of the NumCtrl object has been deleted, attribute access no longer allowed.
...
repeated 5 times
To reproduce:
  • Add an action: "Window: Find a window"
  • Minimize Eventghost (to Tray) while the configuration window is still open
BTW: The Traceback doesn't appear, if you are (re-)opening the configuration dialog of a fully configured action!


Tested with EG 0.4.6.1397, empty configuration tree, OS: Vista Ultimate 32bit

Re: Windows: Find a window

Posted: Sun May 11, 2008 7:18 am
by Bitmonster
The first problem doesn't seem to show up on WinXP. I will have to test it someday on Vista.

The second problem should be fixed in 0.3.6.1398. Now EG prevents the main window to be minimized, while a configuration panel is open.