Hi,

I've just checked the fixes in my laptop (ubuntu jaunty) and I've
found some problems in the way that keyboard focus works. Every time a
new editor is added a blue frame around it shows it has focus, which
is fine, but:

- If one switch from the i-th body editor to the j-th body editor (by
clicking it with the mouse) then the head pane gets the blue frame
saying it has the keyboard focus. Pressing a key in the keyboard moves
the blue frame to the j-th editor but the pressed character is not
displayed on the body editor. Only later characters are written.

- If one switch from the i-th body editor to the original body editor
then the head pane gets the blue frame saying it has the keyboard
focus. Pressing a key in the keyboard makes disappear the blue frame
from the head pane but it doesn't appear in the original editor (so at
'activation' time the original editor doesn't behave in the same way
than the other editors). The pressed character is not displayed on the
body editor. Only later characters are written.

- The cycle editor-focus command doesn't work

- Finally (not related with keyboard focus): new body editors do not
have any title at top showing the node tied to them. This can make
difficult to work with several body editors at the same time. The tk
gui adds top titles to body editors, which improves usability *a lot*
(and looks very nice :-)

Due to all this focus indicator thing I've realized that when there is
just one body editor the focus indicator behaves differentlly on it
than on the rest of panes. One click on the headline pane  and a nice
blue frame shows it has focus. One click on the log pane and the blue
frame moves to it. One click on the body pane and the blue frame just
disappears. Nothing (other than the text cursor) indicates that focus
is on the body pane. I think it is inconsistent for several reasons:
- from the gui dessign point of view (some of you may not agree with
this, of course :-)
- because not all body editors in the qt gui behaves in the same way
- because the qt gui behaves differently than the tk gui. I like much
more the tk gui way: every time a pane has focus the focus is
explicitely indicated with a frame.


Hope this little report will be useful

Vicent.



On 12 jun, 22:54, "Edward K. Ream" <[email protected]> wrote:
> Rev 2031 of the trunk contains several fixes for multiple body
> editors.  This is the last big project project before b2.
>
> WARNING: This code is truly hairy.  There is no possibility of
> meaningful unit tests. Please use with extreme caution: a very real
> possibility of data loss/corruption *always* exists for code that
> switches contexts.
>
> If problems *are* found,  I may just disable the add-editor command
> for b2.  I just can't stand any further delay :-)
>
> Edward
--~--~---------~--~----~------------~-------~--~----~
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