Re: Minimal fix for --minimize?

2013-10-07 Thread Edward K. Ream
On Sat, Oct 5, 2013 at 3:27 AM, Edward K. Ream edream...@gmail.com wrote: ... you can do: def at_idle(c=c): do_stuff() Qt.QTimer.singleShot(0, at_idle) Rev 6108 fixes the focus but with vr-hide by placing this code in hide_rendering_pane. do_stuff becomes c.bodyWantsFocusNow. EKR

Re: Minimal fix for --minimize?

2013-10-05 Thread Edward K. Ream
On Fri, Oct 4, 2013 at 7:18 PM, Terry Brown terry_n_br...@yahoo.com wrote: But no more wrong than (2), which adds complexity to fix a problem that can probably be avoided. I'm thinking I might try (1) locally and see if I see any problems. Go for it! In general it seems that

Re: Minimal fix for --minimize?

2013-10-05 Thread Terry Brown
On Sat, 5 Oct 2013 03:27:36 -0500 Edward K. Ream edream...@gmail.com wrote: My question: is there any reason why deleting the vr pane is necessary to keep either the free_layout or nested_splitter plugins happy? No, they have special relationship to view rendered. The view

Minimal fix for --minimize?

2013-10-04 Thread Terry Brown
Calls to frame.deiconify() / frame.lift() are defeating the intent of the command line --minimize flag. This is a pain because when I log in and launch several apps. I'd like launchLeo.py --minimized --no-splash file1 file2 file2 to load those files ready for me when I want them, without Leo

Re: Minimal fix for --minimize?

2013-10-04 Thread Edward K. Ream
On Fri, Oct 4, 2013 at 12:09 PM, Terry Brown terry_n_br...@yahoo.comwrote: options 1) don't call frame.deiconify() / frame.lift() from selectLeoWindow() and deal with any focus bugs that that (re)opens elsewhere. 2) try some kind of during-startup-lockout on frame.deiconify() /

Re: Minimal fix for --minimize?

2013-10-04 Thread Terry Brown
On Fri, 4 Oct 2013 15:59:19 -0500 Edward K. Ream edream...@gmail.com wrote: On Fri, Oct 4, 2013 at 12:09 PM, Terry Brown terry_n_br...@yahoo.comwrote: options 1) don't call frame.deiconify() / frame.lift() from selectLeoWindow() and deal with any focus bugs that that (re)opens