To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=68720





------- Additional comments from [EMAIL PROTECTED] Thu Dec  7 05:18:48 -0800 
2006 -------
I think that will break cursor travelling. mnCurrentPos is the current position
in the listbox, not the selection; e.g. KEY_DOWN will increase it. Setting it to
LISTBOX_ENTRY_NOTFOUND will reset the position effectively to the first element.
In the mentioned case that would not hurt, but it shows that this would have
side effects. I think we should instead fix the place which sets the selection
to entry 1 again. That is the keyhandler in ilstbox.cxx line 1580; the line
nSelect = LISTBOX_ENTRY_NOTFOUND should only be executed if the selection
already containes mnCurPos. Likewise the assertion in 1595 would need to be
adjusted.

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to