Skip Menu |
 

Subject: NIM: APP: BUG: Initial cursor position does not track selected identity
When NIM starts it loads the identities into the list control. The
first identity that is added automatically receives the cursor focus.
NIM then computes (in the background) credential state for each
identity. The list is re-ordered so that identities with credentials
are listed first. The first identity in the list is then "selected".

If the "selected" identity was not the first identity added to the list
control, the cursor and the selection will be inconsistent.

This results in confusing behavior for end users when the "Obtain New
Credentials" toolbar button or menu command is executed.
From: jaltman@mit.edu
Subject: SVN Commit
When Network Identity Manager starts, the credentials display
enumerates known identities and displays them if necessary. However,
as plug-ins load and the list of known identities, their properties
and credentials change, the order of the displayed list will also
change.

The existing code does not deal well in respect to tracking the
current selection when the list of identities and credentials change.
This results in inconsistent behavior where the identity that was
originally at the top of the list maintains its selection state while
the identity at the top of the list after all the plug-ins have loaded
will receive focus.

This patch fixes this problem by explicitly setting focus and
selection to the identity or credential at the current cursor location
following a change in the credentials list.


Commit By: jaltman



Revision: 20033
Changed Files:
U trunk/src/windows/identity/ui/credwnd.c
From: tlyu@mit.edu
Subject: SVN Commit
pull up r20033 from trunk

r20033@cathode-dark-space: jaltman | 2007-10-01 01:31:02 -0400
ticket: 5782

When Network Identity Manager starts, the credentials display
enumerates known identities and displays them if necessary. However,
as plug-ins load and the list of known identities, their properties
and credentials change, the order of the displayed list will also
change.

The existing code does not deal well in respect to tracking the
current selection when the list of identities and credentials change.
This results in inconsistent behavior where the identity that was
originally at the top of the list maintains its selection state while
the identity at the top of the list after all the plug-ins have loaded
will receive focus.

This patch fixes this problem by explicitly setting focus and
selection to the identity or credential at the current cursor location
following a change in the credentials list.




Commit By: tlyu



Revision: 20074
Changed Files:
_U branches/krb5-1-6/
U branches/krb5-1-6/src/windows/identity/ui/credwnd.c