https://bugs.documentfoundation.org/show_bug.cgi?id=91204
--- Comment #12 from Mike Kaganski <[email protected]> ---
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.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs