https://bugs.documentfoundation.org/show_bug.cgi?id=159311
--- Comment #6 from Michael Weghorn <[email protected]> --- Thank you for the suggestions. (In reply to amanita+LIBREOFFICE from comment #5) > What about adding the custom stuff like "encrypt with GPG" inside the app > before saving, and then launching the filechooser portal? This would mean 2 > dialogs which is not nice, so maybe add an "always do this for this > document" option to hide the dialog? > > Or if that is too much extra effort, allow to select "never sign" or "always > sign" systemwide? Having an extra dialog before or after showing the file dialog could possibly be an option. It is in my opinion not particularly nice/user-friendly as compared to having everything available in one dialog as it is now. Unless there is a nicer solution, either having additional dialogs or giving fewer options are the only potential approaches I can come up with though, in case of - possibly optionally - switching to the portal file chooser. (Not disabling elements that depend on the file filter could also be an idea, and then only validating later + showing a dialog with an error/warning might also be an idea if selected with a file format that doesn't support those features, but is also not as nice...) > I assume most people dont sign their documents, and people who do could > probably always sign them (as the keys are already setup). > > Also, this only affects saving and not opening, so potentially the portal > could be used for opening, and the native method for saving, just to try it > out? The "encrypt with GPG key" case was one example, but there might be more cases. That would need further analysis. (The "Insert" -> "Image" dialog for example also has custom controls, though these might not require more advanced logic while interacting with the dialog.) -- You are receiving this mail because: You are the assignee for the bug.
