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





------- Additional comments from [email protected] Wed Nov  4 15:35:52 +0000 
2009 -------
mav->haggai:
By the way, I have just seen the question regarding
SfxMedium::SetUpdatePickList() here. The method allows to let the document be
ignored by the picklist implementation. It is necessary in case a document is
stored by API, nowadays the UI scenario uses UNO API as well, so the document is
marked as one that should be taken in the picklist later in case of UI scenario.

Unfortunately it would not work with the new implementation in the patch, a
document stored by API would appear in the picklist. The problem is that in case
of UI scenario SetUpdatePickList( TRUE ) is called too late, at this point the
SaveAsDone notification has been already sent.

Since only UI actions should add documents to the picklist, the only reasonable
approach from my point of view would be a direct insertion of the document into
the picklist in case Dispatch API has been used ( Dispatch API means UI-action
). I see no other consistent way to detect whether the action ( Open/SaveAs
document ) has been triggered by user using the Menu. In other words the
picklist should not listen itself, instead it should be explicitly called to
insert an entry.

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