On Fri, Aug 7, 2009 at 1:50 PM, zpcspm<zpc...@gmail.com> wrote:

> I'm running it from console, I can see the main window of leo flashing
> for a moment (perhaps because I have a relatively old and slow
> computer) then disappearing. And that's all. No additional messages
> are printed to the console.
>
> Reverting to r2299 seems to help, after that leo is working again.
>
> I'm posting my environment just in case this behaviour is a caprice of
> my window manager.

Alright.

In qtGui.py, the change was

@@ -3690,12 +3685,13 @@

         # returns DynamicgWindow
         f.top = g.app.gui.frameFactory.createFrame(f)
-
+        f.top.hide()
         f.createIconBar() # A base class method.
         f.createSplitterComponents()
         f.createStatusLine() # A base class method.
         f.createFirstTreeNode() # Call the base-class method.
         f.menu = leoQtMenu(f)
+        f.top.show()
         c.setLog()
         g.app.windowList.append(f)
         f.miniBufferWidget = leoQtMinibuffer(c)

Try moving f.top.show upwards line by line until it works, report back.

-- 
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 leo-editor@googlegroups.com
To unsubscribe from this group, send email to 
leo-editor+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/leo-editor?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to