Open GoogleCodeExporter opened 9 years ago
Hi,
I have never seen this on any of my systems XP or 7, but remember it being
reported once before some time back. I can't think of anything that would cause
this other than if the focus is getting trapped in the other control for some
reason. Perhaps try adding an event handler to the EdEditView class to trap the
scroll events and print out where the focus is.
def OnWheel(self, evt):
evt.Skip() # let event keep proccesing
print "focus:", self.FindFocus(), "is self:", self.FindFocus() is self
For the uninstall:
Binary:
Just run the uninstaller and make sure to check the option to uninstall the
user data tool if you want to remove all the user config stuff and plugins.
Source:
- Delete the Editra folder under your pythons site-packages folder
- Delete launcher scripts under your pythons Scripts folder
- Delete the Editra folder under your user data directory ("C:\Users\%USERNAME%\AppData\Roaming\Editra")
- Optionally remove the ones that are included with the wxPython installed on your system.
Original comment by CodyPrec...@gmail.com
on 2 Nov 2011 at 1:25
Where can I find the EdEditView class?
I Looked at my 0.6.37 source install I only came up with:
C:\Python26\Lib\site-packages\Editra\src\ed_main.py (638): @param buf:
EdEditView instance
cheers
-mike
Original comment by mike.as...@gmail.com
on 2 Nov 2011 at 1:53
Hi,
Sorry mistyped EdEditorView (ed_editview.py)
Bind an event handler like mentioned in previous post to wx.EVT_MOUSEWHEEL
self.Bind(wx.EVT_MOUSEWHEEL, self.OnWheel)
Original comment by CodyPrec...@gmail.com
on 2 Nov 2011 at 2:05
I added the OnWheel binding (to ed_editv.py) but the event does not seem to be
triggered, ie no print output.
Just to check that the EdEditorView class was being used I added a debug print
message to the OnDestroy function and I did see an output.
Could it be wxPython is capturing the OnWheel event before it gets to the
EdEditorView class?
I'll probably turn my attention to cleaning up the user data next.
I'm reluctant to do a complete reinstallation. The problem is present
on both the Source and binary installations, and it seems likely that the
problem
must be common to both installations.
Is it possible that the binary installation is using some of the source from
C:/python26/... ? I know that it shouldn't be, but say if the PATH variable is
setup
incorrectly it might be using some components from the wrong location.
-mike
Original comment by mike.as...@gmail.com
on 2 Nov 2011 at 4:43
Hi,
Yea the events are probably getting trapped in the wx super class somewhere,
will try to test this if is the case or not when I get a chance.
No the binary uses its own closed environment and wont get anything from
outside its own local copy of python.
Have you tried testing with the latest svn version? There were a few fixes to
the notebook added since the 6.77 release that could potentially affect this
issue.
Original comment by CodyPrec...@gmail.com
on 2 Nov 2011 at 9:42
Original issue reported on code.google.com by
mike.as...@gmail.com
on 2 Nov 2011 at 12:57