To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=93424
                 Issue #|93424
                 Summary|[API] css.sdb.application.DefaultViewController: wrong
                        | (too many or too few) notifications of changed select
                        |ions
               Component|Database access
                 Version|OOO300m4
                Platform|All
                     URL|
              OS/Version|All
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|none
             Assigned to|fs
             Reported by|fs





------- Additional comments from [EMAIL PROTECTED] Wed Sep  3 11:49:49 +0000 
2008 -------
As Ariel Constenla-Haile found out
(http://dba.openoffice.org/servlets/ReadMsg?list=dev&msgNo=3543), the current
implementation of the XSelectionSupplier interface in the controller of the Base
application (css.sdb.application.DefaultViewController) is imperfect in that it
notifies too many or too few events, or events with insufficient data, when the
selection changes.

In particular:
1. When you select a category where no items are currently selected,
   then listeners are properly called, but subsequent getSelection calls
   return an empty DatabaseObject sequence.

2. When you select more than one item (in any category), then only the
   selection of the first is reported to the listeners, all subsequent
   selections are not reported.

3. an action which changes the selection state of multiple items
   triggers multiple notifications (instead of only one), one for each
   "intermediate selection state" in the transition from the old to the
   new selection.

All of the three problems should be fixed, this way fixing all problems found
and reported by Ariel in the above-linked posting.

---------------------------------------------------------------------
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