On Fri, Jul 10, 2009 at 2:25 PM, tfer<[email protected]> wrote:

> Yes, I tried that with gvim, it does work.  Is the tempfile hardcoded
> to end with*.py, or does it look at the @language directive in effect
> and determine what extension to use?

Looks at @language.

>> Hmm, perhaps the ipython plugin is somehow blocking contextmenu.py
>> from loading up. Try enabling todo.py as well - if you see the "Task"
>> menu in rclick, you know that is the case.
>
> No, contextmenu is loading, when I enabled todo.py the box shape
> changed, and if I click a number of times, I eventually get a flash
> that contains the text.  Perhaps the ipython event loop is taking
> control too fast and killing the contextmenu.

Perhaps. It seems to be windown specific problem.

Can you try something?

At qtGui.py, line 5438. Try changing menu.exec_ to menu.popup.

http://idlebox.net/2006/apidocs/qt-x11-opensource-4.2.1.zip/qmenu.html#popup

You may need to shove the menu to a global var (or self.qtmenu, or
something) to avoid it being garbage collected.

-- 
Ville M. Vainio
http://tinyurl.com/vainio

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/leo-editor?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to