Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details

If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.

Windows: Find a window

Found a bug in EventGhost? Report it here.
Post Reply
CHeitkamp
Plugin Developer
Posts: 49
Joined: Sun Jan 27, 2008 12:42 pm
Location: M├╝nster / Germany

Windows: Find a window

Post 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
User avatar
Bitmonster
Site Admin
Posts: 2239
Joined: Mon Feb 06, 2006 10:28 pm

Re: Windows: Find a window

Post 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.
Please post software-related questions in the forum - PMs will only be answered, if really private, thanks!
Post Reply