New AddEventDialog

This is where you report any issues if you are running a beta version of EventGhost
Forum rules
To submit a possible bug report please follow this template

Version: 0.5 beta 2 (the version you are running)
Traceback: Traceback (most recent call last):
File "<SOME_EVENTGHOST_FILE.py>", line 10, in <module>
SOME_FUNCTION()
File "<SOME_EVENTGHOST_FILE.py>", line 4, in SOME_EVENTGHOST_MODULE
SOME_FUNCTION()

copy and past any traceback information from the log if there is no traceback put NONE

Event:
Main.test.0.1.2.3.4.5.6.7.8
1
2

in the Event field you will want to put the event that was triggered just prior to the traceback occurring, if there is personal data put PERSONAL DATA if there was no traceback or no event triggered right before the traceback put NO EVENT

Description: if you have the ability to replicate the issue then put in here a description of what you are doing to create the problem.

Screen Shots: screen shots of the error and any events/macros/acrions that were run before the issue or screen shots of the problem

Files: any files that may be used to isolate where the issue is. something like the log.txt file would go here

if you provide the above information before hand it will greatly speed up the diagnostic process. we will not have to ask for the bits and pieces. And also having a well formatted Bug Report filled out will get answered sooner then the ones that aren't

New AddEventDialog

Postby Sem;colon » Sat Dec 31, 2016 2:45 pm

The new AddEventDialog is not working for me in EG 0.5 beta 5

-Here is the error when I open it:
Code: Select all
15:20:15: 37 MainThread: Create(cls=<class 'eg.Classes.AddEventDialog.AddEventDialog'>)
15:20:15: 38 MainThread: AddEventDialog.ProcessingTask()
15:20:15: 38 MainThread: AddEventDialog.Configure(parent=<eg.Classes.MainFrame.MainFrame; proxy of <Swig Object of type 'wxFrame *' at 0x8ed0340> >)
15:20:15: 38 MainThread: AddEventDialog.__init__(style=536877120, id=-1, parent=<eg.Classes.MainFrame.MainFrame; proxy of <Swig Object of type 'wxFrame *' at 0x8ed0340> >, title='Add Event...')
15:20:15: 38 MainThread: AddEventDialog.__init__ => None
15:20:15: 38 MainThread: AddEventDialog.Affirmed()
15:20:15: 38 MainThread: AddEventDialog.FinishSetup()
15:20:15: 37 MainThread: Create => <eg.Classes.AddEventDialog.AddEventDialog; proxy of <Swig Object of type 'wxDialog *' at 0x8ef1a18> >
15:20:15: 37 MainThread: AddEventDialog.GetEvent()
Traceback (most recent call last) (0.5.0-beta5):
  File "C:\Program Files (x86)\EventGhost\eg\Classes\AddEventDialog.py", line 159, in OnExpanded
    self.tree.GetPyData(event.GetItem()).expanded = True
  File "C:\Program Files (x86)\EventGhost\eg\Classes\PluginModuleInfo.py", line 81, in __setattr__
    "%s has no attribute %s" % (self.__class__.__name__, name)
AttributeError: PluginInstanceInfo has no attribute expanded
Traceback (most recent call last) (0.5.0-beta5):
  File "C:\Program Files (x86)\EventGhost\eg\Classes\AddEventDialog.py", line 156, in OnCollapsed
    self.tree.GetPyData(event.GetItem()).expanded = False
  File "C:\Program Files (x86)\EventGhost\eg\Classes\PluginModuleInfo.py", line 81, in __setattr__
    "%s has no attribute %s" % (self.__class__.__name__, name)
AttributeError: PluginInstanceInfo has no attribute expanded


-The OK button is grayed out if you try to enter en Event manually

-A Description for the input field where you actually see the Event would be nice (maybe above), it looks a search field currently

-The Hint is missing that you can use also drag and drop to add events
addevent.PNG
Sem;colon
Experienced User
 
Posts: 579
Joined: Sat Feb 18, 2012 10:51 am
Location: Germany

Re: New AddEventDialog

Postby topix » Sun Jan 01, 2017 10:45 am

Sem;colon wrote:-The OK button is grayed out if you try to enter en Event manually
Did you hit Enter after typing the event name?

Sem;colon wrote:-A Description for the input field where you actually see the Event would be nice (maybe above), it looks a search field currently
The text in the textctrl is the event you will get. But i understand what you mean and will try to make it more visible.

Sem;colon wrote:-The Hint is missing that you can use also drag and drop to add events
:oops: Didn't knew or tested it 8)
topix
Experienced User
 
Posts: 350
Joined: Sat May 05, 2007 3:43 pm
Location: Germany

Re: New AddEventDialog

Postby topix » Sun Jan 01, 2017 2:06 pm

I made some enhancements to the dialog (https://github.com/EventGhost/EventGhost/pull/151):

AddEventDialog.png
AddEventDialog.png (10.45 KiB) Viewed 1768 times
topix
Experienced User
 
Posts: 350
Joined: Sat May 05, 2007 3:43 pm
Location: Germany

Re: New AddEventDialog

Postby Sem;colon » Sun Jan 01, 2017 8:44 pm

topix wrote:I made some enhancements to the dialog (https://github.com/EventGhost/EventGhost/pull/151):

Thank you, looks good! :D
I have one question though, why isn't it possible to resolve the plugins the Events come from? Or better, how can the list be populated? At the moment there is only a System and a <unknown> node.

topix wrote:Did you hit Enter after typing the event name?

No I didn't... How should I know that I'm supposed to hit enter?
After hitting Enter the OK button isn't greyed out any more, but I honestly didn't expect that you have to press Enter - why is that? Wouldn't it be better to activate the button whenever the Box is not empty?

topix wrote: Sem;colon wrote:
-The Hint is missing that you can use also drag and drop to add events

:oops: Didn't knew or tested it 8)

That's funny, I didn't know that as well :lol:
It's cool though and worth a hint.
I was referring to the Hint in the old add event dialog, which I guess is helpful to people that are new to EventGhost:
addevent1.PNG
addevent1.PNG (5.64 KiB) Viewed 1765 times
Sem;colon
Experienced User
 
Posts: 579
Joined: Sat Feb 18, 2012 10:51 am
Location: Germany

Re: New AddEventDialog

Postby kgschlosser » Mon Jan 02, 2017 6:34 am

can we also drag and drop events from the logger to populate the list in the dialog?? :-D
If you like the work I have been doing then feel free to Image
User avatar
kgschlosser
Site Admin
 
Posts: 2718
Joined: Fri Jun 05, 2015 5:43 am
Location: Rocky Mountains, Colorado USA

Re: New AddEventDialog

Postby Pako » Mon Jan 02, 2017 8:24 am

kgschlosser wrote:can we also drag and drop events from the logger to populate the list in the dialog??
What kind of question is that ?
Maybe, I did not understand it correctly.
However - the answer is: of course we can.
I've already used it in several plugins. As an example, I can give the Music Bee plugin (main plugin dialog) or Media Player Classic plugin (Show MPC menu action).
EventAssignement.png
EventAssignement.png (9.95 KiB) Viewed 1758 times
Pako
You know flattr ? You can Image
User avatar
Pako
Plugin Developer
 
Posts: 2258
Joined: Sat Nov 11, 2006 1:31 pm
Location: Czech Republic

Re: New AddEventDialog

Postby kgschlosser » Fri Jan 13, 2017 9:37 am

@ Pako.

You cannot drag and drop events into the AddEvents Dialog. you can only drag and drop them into the tree.

this dialog right here
addevent.png


and also what is that menu control events assignment?? never seen that dialog before and i can't seem to locate where it is
If you like the work I have been doing then feel free to Image
User avatar
kgschlosser
Site Admin
 
Posts: 2718
Joined: Fri Jun 05, 2015 5:43 am
Location: Rocky Mountains, Colorado USA

Re: New AddEventDialog

Postby topix » Fri Jan 13, 2017 5:54 pm

kgschlosser wrote:and also what is that menu control events assignment?? never seen that dialog before and i can't seem to locate where it is

Don't know what you mean "menu control events"? Can explain more?
topix
Experienced User
 
Posts: 350
Joined: Sat May 05, 2007 3:43 pm
Location: Germany

Re: New AddEventDialog

Postby kgschlosser » Fri Jan 13, 2017 6:06 pm

look at the image in pako's post...

what is that and where is it??
If you like the work I have been doing then feel free to Image
User avatar
kgschlosser
Site Admin
 
Posts: 2718
Joined: Fri Jun 05, 2015 5:43 am
Location: Rocky Mountains, Colorado USA

Re: New AddEventDialog

Postby topix » Fri Jan 13, 2017 6:09 pm

I think it will be one of:
Pako wrote:As an example, I can give the Music Bee plugin (main plugin dialog) or Media Player Classic plugin (Show MPC menu action).
topix
Experienced User
 
Posts: 350
Joined: Sat May 05, 2007 3:43 pm
Location: Germany

Re: New AddEventDialog

Postby kgschlosser » Fri Jan 13, 2017 11:09 pm

i wasn't' understanding what he was saying then. I thought that was apart of the add events dialog
If you like the work I have been doing then feel free to Image
User avatar
kgschlosser
Site Admin
 
Posts: 2718
Joined: Fri Jun 05, 2015 5:43 am
Location: Rocky Mountains, Colorado USA


Return to Beta Version Bug Reports

Who is online

Users browsing this forum: No registered users and 1 guest