[Libreoffice-bugs] [Bug 91204] Some Items of Properties Dialogue are not Current if Option “Edit document properties before saving” is Chosen
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Wed May 30 06:25:38 UTC 2018
https://bugs.documentfoundation.org/show_bug.cgi?id=91204
--- Comment #12 from Mike Kaganski <mikekaganski at hotmail.com> ---
A code pointer: SfxStoringHelper::GUIStoreModel in
sfx2/source/doc/guisaveas.cxx (see the "if ( aOptions.IsDocInfoSave() ..."
condition).
In my opinion, more easy and safe would be to keep the order, but just augment
the aModelData.ShowDocumentInfoDialog() with required arguments to override
some displayed properties (which otherwise are taken from current media, which
is not the new file at the moment of the dialog execution).
The other option (to show the dialog prior to file picker) possibly needs more
work, e.g. careful cleanup after user has canceled the save operation in file
picker (I am not sure if there is such code currently in case of failed save
operation). Or may not, depending on if you consider setting the properties as
part of save or not (a separate editing operation).
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20180530/421d056b/attachment.html>
More information about the Libreoffice-bugs
mailing list