The new code pretty much guarantees that focus will return to a reasonable 
and visible place after two consecutive Alt-Tabs.  In particular, it 
handles this confusing key sequence:

Alt, Alt-Tab, Alt-Tab

The first Alt puts focus in the menu bar.  The next two Alt-Tabs now put 
focus in the default spot, namely Leo's body pane.  Restoring focus to the 
menu bar does not seem to work.

The new code does not seem to interfere with plugins or other features, but 
there are no guarantees. Please report any problems immediately. 

It is not possible to restore focus when editing a headline. Trying to do 
so will hard-crash Leo.  Instead, Leo restores focus to the outline pane. 
Yes, it would be possible to re-edit the present node, but it's not worth 
the trouble. Arguably, de-activating Leo *should* end editing in headlines.

To see what is going on, you can use the new --trace-focus command-line 
argument.

Edward

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To post to this group, send email to leo-editor@googlegroups.com.
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.

Reply via email to